X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fspecials%2FSpecialLongpages.php;h=d90d2718a682e315faade4201d468b9b13baeb70;hb=42ff47b0f68da03a5ee4ed388f8e27cf0a268496;hp=cd0f309020ffd1999e5105bcceb10343b6d64a85;hpb=144c825809748330e6a51eb862beed7ef61b0219;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialLongpages.php b/includes/specials/SpecialLongpages.php index cd0f309020..d90d2718a6 100644 --- a/includes/specials/SpecialLongpages.php +++ b/includes/specials/SpecialLongpages.php @@ -26,23 +26,15 @@ * @ingroup SpecialPage */ class LongPagesPage extends ShortPagesPage { - - function getName() { - return "Longpages"; + function __construct( $name = 'Longpages' ) { + parent::__construct( $name ); } function sortDescending() { return true; } -} -/** - * constructor - */ -function wfSpecialLongpages() { - list( $limit, $offset ) = wfCheckLimits(); - - $lpp = new LongPagesPage(); - - $lpp->doQuery( $offset, $limit ); + protected function getGroupName() { + return 'maintenance'; + } }