Remove array( ... ) from SpecialMypage, SpecialMytalk and SpecialMycontributions...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 4 Jul 2010 10:21:59 +0000 (10:21 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 4 Jul 2010 10:21:59 +0000 (10:21 +0000)
includes/SpecialPage.php

index 182c149..1f539bb 100644 (file)
@@ -186,9 +186,9 @@ class SpecialPage {
                'Listadmins'                => array( 'SpecialRedirectToSpecial', 'Listadmins', 'Listusers', 'sysop' ),
                'Listbots'                  => array( 'SpecialRedirectToSpecial', 'Listbots', 'Listusers', 'bot' ),
                'Movepage'                  => array( 'UnlistedSpecialPage', 'Movepage' ),
-               'Mycontributions'           => array( 'SpecialMycontributions' ),
-               'Mypage'                    => array( 'SpecialMypage' ),
-               'Mytalk'                    => array( 'SpecialMytalk' ),
+               'Mycontributions'           => 'SpecialMycontributions',
+               'Mypage'                    => 'SpecialMypage',
+               'Mytalk'                    => 'SpecialMytalk',
                'Revisiondelete'            => 'SpecialRevisionDelete',
                'RevisionMove'              => 'SpecialRevisionMove',
                'Specialpages'              => array( 'UnlistedSpecialPage', 'Specialpages' ),