Page MenuHomePhabricator

resize.patch

Authored By
bzimport
Nov 22 2014, 12:06 AM
Size
1 KB
Referenced Files
None
Subscribers
None

resize.patch

diff --git a/extensions/ReplaceText/SpecialReplaceText.php b/extensions/ReplaceText/SpecialReplaceText.php
index bf22e05..ccdc51f 100755
--- a/extensions/ReplaceText/SpecialReplaceText.php
+++ b/extensions/ReplaceText/SpecialReplaceText.php
@@ -231,11 +231,11 @@ class ReplaceText extends SpecialPage {
// 'width: auto' style is needed to override MediaWiki's
// normal 'width: 100%', which causes the textarea to get
// zero width in IE
- $wgOut->addHTML( Xml::textarea( 'target', $this->target, 50, 2, array( 'style' => 'width: auto;' ) ) );
+ $wgOut->addHTML( Xml::textarea( 'target', $this->target, 125, 25, array( 'style' => 'width: auto;' ) ) );
$wgOut->addHTML( '</td></tr><tr><td style="vertical-align: top;">' );
$wgOut->addWikiMsg( 'replacetext_replacementtext' );
$wgOut->addHTML( '</td><td>' );
- $wgOut->addHTML( Xml::textarea( 'replacement', $this->replacement, 50, 2, array( 'style' => 'width: auto;' ) ) );
+ $wgOut->addHTML( Xml::textarea( 'replacement', $this->replacement, 125, 25, array( 'style' => 'width: auto;' ) ) );
$wgOut->addHTML( '</td></tr></table>' );
$wgOut->addHTML( Xml::tags( 'p', null,
Xml::checkLabel( wfMsg( 'replacetext_useregex' ), 'use_regex', 'use_regex' ) ) . "\n" .

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8216
Default Alt Text
resize.patch (1 KB)

Event Timeline