* @param bool|null $including Whether this page is being transcluded in
* another page
*/
- function __construct( IContextSource $context = null, $par = null, $including = null ) {
+ public function __construct( IContextSource $context = null, $par = null, $including = null ) {
if ( $context ) {
$this->setContext( $context );
}
$request = $this->getRequest();
- $par = ( $par !== null ) ? $par : '';
+ $par = $par ?? '';
$parms = explode( '/', $par );
$symsForAll = [ '*', 'user' ];
$ulinks .= Linker::userToolLinksRedContribs(
$row->user_id,
$userName,
- (int)$row->edits
+ (int)$row->edits,
+ // don't render parentheses in HTML markup (CSS will provide)
+ false
);
$lang = $this->getLanguage();