Last modified: 2014-08-28 17:59:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49145, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47145 - Deprecate jquery.ui formally and transition everything to a single replacement (mediawiki.ui or whatever)
Deprecate jquery.ui formally and transition everything to a single replacemen...
Status: NEW
Product: MediaWiki
Classification: Unclassified
MediaWiki UI (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: design
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-12 00:47 UTC by spage
Modified: 2014-08-28 17:59 UTC (History)
12 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2013-04-12 00:47:10 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'.
Comment 1 Jon 2013-10-24 20:54:43 UTC
jQuery UI should die. We should take the good bits and put them into mediawiki ui
Comment 2 Steven Walling 2013-10-24 20:56:41 UTC
(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).
Comment 3 Matthew Flaschen 2013-10-25 00:15:45 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links