X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialExpandTemplates.php;h=73ca76bb9738a3165f972470ece077e38d1504ad;hp=560d75a6b1d3588a89501e4859f7376aedce80f7;hb=74426f3cf796b149f1ae445e41815bbe148640b2;hpb=872dc01de3bfae0db3f952b75b95d98beb47449e diff --git a/includes/specials/SpecialExpandTemplates.php b/includes/specials/SpecialExpandTemplates.php index 560d75a6b1..73ca76bb97 100644 --- a/includes/specials/SpecialExpandTemplates.php +++ b/includes/specials/SpecialExpandTemplates.php @@ -56,6 +56,7 @@ class SpecialExpandTemplates extends SpecialPage { global $wgParser; $this->setHeaders(); + $this->addHelpLink( 'Help:ExpandTemplates' ); $request = $this->getRequest(); $titleStr = $request->getText( 'wpContextTitle' ); @@ -163,7 +164,6 @@ class SpecialExpandTemplates extends SpecialPage { 'size' => 60, 'default' => $title, 'autofocus' => true, - 'cssclass' => 'mw-ui-input-inline', ], 'input' => [ 'type' => 'textarea', @@ -172,6 +172,7 @@ class SpecialExpandTemplates extends SpecialPage { 'rows' => 10, 'default' => $input, 'id' => 'input', + 'useeditfont' => true, ], 'removecomments' => [ 'type' => 'check', @@ -226,7 +227,11 @@ class SpecialExpandTemplates extends SpecialPage { $output, 10, 10, - [ 'id' => 'output', 'readonly' => 'readonly' ] + [ + 'id' => 'output', + 'readonly' => 'readonly', + 'class' => 'mw-editfont-' . $this->getUser()->getOption( 'editfont' ) + ] ); return $out;