bug 21604 Spellcheck attribute for editsummary
authorSam Reed <reedy@users.mediawiki.org>
Mon, 23 Nov 2009 18:38:57 +0000 (18:38 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 23 Nov 2009 18:38:57 +0000 (18:38 +0000)
RELEASE-NOTES
includes/EditPage.php

index 8103ee1..b9bf0c6 100644 (file)
@@ -284,6 +284,7 @@ Hopefully we will remove this configuration var soon)
 * Added maintenance script syntaxChecker.php that checks for PHP syntax errors
   and common coding mistakes
 * Updated Unicode normalization tables
+* (bug 21604) Spellcheck attribute for editsummary
 
 === Bug fixes in 1.16 ===
 
index 3139ecc..745a7cc 100644 (file)
@@ -1425,7 +1425,8 @@ class EditPage {
                                                                        array(
                                                                                'id' => 'wpSummary',
                                                                                'maxlength' => '200',
-                                                                               'tabindex' => '1'
+                                                                               'tabindex' => '1',
+                                                                               'spellcheck' => 'yes'
                                                                        ) );
                        } else {
                                $summaryhiddens .= Xml::hidden( 'wpIgnoreBlankSummary', true ); # bug 18699
@@ -1452,7 +1453,8 @@ class EditPage {
                                array(
                                        'id' => 'wpSummary',
                                        'maxlength' => '200',
-                                       'tabindex' => '1'
+                                       'tabindex' => '1',
+                                       'spellcheck' => 'yes'
                                ) );
 
                        // No idea where this is closed.