Last modified: 2014-08-28 17:59:38 UTC
The Agora styles http://www.mediawiki.org/wiki/Agora are implemented in a 'mediawiki.ui' module. Kaldari points out that we have overlapping button styles in jquery.ui.button, e.g. 'mw-ui-button mw-ui-primary' vs 'ui-button ui-button-red'.
jQuery UI should die. We should take the good bits and put them into mediawiki ui
(In reply to comment #1) > jQuery UI should die. We should take the good bits and put them into > mediawiki > ui Is there an easy way to grep for what parts of jquery.ui we're using anywhere? If we can get a list, I will help do an audit of we are doing with jquery.ui that needs to be supported by mediawiki.ui (and potentially oo.ui/ve.ui, which is being split out of VE right now).
You can grep for jquery.ui in the checkout of core and all WMF-deployed extensions, and use regular Special:Search for a wiki (just make sure the right namespaces are checked). However, that might miss extensions, gadgets and user scripts that don't declare their dependencies (they should always be declared when possible, but not everyone is aware of this). There are definitely places that use it; however, the fact that it is loaded by default (e.g. on the main page) is a problem (bug 55550). This isn't going to be an overnight transition. mediawiki.ui needs to mature a lot, and jquery.ui is being used a lot of places (including gadgets and userscripts). Thus, it will probably need to be kept around for a while (though not loaded by default), even when mediawiki.ui has feature parity and is being used by extensions.