MediaWiki r103074 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r103073‎ | r103074 (on ViewVC)‎ | r103075 >
Date:23:28, 14 November 2011
Author:hartman
Status:ok
Tags:
Comment:
Make sure that the old insertTags of mediawiki.action.edit.js works with each textarea or text input field on a page.

Note. Using input:text, because input[type=text] doesn't return the input's with no type set.

This fixes bug 31682, where Extension:CharInsert wasn't working on upload pages anymore and
bug 31566, where Extension:Proofread's header and footer fields didn't work icw CharInsert
Modified paths:

Diff [purge]

Index: trunk/phase3/resources/mediawiki.action/mediawiki.action.edit.js
@@ -85,7 +85,7 @@
8686 // Create button bar
8787 mw.toolbar.init();
8888
89 - $( '#wpSummary, #wpTextbox1' ).focus( function() {
 89+ $( 'textarea, input:text' ).focus( function() {
9090 currentFocused = $(this);
9191 });
9292

Follow-up revisions

Rev.Commit summaryAuthorDate
r103160REL1_18 MFT r102948, r103074, r103138reedy12:55, 15 November 2011
r108622MFT r92703, r94131, r100756, r103074, r107623reedy15:04, 11 January 2012

Status & tagging log

  • 15:04, 11 January 2012 Reedy (Talk | contribs) changed the tags for r103074 [removed: 1.18wmf1]
  • 08:30, 11 January 2012 TheDJ (Talk | contribs) changed the tags for r103074 [added: 1.18wmf1]
  • 12:55, 15 November 2011 Reedy (Talk | contribs) changed the tags for r103074 [removed: 1.18]
  • 10:07, 15 November 2011 Catrope (Talk | contribs) changed the status of r103074 [removed: new added: ok]
  • 07:35, 15 November 2011 TheDJ (Talk | contribs) changed the tags for r103074 [added: 1.18]
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Support
Download
Development
Communication
Toolbox