diff options
Diffstat (limited to 'includes/SpecialShortpages.php')
-rw-r--r-- | includes/SpecialShortpages.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/includes/SpecialShortpages.php b/includes/SpecialShortpages.php index 560b02b8c1af..c3eafc41187f 100644 --- a/includes/SpecialShortpages.php +++ b/includes/SpecialShortpages.php @@ -1,4 +1,8 @@ <?php +# +# SpecialShortpages extends QueryPage. It is used to return the shortest +# pages in the database. +# require_once("QueryPage.php"); @@ -34,8 +38,7 @@ class ShortPagesPage extends QueryPage { } } -function wfSpecialShortpages() -{ +function wfSpecialShortpages() { list( $limit, $offset ) = wfCheckLimits(); $spp = new ShortPagesPage(); |