X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSpecialLongpages.php;h=a8a1e199beb6699d957ac807839170dabef77f6e;hb=a4c45fb2546ba5ea1a653f28d0c5bdfc9a790e80;hp=a02120ce03777837fcffeb820afd3134ff37158d;hpb=8f22cb45b1ccd2d18bb4ef1247a18efbb9a87e2d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/SpecialLongpages.php b/includes/SpecialLongpages.php index a02120ce03..a8a1e199be 100644 --- a/includes/SpecialLongpages.php +++ b/includes/SpecialLongpages.php @@ -1,38 +1,33 @@ formatNum( $result->len ) ); - $link = $skin->makeKnownLink( $result->cur_title, "" ); - return "{$link} ({$nb})"; + function sortDescending() { + return true; } } -function wfSpecialLongpages() -{ - list( $limit, $offset ) = wfCheckLimits(); +/** + * constructor + */ +function wfSpecialLongpages() { + list( $limit, $offset ) = wfCheckLimits(); + + $lpp = new LongPagesPage(); - $lpp = new LongPagesPage( ); - - $lpp->doQuery( $offset, $limit ); + $lpp->doQuery( $offset, $limit ); } -?> +