https://bugzilla.wikimedia.org/show_bug.cgi?id=30154
--- Comment #3 from Helder <[email protected]> --- Not really. But since there are only 5 occurrences of ".query" at http://pt.wikibooks.org/w/extensions/LiquidThreads/lqt.js and all of them occur in a code of the form ----------------------------------------- $j.get( mw.util.wikiScript( 'api' ), ..., function(data) { ... data.query.threads ... }, 'json' ); ----------------------------------------- I think this would probably not happen if the 'mediawiki.api' module was used to handle the API requests. Indeed, that module has checks for 'data' being undefined and API errors: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=resources/mediawiki.api/mediawiki.api.js;h=cf7443f3b3bfa35e6c52a7043e76a2f17c52adf8;hb=HEAD#l160 This would probably help with bug 28132 as well. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
