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

       Web browser: ---
             Bug #: 41315
           Summary: Do we need for model or format params in EditPage?
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentHandler
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Per bug 41309 [1], it was possible to specify action=edit&model=fjlsgk (or even
something like css)

Then click preview and see fatal exception.

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

Per gerrit change 29616, we use only the default model and format now:

https://gerrit.wikimedia.org/r/#/c/29616/1/includes/EditPage.php

Just want to ask if there is any reason for allowing these parameters in
EditPage?  If so, there were some to-do items in the code and we should
implement it in a better way.

Until then, I don't see benefit of having these parameters in EditPage.

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

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

Reply via email to