MediaWiki:Gadget-ImageAnnotator.js: Difference between revisions

Content deleted Content added
m Reverted edits by Steinsplitter (talk) to last revision by Ebraminio
Remove cache busting. MediaWiki handles this natively now as long as the url follows the exact format title/action/ctype in that order. It's cached properly and purged when the page is edited.
Line 3,169:
IA.getScript(
mw.config.get('wgScript') + '?title=MediaWiki:ImageAnnotatorConfig.js&action=raw&ctype=text/javascript'
+ '&dummy=' + Math.floor((new Date()).getTime() / (14400 * 1000)) // 4 hours
, true // No local caching!
);