From: Alexandre Emsenhuber Date: Thu, 7 Jul 2011 17:34:15 +0000 (+0000) Subject: Override IndexPager::getTitle() in ImageListPager, this is the only class subclassing... X-Git-Tag: 1.31.0-rc.0~29010 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=1cbe04cc7a6ca036a05c303d49dc6fbb6ebc437a;p=lhc%2Fweb%2Fwiklou.git Override IndexPager::getTitle() in ImageListPager, this is the only class subclassing TablePager that don't do that in core --- diff --git a/includes/specials/SpecialListfiles.php b/includes/specials/SpecialListfiles.php index ee81dd14cc..427de167b6 100644 --- a/includes/specials/SpecialListfiles.php +++ b/includes/specials/SpecialListfiles.php @@ -101,6 +101,10 @@ class ImageListPager extends TablePager { parent::__construct(); } + function getTitle() { + return SpecialPage::getTitleFor( 'Listfiles' ); + } + /** * @return Array */