'mediawiki.special',
'mediawiki.special.changeslist',
] );
+ $out->addModules( 'mediawiki.special.recentchanges' );
$this->addHelpLink( 'Help:User contributions' );
$this->opts = [];
$labelNewbies . '<br>' . $labelUsername . ' ' . $input . ' '
);
+ $hidden = $this->opts['namespace'] === '' ? ' mw-input-hidden' : '';
$namespaceSelection = Xml::tags(
'div',
[],
) . "\u{00A0}" .
Html::rawElement(
'span',
- [ 'class' => 'mw-input-with-label' ],
+ [ 'class' => 'mw-input-with-label' . $hidden ],
Xml::checkLabel(
$this->msg( 'invert' )->text(),
'nsInvert',
- 'nsInvert',
+ 'nsinvert',
$this->opts['nsInvert'],
[
'title' => $this->msg( 'tooltip-invert' )->text(),
]
) . "\u{00A0}"
) .
- Html::rawElement( 'span', [ 'class' => 'mw-input-with-label' ],
+ Html::rawElement( 'span', [ 'class' => 'mw-input-with-label' . $hidden ],
Xml::checkLabel(
$this->msg( 'namespace_association' )->text(),
'associated',
- 'associated',
+ 'nsassociated',
$this->opts['associated'],
[
'title' => $this->msg( 'tooltip-namespace_association' )->text(),