aboutsummaryrefslogtreecommitdiffstats
path: root/includes/SpecialShortpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialShortpages.php')
-rw-r--r--includes/SpecialShortpages.php7
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();