From b9b85843572bf283f48285001e276ba7e61b63f6 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 22 Feb 2009 13:37:51 +0100 Subject: updated to MediaWiki 1.14.0 --- includes/QueryPage.php | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'includes/QueryPage.php') diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 16dc7c04..0b587508 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -21,6 +21,7 @@ $wgQueryPages = array( array( 'DeadendPagesPage', 'Deadendpages' ), array( 'DisambiguationsPage', 'Disambiguations' ), array( 'DoubleRedirectsPage', 'DoubleRedirects' ), + array( 'LinkSearchPage', 'LinkSearch' ), array( 'ListredirectsPage', 'Listredirects' ), array( 'LonelyPagesPage', 'Lonelypages' ), array( 'LongPagesPage', 'Longpages' ), @@ -39,7 +40,9 @@ $wgQueryPages = array( array( 'UnusedCategoriesPage', 'Unusedcategories' ), array( 'UnusedimagesPage', 'Unusedimages' ), array( 'WantedCategoriesPage', 'Wantedcategories' ), + array( 'WantedFilesPage', 'Wantedfiles' ), array( 'WantedPagesPage', 'Wantedpages' ), + array( 'WantedTemplatesPage', 'Wantedtemplates' ), array( 'UnwatchedPagesPage', 'Unwatchedpages' ), array( 'UnusedtemplatesPage', 'Unusedtemplates' ), array( 'WithoutInterwikiPage', 'Withoutinterwiki' ), @@ -334,22 +337,22 @@ class QueryPage { $this->preprocessResults( $dbr, $res ); - $wgOut->addHtml( XML::openElement( 'div', array('class' => 'mw-spcontent') ) ); + $wgOut->addHTML( XML::openElement( 'div', array('class' => 'mw-spcontent') ) ); # Top header and navigation if( $shownavigation ) { - $wgOut->addHtml( $this->getPageHeader() ); + $wgOut->addHTML( $this->getPageHeader() ); if( $num > 0 ) { - $wgOut->addHtml( '

' . wfShowingResults( $offset, $num ) . '

' ); + $wgOut->addHTML( '

' . wfShowingResults( $offset, $num ) . '

' ); # Disable the "next" link when we reach the end $paging = wfViewPrevNext( $offset, $limit, $wgContLang->specialPage( $sname ), wfArrayToCGI( $this->linkParameters() ), ( $num < $limit ) ); - $wgOut->addHtml( '

' . $paging . '

' ); + $wgOut->addHTML( '

' . $paging . '

' ); } else { # No results to show, so don't bother with "showing X of Y" etc. # -- just let the user know and give up now - $wgOut->addHtml( '

' . wfMsgHtml( 'specialpage-empty' ) . '

' ); - $wgOut->addHtml( XML::closeElement( 'div' ) ); + $wgOut->addHTML( '

' . wfMsgHtml( 'specialpage-empty' ) . '

' ); + $wgOut->addHTML( XML::closeElement( 'div' ) ); return; } } @@ -366,10 +369,10 @@ class QueryPage { # Repeat the paging links at the bottom if( $shownavigation ) { - $wgOut->addHtml( '

' . $paging . '

' ); + $wgOut->addHTML( '

' . $paging . '

' ); } - $wgOut->addHtml( XML::closeElement( 'div' ) ); + $wgOut->addHTML( XML::closeElement( 'div' ) ); return $num; } @@ -428,7 +431,7 @@ class QueryPage { ? $wgContLang->listToText( $html ) : implode( '', $html ); - $out->addHtml( $html ); + $out->addHTML( $html ); } } @@ -531,7 +534,7 @@ class QueryPage { } function feedDesc() { - return wfMsg( 'tagline' ); + return wfMsgExt( 'tagline', 'parsemag' ); } function feedUrl() { -- cgit v1.2.2