https://bugzilla.wikimedia.org/show_bug.cgi?id=69445
Eran Roz <eran....@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eran....@outlook.com --- Comment #13 from Eran Roz <eran....@outlook.com> --- I think code review isn't the solution, as it is probable that no one will review the code for small wikis. However it would be great to have automated tests running after changes in common.js and gadgets. Such general tests can at least validate no external resource is loaded, or no invalid syntax is added. The simplest option is to run it outside MW (such as a script in labs that runs X times a day), but an extension to do it while editing would be even better... BTW I just runned a simple phantomjs script on all wikipedia languages to catch simple errors: testing als ERROR: ReferenceError: Can't find variable: ta TRACE: -> https://als.wikipedia.org/w/index.php?title=MediaWiki:If-pt-login.js&action=raw&ctype=text/javascript&dontcountme=s: 9 testing kk ERROR: TypeError: 'null' is not an object (evaluating 'document.getElementById('mw-vector-current-variant').innerHTML=wgULS("Кирил","Latın","توتە")') TRACE: -> https://bits.wikimedia.org/kk.wikipedia.org/load.php?debug=false&lang=kk&modules=site&only=scripts&skin=vector&*: 9 anyone wants to fix them? :) -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l