Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1536,7 +1536,7 @@ |
1537 | 1537 | 'tabindex' => '1', |
1538 | 1538 | 'size' => 60, |
1539 | 1539 | 'spellcheck' => 'true', |
1540 | | - 'onfocus' => "currentFocused = this;", |
| 1540 | + 'onfocus' => "currentFocused = this;", // Make wpSummary insertable for editbuttons |
1541 | 1541 | ); |
1542 | 1542 | if ( $userInputAttrs ) |
1543 | 1543 | $inputAttrs += $userInputAttrs; |
— | — | @@ -1710,8 +1710,8 @@ |
1711 | 1711 | 'id' => $name, |
1712 | 1712 | 'cols' => $wgUser->getIntOption( 'cols' ), |
1713 | 1713 | 'rows' => $wgUser->getIntOption( 'rows' ), |
1714 | | - 'onfocus' => "currentFocused = this;", |
1715 | | - 'style' => '' // for php notices |
| 1714 | + 'onfocus' => "currentFocused = this;", // Make textareas insertable for editbuttons |
| 1715 | + 'style' => '' // avoid php notices when appending for editwidth preference (appending allows customAttribs['style'] to still work |
1716 | 1716 | ); |
1717 | 1717 | |
1718 | 1718 | if ( $wgUser->getOption( 'editwidth' ) ) |