From: Sam Reed Date: Mon, 23 Nov 2009 19:16:43 +0000 (+0000) Subject: Further followup to r59360 X-Git-Tag: 1.31.0-rc.0~38725 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=258009f38330e654795fcf9d92d0e6537e4bce9c;p=lhc%2Fweb%2Fwiklou.git Further followup to r59360 Add spellcheck to html5attribs for blacklisting Switch from xml to html input --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 65265ad4b7..6870153557 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1419,7 +1419,7 @@ class EditPage { Xml::tags( 'span', array( 'class' => $summaryClass, 'id' => "wpSummaryLabel" ), $commentsubject ); $commentsubject .= ' '; - $commentsubject .= Xml::input( 'wpSummary', + $commentsubject .= Html::input( 'wpSummary', 60, $summarytext, array( @@ -1447,7 +1447,7 @@ class EditPage { $editsummary = Xml::tags( 'span', array( 'class' => $summaryClass, 'id' => "wpSummaryLabel" ), $editsummary ) . ' '; - $editsummary .= Xml::input( 'wpSummary', + $editsummary .= Html::input( 'wpSummary', 60, $summarytext, array( diff --git a/includes/Html.php b/includes/Html.php index 9573269215..4ecfcba9c6 100644 --- a/includes/Html.php +++ b/includes/Html.php @@ -81,6 +81,7 @@ class Html { 'reversed', 'scoped', 'seamless', + 'spellcheck', ); /** @@ -147,6 +148,7 @@ class Html { 'placeholder', 'required', 'step', + 'spellcheck', ); foreach ( $html5attribs as $badAttr ) { unset( $attribs[$badAttr] );