r27899 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r27898‎ | r27899 | r27900 >
Date:18:18, 27 November 2007
Author:brion
Status:old
Tags:
Comment:
* (bug 12132) Use local copy of toolbar button, rather than loading from Wikimedia Commons
Modified paths:
  • /trunk/extensions/ProofreadPage/button_category_plus.png (added) (history)
  • /trunk/extensions/ProofreadPage/proofread.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/proofread.js
@@ -208,7 +208,7 @@
209209 image.width = 23;
210210 image.height = 22;
211211 image.className = "mw-toolbar-editbutton";
212 - image.src = "http://upload.wikimedia.org/wikipedia/commons/2/2a/Button_category_plus.png";
 212+ image.src = wgScriptPath+'/extensions/ProofreadPage/button_category_plus.png';
213213 image.border = 0;
214214 image.alt = proofreadPageMessageToggleHeaders;
215215 image.title = proofreadPageMessageToggleHeaders;
Index: trunk/extensions/ProofreadPage/button_category_plus.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/extensions/ProofreadPage/button_category_plus.png
___________________________________________________________________
Added: svn:mime-type
216216 + image/png

Status & tagging log