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_%28technical%29#Dark_blue_over_the_word_.22wikicode.22_to_the_point_where_I_can_hardly_see_it). For when that gets archived, the permalink is https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=581603372#Dark_blue_over_the_word_.22wikicode.22_to_the_point_where_I_can_hardly_see_it

Matt Flaschen


_______________________________________________
Wikitech-ambassadors mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors

Reply via email to