MediaWiki:Gadget-ImageAnnotator.js: Difference between revisions

Content deleted Content added
preventing traversing a page with more than 400 images (last three edits)
&rawcontinue=
Line 1,945:
// prompt by using getScript instead of parseWikitext in this case.
ImageAnnotator.info_callbacks = [];
var template = mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/api.php?action=query&rawcontinue=&format=json'
+ '&prop=info|imageinfo&inprop=protection&iiprop=size'
+ '&titles=&callback=ImageAnnotator.info_callbacks[].callback';