User "Duplicatebug" posted a comment on MediaWiki.r88513. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88513#c17260 Commit summary:
Adding mw.util.wikiScript + small fix in mediawiki.action.watch.ajax.js * Moving wiki* functions together in mediawiki.util.js * Adding Adding mw.util.wikiScript (like wfScript() in GlobalFunctions.php) * Adding test suite for it * Example to use it in mediawiki.action.watch.ajax.js * (bug 29071) mediawiki.action.watch.ajax.js doesn't use uselang Comment: That is right, but there are not so many modules depending on $wgLang, direct or indirect. Maybe add that param to ApiMain::getAllowedParams()? Than has it a documentation, and all api users can know about that. meta=allmessages and action=parse handle its language param by self. _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview