if ( !$msg->isDisabled() ) {
$descriptionHtml = $this->msg( 'parentheses' )->rawParams( $msg->parse() )
->escaped();
- $text .= "<br />" . Html::rawElement( 'small', [ 'class' => 'mw-statistic-desc' ],
- " $descriptionHtml" );
+ $text .= "<br />" .
+ Html::rawElement( 'small', [ 'class' => 'mw-statistic-desc' ],
+ " $descriptionHtml" );
}
}
Xml::tags( 'th', [ 'colspan' => '2' ], $this->msg( 'statistics-header-pages' )
->parse() ) .
Xml::closeElement( 'tr' ) .
- $this->formatRow( $linkRenderer->makeKnownLink( $specialAllPagesTitle,
- $this->msg( 'statistics-articles' )->text(), [], [ 'hideredirects' => 1 ] ),
+ $this->formatRow( $linkRenderer->makeKnownLink(
+ $specialAllPagesTitle,
+ $this->msg( 'statistics-articles' )->text(),
+ [], [ 'hideredirects' => 1 ] ),
$this->getLanguage()->formatNum( $this->good ),
[ 'class' => 'mw-statistics-articles' ],
'statistics-articles-desc' ) .
[ 'class' => 'mw-statistics-edits' ]
) .
$this->formatRow( $this->msg( 'statistics-edits-average' )->parse(),
- $this->getLanguage()
- ->formatNum( sprintf( '%.2f', $this->total ? $this->edits / $this->total : 0 ) ),
- [ 'class' => 'mw-statistics-edits-average' ]
+ $this->getLanguage()->formatNum(
+ sprintf( '%.2f', $this->total ? $this->edits / $this->total : 0 )
+ ), [ 'class' => 'mw-statistics-edits-average' ]
);
}
$this->getLanguage()->formatNum( $this->activeUsers ),
[ 'class' => 'mw-statistics-users-active' ],
'statistics-users-active-desc',
- $this->getLanguage()->formatNum( $this->getConfig()->get( 'ActiveUserDays' ) )
+ $this->getLanguage()->formatNum(
+ $this->getConfig()->get( 'ActiveUserDays' ) )
);
}
$text = '';
foreach ( $this->getConfig()->get( 'GroupPermissions' ) as $group => $permissions ) {
# Skip generic * and implicit groups
- if ( in_array( $group, $this->getConfig()->get( 'ImplicitGroups' ) ) || $group == '*' ) {
+ if ( in_array( $group, $this->getConfig()->get( 'ImplicitGroups' ) )
+ || $group == '*' ) {
continue;
}
$groupname = htmlspecialchars( $group );
}
$msg = $this->msg( 'grouppage-' . $groupname )->inContentLanguage();
if ( $msg->isBlank() ) {
- $grouppageLocalized = MWNamespace::getCanonicalName( NS_PROJECT ) . ':' . $groupname;
+ $grouppageLocalized = MWNamespace::getCanonicalName( NS_PROJECT ) .
+ ':' . $groupname;
} else {
$grouppageLocalized = $msg->text();
}