r73609 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73608‎ | r73609 | r73610 >
Date:17:34, 23 September 2010
Author:dale
Status:deferred
Tags:
Comment:
reduced smaxage to 5 min see bug 25263
Modified paths:
  • /branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js
@@ -1167,8 +1167,8 @@
11681168 var request = {
11691169 'action': 'parse',
11701170 'page': titleKey,
1171 - 'smaxage' : 3600,
1172 - 'maxage' : 3600
 1171+ 'smaxage' : 300,
 1172+ 'maxage' : 300
11731173 };
11741174 mw.getJSON( this.apiUrl, request, function( data ) {
11751175 if ( data && data.parse && data.parse.text['*'] ) {
@@ -1213,8 +1213,8 @@
12141214 'apnamespace' : this.getTimedTextNS(),
12151215 'aplimit' : 200,
12161216 'prop':'revisions',
1217 - 'smaxage' : 3600,
1218 - 'maxage' : 3600
 1217+ 'smaxage' : 300,
 1218+ 'maxage' : 300
12191219 };
12201220 mw.getJSON( this.apiUrl, request, function( sourcePages ) {
12211221 // If "timedText" is not a valid namespace try "just" with prefix:

Status & tagging log