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

           Summary: Article::doEdit() can have fatal side effect
           Product: MediaWiki
           Version: 1.16.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Page editing
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: niklas.laxst...@gmail.com


Sometimes the wrong article is edited, because Article::doEdit() has side
effect. I tracked it down doEdit > prepareTextForEdit > getContent ->
loadContent which calls getOldID() which calls request parameters, and after
that calls fetchContent which updates mTitle.

This is seen at least in 1.16.0, probably happens in trunk too.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to