Fix DatabaseSqliteTest for db changes for chunk support.
[lhc/web/wiklou.git] / includes / specials / SpecialLongpages.php
index cd0f309..dd60e37 100644 (file)
  */
 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 );
-}