X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FQueryPage.php;h=fb98bc68e64d2c5c6a40b331c763666ffb94e1cc;hb=8c3b4616cdf2bcd9c8cc1264b806c47b2523f163;hp=537410447dbf7f5bacf2ba767131b790d1cb914b;hpb=b4d37577b9a6464c2599f73f086186aaed9851db;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 537410447d..fb98bc68e6 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -25,6 +25,7 @@ $wgQueryPages = array( array( 'MostcategoriesPage', 'Mostcategories' ), array( 'MostimagesPage', 'Mostimages' ), array( 'MostlinkedCategoriesPage', 'Mostlinkedcategories' ), + array( 'SpecialMostlinkedtemplates', 'Mostlinkedtemplates' ), array( 'MostlinkedPage', 'Mostlinked' ), array( 'MostrevisionsPage', 'Mostrevisions' ), array( 'FewestrevisionsPage', 'Fewestrevisions' ), @@ -33,6 +34,7 @@ $wgQueryPages = array( array( 'UncategorizedCategoriesPage', 'Uncategorizedcategories' ), array( 'UncategorizedPagesPage', 'Uncategorizedpages' ), array( 'UncategorizedImagesPage', 'Uncategorizedimages' ), + array( 'UncategorizedTemplatesPage', 'Uncategorizedtemplates' ), array( 'UnusedCategoriesPage', 'Unusedcategories' ), array( 'UnusedimagesPage', 'Unusedimages' ), array( 'WantedCategoriesPage', 'Wantedcategories' ), @@ -332,6 +334,8 @@ class QueryPage { $num = $dbr->numRows($res); $this->preprocessResults( $dbr, $res ); + + $wgOut->addHtml( XML::openElement( 'div', array('class' => 'mw-spcontent') ) ); # Top header and navigation if( $shownavigation ) { @@ -346,6 +350,7 @@ class QueryPage { # 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' ) ); return; } } @@ -364,6 +369,8 @@ class QueryPage { if( $shownavigation ) { $wgOut->addHtml( '

' . $paging . '

' ); } + + $wgOut->addHtml( XML::closeElement( 'div' ) ); return $num; } @@ -427,11 +434,11 @@ class QueryPage { } function openList( $offset ) { - return "
    "; + return "\n
      \n"; } function closeList() { - return '
    '; + return "
\n"; } /** @@ -524,4 +531,4 @@ class QueryPage { } } -?> +