https://bugzilla.wikimedia.org/show_bug.cgi?id=16581

           Summary: API edit "section" parameter really bad handled
           Product: MediaWiki
           Version: 1.14-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED], [EMAIL PROTECTED]


It seems that a new bug was recently introduced to the trunk.

What to do:
* Edit any article with many sections an try to rewrite completely the article
(no "section" parameter)

What you get:
* Your new content replaces only the introduction (section=0)

What you want:
* Your new content replacing the whole page

Remarks:
* The live version (r43634) does not have the bug, but the head does has the
problem.
* Adding $params['section'] = ''; line 120 of ApiEditPage.php avoids the
problem.
* The problem does not concern the user interface... only the API.
* I think that something was changed in EditPage.php with the form field
handling and that impacts the API.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to