Override IndexPager::getTitle() in ImageListPager, this is the only class subclassing...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 7 Jul 2011 17:34:15 +0000 (17:34 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 7 Jul 2011 17:34:15 +0000 (17:34 +0000)
includes/specials/SpecialListfiles.php

index ee81dd1..427de16 100644 (file)
@@ -101,6 +101,10 @@ class ImageListPager extends TablePager {
                parent::__construct();
        }
 
+       function getTitle() {
+               return SpecialPage::getTitleFor( 'Listfiles' );
+       }
+
        /**
         * @return Array
         */