r86608 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86607‎ | r86608 | r86609 >
Date:09:03, 21 April 2011
Author:diebuche
Status:ok
Tags:
Comment:
Followup to 86603 per CR: Fix var declaration of i
Modified paths:
  • /trunk/phase3/resources/mediawiki.action/mediawiki.action.edit.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/mediawiki.action/mediawiki.action.edit.js
@@ -38,7 +38,7 @@
3939 // If you want to add buttons, use
4040 // $( document ).ready( function () { mw.toolbar.addButton( imageFile, speedTip, tagOpen, tagClose, sampleText, imageId, selectText ) } );
4141 var c;
42 - for ( i = 0; i < window.mwCustomEditButtons.length; i++ ) {
 42+ for ( var i = 0; i < window.mwCustomEditButtons.length; i++ ) {
4343 c = window.mwCustomEditButtons[i];
4444 mw.toolbar.addButton( c.imageFile, c.speedTip, c.tagOpen, c.tagClose, c.sampleText, c.imageId, c.selectText );
4545 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86603Move edit.js stuff to mediawiki.action.edit.js, and remove wikibits dependenc...diebuche08:19, 21 April 2011

Status & tagging log