From 03f8f9a7ee8ee18a06caa94769156ce422d1d097 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Thu, 3 Dec 2009 10:29:34 +0000 Subject: [PATCH] Expand a few comments. One as per Nikerabbit's comment on r59695. --- includes/EditPage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index b4515dd3c6..6d215e0a02 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1536,7 +1536,7 @@ END 'tabindex' => '1', 'size' => 60, 'spellcheck' => 'true', - 'onfocus' => "currentFocused = this;", + 'onfocus' => "currentFocused = this;", // Make wpSummary insertable for editbuttons ); if ( $userInputAttrs ) $inputAttrs += $userInputAttrs; @@ -1710,8 +1710,8 @@ INPUTS 'id' => $name, 'cols' => $wgUser->getIntOption( 'cols' ), 'rows' => $wgUser->getIntOption( 'rows' ), - 'onfocus' => "currentFocused = this;", - 'style' => '' // for php notices + 'onfocus' => "currentFocused = this;", // Make textareas insertable for editbuttons + 'style' => '' // avoid php notices when appending for editwidth preference (appending allows customAttribs['style'] to still work ); if ( $wgUser->getOption( 'editwidth' ) ) -- 2.20.1