From: umherirrender Date: Fri, 26 Sep 2014 20:58:34 +0000 (+0200) Subject: Fix case of SpecialShortPages in SpecialPageFactory X-Git-Tag: 1.31.0-rc.0~13782 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=bb1e8b876050d5ebea8c836b97f794c13b0c32a0;p=lhc%2Fweb%2Fwiklou.git Fix case of SpecialShortPages in SpecialPageFactory [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 --- diff --git a/includes/specialpage/SpecialPageFactory.php b/includes/specialpage/SpecialPageFactory.php index 679492ae06..569d0021fd 100644 --- a/includes/specialpage/SpecialPageFactory.php +++ b/includes/specialpage/SpecialPageFactory.php @@ -59,7 +59,7 @@ class SpecialPageFactory { 'Withoutinterwiki' => 'WithoutInterwikiPage', 'Protectedpages' => 'SpecialProtectedpages', 'Protectedtitles' => 'SpecialProtectedtitles', - 'Shortpages' => 'ShortpagesPage', + 'Shortpages' => 'ShortPagesPage', 'Uncategorizedcategories' => 'UncategorizedCategoriesPage', 'Uncategorizedimages' => 'UncategorizedImagesPage', 'Uncategorizedpages' => 'UncategorizedPagesPage',