X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialSpecialpages.php;h=c3234e1be6784583257f840c78298e161d8be6c2;hp=eff06f4603ba3b976dab6d43f7a0b6109a8dd43f;hb=dc40debaea2effd46a43c88d0fc925b3550c829b;hpb=deddd002ff742ed394a40ac8a671504e65f6aa26 diff --git a/includes/specials/SpecialSpecialpages.php b/includes/specials/SpecialSpecialpages.php index eff06f4603..c3234e1be6 100644 --- a/includes/specials/SpecialSpecialpages.php +++ b/includes/specials/SpecialSpecialpages.php @@ -45,6 +45,7 @@ class SpecialSpecialpages extends UnlistedSpecialPage { return; } + $out->addHelpLink( 'Help:Special pages' ); $this->outputPageList( $groups ); } @@ -95,22 +96,14 @@ class SpecialSpecialpages extends UnlistedSpecialPage { $includesCachedPages = false; foreach ( $groups as $group => $sortedPages ) { - $total = count( $sortedPages ); - $middle = ceil( $total / 2 ); - $count = 0; $out->wrapWikiMsg( "

$1

\n", "specialpages-group-$group" ); $out->addHTML( - Html::openElement( - 'table', - array( 'style' => 'width:100%;', 'class' => 'mw-specialpages-table' ) - ) . "\n" . - Html::openElement( 'tr' ) . "\n" . - Html::openElement( 'td', array( 'style' => 'width:30%;vertical-align:top' ) ) . "\n" . - Html::openElement( 'ul' ) . "\n" + Html::openElement( 'div', array( 'class' => 'mw-specialpages-list' ) ) + . '