X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecialpage%2FRedirectSpecialPage.php;h=cd41a1c60f4753666383a05387a10aa3c69b2c1d;hb=24499fca789837c9d679328605088723c80568c0;hp=ee338d4082b82c8c1306ad4c32495001bc6446fd;hpb=b382dfd42b6fc67a8df6e4b82da982dc46940b29;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specialpage/RedirectSpecialPage.php b/includes/specialpage/RedirectSpecialPage.php index ee338d4082..cd41a1c60f 100644 --- a/includes/specialpage/RedirectSpecialPage.php +++ b/includes/specialpage/RedirectSpecialPage.php @@ -67,7 +67,7 @@ abstract class RedirectSpecialPage extends UnlistedSpecialPage { * Return part of the request string for a special redirect page * This allows passing, e.g. action=history to Special:Mypage, etc. * - * @return String + * @return string */ public function getRedirectQuery() { $params = array(); @@ -92,8 +92,11 @@ abstract class RedirectSpecialPage extends UnlistedSpecialPage { * @ingroup SpecialPage */ abstract class SpecialRedirectToSpecial extends RedirectSpecialPage { - // @todo FIXME: Visibility must be declared - var $redirName, $redirSubpage; + /** @var string Name of redirect target */ + protected $redirName; + + /** @var string Name of subpage of redirect target */ + protected $redirSubpage; function __construct( $name, $redirName, $redirSubpage = false, @@ -150,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: @@ -191,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',