r104750 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104749‎ | r104750 | r104751 >
Date:21:08, 30 November 2011
Author:brion
Status:ok (Comments)
Tags:
Comment:
bug 32733: fix for ApiSandbox

Use '10' rather than 10 so mw.html.element doesn't explode on 1.18
Modified paths:
  • /trunk/extensions/ApiSandbox/ext.apiSandbox.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ApiSandbox/ext.apiSandbox.js
@@ -54,7 +54,7 @@
5555 value = '';
5656 switch ( param.type ) {
5757 case 'limit':
58 - value = 10;
 58+ value = '10';
5959 case 'user':
6060 case 'timestamp':
6161 case 'integer':

Comments

#Comment by Krinkle (talk | contribs)   21:15, 30 November 2011

bug 30774 strikes back. Let's backport the fix for that to 1.18 (r96307)

Status & tagging log