dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Type hint against LinkTarget in WatchedItemStore"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialAutoblockList.php
diff --git
a/includes/specials/SpecialAutoblockList.php
b/includes/specials/SpecialAutoblockList.php
index
e1909f5
..
34c3371
100644
(file)
--- 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();
*/
public function execute( $par ) {
$this->setHeaders();
@@
-98,7
+96,7
@@
class SpecialAutoblockList extends SpecialPage {
protected function showTotal( BlockListPager $pager ) {
$out = $this->getOutput();
$out->addHTML(
protected function showTotal( BlockListPager $pager ) {
$out = $this->getOutput();
$out->addHTML(
- Html::
e
lement( 'div', [ 'style' => 'font-weight: bold;' ],
+ Html::
rawE
lement( 'div', [ 'style' => 'font-weight: bold;' ],
$this->msg( 'autoblocklist-total-autoblocks', $pager->getTotalAutoblocks() )->parse() )
. "\n"
);
$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(
# Not necessary in a standard installation without such extensions enabled
if ( count( $otherAutoblockLink ) ) {
$out->addHTML(
- Html::
e
lement( 'h2', [], $this->msg( 'autoblocklist-localblocks',
+ Html::
rawE
lement( 'h2', [], $this->msg( 'autoblocklist-localblocks',
$pager->getNumRows() )->parse() )
. "\n"
);
$pager->getNumRows() )->parse() )
. "\n"
);