]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/specials/SpecialLongpages.php
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / includes / specials / SpecialLongpages.php
index cd0f309020ffd1999e5105bcceb10343b6d64a85..d90d2718a682e315faade4201d468b9b13baeb70 100644 (file)
  * @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';
+       }
 }