X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialAutoblockList.php;h=34c3371bf2695faf304c61aeae86b5ac59da9a74;hb=6cfb2e3d7a2b96d5041312fcec88248bb46573d7;hp=e1909f524378b47136e45d98178b34bd09bfcb53;hpb=b0494b29097eaff97073f01e3427f2629eedadc1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialAutoblockList.php b/includes/specials/SpecialAutoblockList.php index e1909f5243..34c3371bf2 100644 --- a/includes/specials/SpecialAutoblockList.php +++ b/includes/specials/SpecialAutoblockList.php @@ -34,9 +34,7 @@ class SpecialAutoblockList extends SpecialPage { } /** - * Main execution point - * - * @param string $par Title fragment + * @param string|null $par Title fragment */ public function execute( $par ) { $this->setHeaders(); @@ -98,7 +96,7 @@ class SpecialAutoblockList extends SpecialPage { protected function showTotal( BlockListPager $pager ) { $out = $this->getOutput(); $out->addHTML( - Html::element( 'div', [ 'style' => 'font-weight: bold;' ], + Html::rawElement( 'div', [ 'style' => 'font-weight: bold;' ], $this->msg( 'autoblocklist-total-autoblocks', $pager->getTotalAutoblocks() )->parse() ) . "\n" ); @@ -119,7 +117,7 @@ class SpecialAutoblockList extends SpecialPage { # Not necessary in a standard installation without such extensions enabled if ( count( $otherAutoblockLink ) ) { $out->addHTML( - Html::element( 'h2', [], $this->msg( 'autoblocklist-localblocks', + Html::rawElement( 'h2', [], $this->msg( 'autoblocklist-localblocks', $pager->getNumRows() )->parse() ) . "\n" );