From bb1e8b876050d5ebea8c836b97f794c13b0c32a0 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Fri, 26 Sep 2014 22:58:34 +0200 Subject: [PATCH] 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 --- includes/specialpage/SpecialPageFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.20.1