User:Krinkle/Extension review/WikiLove

WikiLove extension review by Krinkle, as of r88383.

Structure

 * Modules are preferably stored in a /modules folder or, like:
 * /extensions/WikiLove/modules/
 * ext.wikiLove/
 * ext.wikiLove.js
 * ext.wikiLove.css
 * ext.wikiLove.defaultTypes.js
 * jquery.elastic/
 * jquery.elastic.js

WikiLove.js

 * Loading through mw.loader.load isn't synchronous per se, if later code depends on it (ie. overriding configuration variables) it should be loaded with a callback to the rest of the code. This could be done through, however since it's not an external URL, it would be best to register it as part of a module. (ie.   which would be a ResourceLoaderWikiModule loading ). The callback can then be passed to
 * Referring to static files (like images) should be done through . Some wikis override this path (such as Wikimedia). But also many users that run a wiki off trunk, that have /trunk/extensions</tt> aliased from /trunk/phase3/extensions/my-symbolic-link</tt>), who set   to that. Right now the images are failing on my local host.