summaryrefslogtreecommitdiff
path: root/includes/SpecialLongpages.php
blob: a8a1e199beb6699d957ac807839170dabef77f6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
 *
 * @addtogroup SpecialPage
 */

/**
 *
 * @addtogroup 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 );
}