Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8699
resize.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 22 2014, 12:06 AM
2014-11-22 00:06:58 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
resize.patch
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8216
Default Alt Text
resize.patch (1 KB)
Attached To
Mode
T34894: Text area fields are too small
Attached
Detach File
Event Timeline
Log In to Comment