4 * Special page lists pages without language links
7 * @addtogroup SpecialPage
8 * @author Rob Church <robchur@gmail.com>
10 class WithoutInterwikiPage
extends PageQueryPage
{
13 return 'Withoutinterwiki';
16 function getPageHeader() {
17 return '<p>' . wfMsgHtml( 'withoutinterwiki-header' ) . '</p>';
20 function sortDescending() {
24 function isExpensive() {
28 function isSyndicated() {
33 $dbr = wfGetDB( DB_SLAVE
);
34 list( $page, $langlinks ) = $dbr->tableNamesN( 'page', 'langlinks' );
36 "SELECT 'Withoutinterwiki' AS type,
37 page_namespace AS namespace,
43 WHERE ll_title IS NULL
44 AND page_namespace=" . NS_MAIN
. "
45 AND page_is_redirect = 0";
50 function wfSpecialWithoutinterwiki() {
51 list( $limit, $offset ) = wfCheckLimits();
52 $wip = new WithoutInterwikiPage();
53 $wip->doQuery( $offset, $limit );