4 * Special page lists pages without language links
7 * @author Rob Church <robchur@gmail.com>
9 class WithoutInterwikiPage
extends PageQueryPage
{
12 return 'Withoutinterwiki';
15 function getPageHeader() {
16 return '<p>' . wfMsgHtml( 'withoutinterwiki-header' ) . '</p>';
19 function sortDescending() {
23 function isExpensive() {
27 function isSyndicated() {
32 $dbr = wfGetDB( DB_SLAVE
);
33 list( $page, $langlinks ) = $dbr->tableNamesN( 'page', 'langlinks' );
35 "SELECT 'Withoutinterwiki' AS type,
36 page_namespace AS namespace,
42 WHERE ll_title IS NULL
43 AND page_namespace=" . NS_MAIN
. "
44 AND page_is_redirect = 0";
49 function wfSpecialWithoutinterwiki() {
50 list( $limit, $offset ) = wfCheckLimits();
51 $wip = new WithoutInterwikiPage();
52 $wip->doQuery( $offset, $limit );