diff options
Diffstat (limited to 'includes/specials/SpecialLongpages.php')
-rw-r--r-- | includes/specials/SpecialLongpages.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/includes/specials/SpecialLongpages.php b/includes/specials/SpecialLongpages.php new file mode 100644 index 00000000..be16a029 --- /dev/null +++ b/includes/specials/SpecialLongpages.php @@ -0,0 +1,31 @@ +<?php +/** + * @file + * @ingroup SpecialPage + */ + +/** + * + * @ingroup SpecialPage + */ +class LongPagesPage extends ShortPagesPage { + + function getName() { + return "Longpages"; + } + + function sortDescending() { + return true; + } +} + +/** + * constructor + */ +function wfSpecialLongpages() { + list( $limit, $offset ) = wfCheckLimits(); + + $lpp = new LongPagesPage(); + + $lpp->doQuery( $offset, $limit ); +} |