On 10/31/2013 01:14 AM, Matthew Flaschen wrote:
// Load jquery.ui.button so button styles work in
wikitext
mw.loader.using( 'jquery.ui.button' );
Commons is now doing this conditionally, only if the CSS class is
present on the page (or specifically the HTML from wikipage.content).
See
https://commons.wikimedia.org/wiki/MediaWiki:Common.js .
There's also some discussion at the English Wikipedia village pump
((
https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_%28techni…).
For when that gets archived, the permalink is
https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technica…
Matt Flaschen