r73507 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73506‎ | r73507 | r73508 >
Date:04:43, 22 September 2010
Author:dale
Status:deferred
Tags:
Comment:
fixed smaxage request param
Modified paths:
  • /branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js
@@ -1166,7 +1166,7 @@
11671167 var request = {
11681168 'action': 'parse',
11691169 'page': titleKey,
1170 - 's-maxage' : 3600,
 1170+ 'smaxage' : 3600,
11711171 'maxage' : 3600
11721172 };
11731173 mw.getJSON( this.apiUrl, request, function( data ) {
@@ -1212,7 +1212,7 @@
12131213 'apnamespace' : this.getTimedTextNS(),
12141214 'aplimit' : 200,
12151215 'prop':'revisions',
1216 - 's-maxage' : 3600,
 1216+ 'smaxage' : 3600,
12171217 'maxage' : 3600
12181218 };
12191219 mw.getJSON( this.apiUrl, request, function( sourcePages ) {

Status & tagging log