Remove internaledit, externaledit, mode params from My* special pages
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 29 Jun 2014 14:05:18 +0000 (16:05 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sun, 29 Jun 2014 14:05:18 +0000 (16:05 +0200)
The corresponding code was removed with
Ic3791d188688f556753ab5556a4d9733bbf2e85e, so there is no need to allow
these params on such redirects.
The redirect will not break, only the param is removed from request.

Change-Id: Ibb85bf3b23c9d17336f0a8b37a7315da8dcb7eef

includes/specialpage/RedirectSpecialPage.php

index 3bdbc3c..cd41a1c 100644 (file)
@@ -153,10 +153,6 @@ abstract class SpecialRedirectToSpecial extends RedirectSpecialPage {
  * preference, useful for preloaded edits where you know preview wouldn't be
  * useful.
  *
- * - internaledit, externaledit, mode: Allows forcing the use of the
- * internal/external editor, e.g. to force the internal editor for
- * short/simple preloaded edits.
- *
  * - redlink: Affects the message the user sees if their talk page/user talk
  * page does not currently exist. Avoids confusion for newbies with no user
  * pages over why they got a "permission error" following this link:
@@ -194,7 +190,7 @@ abstract class RedirectSpecialArticle extends RedirectSpecialPage {
                        # Options for preloaded edits
                        'preload', 'editintro', 'preloadtitle', 'summary', 'nosummary',
                        # Options for overriding user settings
-                       'preview', 'internaledit', 'externaledit', 'mode', 'minor', 'watchthis',
+                       'preview', 'minor', 'watchthis',
                        # Options for history/diffs
                        'section', 'oldid', 'diff', 'dir',
                        'limit', 'offset', 'feed',