diff options
Diffstat (limited to 'includes/SpecialLongpages.php')
-rw-r--r-- | includes/SpecialLongpages.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/includes/SpecialLongpages.php b/includes/SpecialLongpages.php new file mode 100644 index 00000000..af56c17c --- /dev/null +++ b/includes/SpecialLongpages.php @@ -0,0 +1,41 @@ +<?php +/** + * + * @package MediaWiki + * @subpackage SpecialPage + */ + +/** + * + */ +require_once( 'SpecialShortpages.php' ); + +/** + * + * @package MediaWiki + * @subpackage 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 ); +} + +?> |