Fix case of SpecialShortPages in SpecialPageFactory
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 26 Sep 2014 20:58:34 +0000 (22:58 +0200)
committerJackmcbarn <jackmcbarn@gmail.com>
Sat, 27 Sep 2014 23:52:44 +0000 (23:52 +0000)
[autoloader] Class ShortpagesPage was loaded using incorrect case

Just for information: This was not visible on Special:Specialpages.
In SpecialPageFactory::$list the class LongPagesPage is before
ShortPagesPage and loads that class due to "extends", when
ShortPagesPage should be loaded, the class is already there and no
warning is generated. The warning is shown, when reording the $list.

Change-Id: Ie0ac708b40ff51372545278bb694865650fa8b1f

includes/specialpage/SpecialPageFactory.php

index 679492a..569d002 100644 (file)
@@ -59,7 +59,7 @@ class SpecialPageFactory {
                'Withoutinterwiki' => 'WithoutInterwikiPage',
                'Protectedpages' => 'SpecialProtectedpages',
                'Protectedtitles' => 'SpecialProtectedtitles',
-               'Shortpages' => 'ShortpagesPage',
+               'Shortpages' => 'ShortPagesPage',
                'Uncategorizedcategories' => 'UncategorizedCategoriesPage',
                'Uncategorizedimages' => 'UncategorizedImagesPage',
                'Uncategorizedpages' => 'UncategorizedPagesPage',