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: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?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 */