dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e9d4e9
)
Correct whitespace and parentheses typos in BlockLogFormatter
author
Thalia
<thalia.e.chan@googlemail.com>
Thu, 31 Jan 2019 06:17:18 +0000
(22:17 -0800)
committer
Thalia
<thalia.e.chan@googlemail.com>
Thu, 31 Jan 2019 06:46:28 +0000
(22:46 -0800)
Change-Id: I9e79e9d274e8ed1fa94966f5e1ac01f8fcd6d96b
includes/logging/BlockLogFormatter.php
patch
|
blob
|
history
diff --git
a/includes/logging/BlockLogFormatter.php
b/includes/logging/BlockLogFormatter.php
index
84cf0b2
..
ddecf9e
100644
(file)
--- a/
includes/logging/BlockLogFormatter.php
+++ b/
includes/logging/BlockLogFormatter.php
@@
-77,8
+77,8
@@
class BlockLogFormatter extends LogFormatter {
// block restrictions
if ( isset( $params[6] ) ) {
$pages = $params[6]['pages'] ?? [];
- $pages = array_map( function ( $page ){
- return $this->makePageLink( Title::newFromText(
( $page )
) );
+ $pages = array_map( function ( $page )
{
+ return $this->makePageLink( Title::newFromText(
$page
) );
}, $pages );
$namespaces = $params[6]['namespaces'] ?? [];