Page MenuHomePhorge

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/includes/installer/WebInstaller.php b/includes/installer/WebInstaller.php
index 25663d790d8..72acc94e6fd 100644
--- a/includes/installer/WebInstaller.php
+++ b/includes/installer/WebInstaller.php
@@ -821,13 +821,13 @@ class WebInstaller extends Installer {
return $this->label(
$params['label'],
$params['controlName'],
- Xml::textarea(
+ Html::textarea(
$params['controlName'],
$params['value'],
- 30,
- 5,
$params['attribs'] + [
'id' => $params['controlName'],
+ 'cols' => 30,
+ 'rows' => 5,
'class' => 'config-input-text',
'tabindex' => $this->nextTabIndex()
]
diff --git a/includes/specials/SpecialExpandTemplates.php b/includes/specials/SpecialExpandTemplates.php
index 44582b6c077..b2e76c00a61 100644
--- a/includes/specials/SpecialExpandTemplates.php
+++ b/includes/specials/SpecialExpandTemplates.php
@@ -34,7 +34,6 @@ use MediaWiki\Status\Status;
use MediaWiki\Tidy\TidyDriverBase;
use MediaWiki\Title\Title;
use MediaWiki\User\Options\UserOptionsLookup;
-use MediaWiki\Xml\Xml;
/**
* A special page to enter wikitext and expands its templates, parser functions,
@@ -219,13 +218,13 @@ class SpecialExpandTemplates extends SpecialPage {
*/
private function makeOutput( $output, $heading = 'expand_templates_output' ) {
$out = "<h2>" . $this->msg( $heading )->escaped() . "</h2>\n";
- $out .= Xml::textarea(
+ $out .= Html::textarea(
'output',
$output,
- 10,
- 10,
[
'id' => 'output',
+ 'cols' => 10,
+ 'rows' => 10,
'readonly' => 'readonly',
'class' => 'mw-editfont-' . $this->userOptionsLookup->getOption( $this->getUser(), 'editfont' )
]

File Metadata

Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:31 AM (9 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227419
Default Alt Text
(1 KB)

Event Timeline