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 "Bump grunt to 1.0.1, remove grunt-cli"
[lhc/web/wiklou.git]
/
includes
/
actions
/
CreditsAction.php
diff --git
a/includes/actions/CreditsAction.php
b/includes/actions/CreditsAction.php
index
c19e8fa
..
1332ab4
100644
(file)
--- a/
includes/actions/CreditsAction.php
+++ b/
includes/actions/CreditsAction.php
@@
-49,7
+49,7
@@
class CreditsAction extends FormlessAction {
$s = $this->getCredits( -1 );
}
$s = $this->getCredits( -1 );
}
- return Html::rawElement( 'div',
array( 'id' => 'mw-credits' )
, $s );
+ return Html::rawElement( 'div',
[ 'id' => 'mw-credits' ]
, $s );
}
/**
}
/**
@@
-125,9
+125,9
@@
class CreditsAction extends FormlessAction {
}
}
}
}
- $real_names =
array()
;
- $user_names =
array()
;
- $anon_ips =
array()
;
+ $real_names =
[]
;
+ $user_names =
[]
;
+ $anon_ips =
[]
;
# Sift for real versus user names
/** @var $user User */
# Sift for real versus user names
/** @var $user User */
@@
-173,8
+173,8
@@
class CreditsAction extends FormlessAction {
}
# This is the big list, all mooshed together. We sift for blank strings
}
# This is the big list, all mooshed together. We sift for blank strings
- $fulllist =
array()
;
- foreach (
array( $real, $user, $anon, $others_link )
as $s ) {
+ $fulllist =
[]
;
+ foreach (
[ $real, $user, $anon, $others_link ]
as $s ) {
if ( $s !== false ) {
array_push( $fulllist, $s );
}
if ( $s !== false ) {
array_push( $fulllist, $s );
}
@@
-234,8
+234,8
@@
class CreditsAction extends FormlessAction {
return Linker::linkKnown(
$this->getTitle(),
$this->msg( 'others' )->escaped(),
return Linker::linkKnown(
$this->getTitle(),
$this->msg( 'others' )->escaped(),
-
array()
,
- array( 'action' => 'credits' )
+
[]
,
+ [ 'action' => 'credits' ]
);
}
}
);
}
}