global $wgParser;
$this->setHeaders();
+ $this->addHelpLink( 'Help:ExpandTemplates' );
$request = $this->getRequest();
$titleStr = $request->getText( 'wpContextTitle' );
'size' => 60,
'default' => $title,
'autofocus' => true,
- 'cssclass' => 'mw-ui-input-inline',
],
'input' => [
'type' => 'textarea',
'rows' => 10,
'default' => $input,
'id' => 'input',
+ 'useeditfont' => true,
],
'removecomments' => [
'type' => 'check',
$output,
10,
10,
- [ 'id' => 'output', 'readonly' => 'readonly' ]
+ [
+ 'id' => 'output',
+ 'readonly' => 'readonly',
+ 'class' => 'mw-editfont-' . $this->getUser()->getOption( 'editfont' )
+ ]
);
return $out;