(bug 5611) Add a name attribute to the text box containing source text in read-only...
authorRob Church <robchurch@users.mediawiki.org>
Tue, 25 Apr 2006 01:30:50 +0000 (01:30 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Tue, 25 Apr 2006 01:30:50 +0000 (01:30 +0000)
RELEASE-NOTES
includes/OutputPage.php

index aecb768..1564085 100644 (file)
@@ -118,6 +118,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 5497) regeression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>)
 * (bug 5709) Allow customisation of separator for categories
 * (bug 5684) Introduce Special:Randomredirect
+* (bug 5611) Add a name attribute to the text box containing source text in
+  read-only pages
 
 == Compatibility ==
 
index f4b83b1..4d7cf9c 100644 (file)
@@ -834,7 +834,8 @@ class OutputPage {
                        }
                        $rows = $wgUser->getOption( 'rows' );
                        $cols = $wgUser->getOption( 'cols' );
-                       $text = "\n<textarea cols='$cols' rows='$rows' readonly='readonly'>" .
+                       
+                       $text = "\n<textarea name='wpTextbox1' id='wpTextbox1' cols='$cols' rows='$rows' readonly='readonly'>" .
                                htmlspecialchars( $source ) . "\n</textarea>";
                        $this->addHTML( $text );
                }