Page MenuHomePhabricator

Apply jquery.ui.button styles to normal buttons in MediaWiki core
Closed, DeclinedPublic

Description

This doesn't mean using jquery on them, just applying the same styles so the interface is consistent across all elements regardless of whether they are normal forms or scripted elements. Given that javascript is becoming a staple of web development, not just in general but on MediaWiki as well, there is little reason to maintain the strange discrepancy between the different button styles, as such inconsistency only serves to create more confusion for the users.

A button should be a button regardless of what built it.

For concerns about the styles themselves, see Bug 37744 and Bug 44855 - this bug is just about general interface consistency across elements.


Version: 1.21.x
Severity: normal

Details

Reference
bz44856

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:17 AM
bzimport set Reference to bz44856.
bzimport added a subscriber: Unknown Object (MLST).

[Boldly marking this bug as dependent on those two, as they really should be resolved before this is attempted.]

Can we please maintain consistency the opposite way, by unstyling the jQuery buttons so that everything looked like normal buttons native to user's browser and platform?

Meanwhile there's gerrit Change-Id: I63e073b420675b2882ab2717073d6a6d84179a7b - "Added mw-ui-button classes (Agora) to various buttons" and Change-Id: I11d1449dd38bb8d331f5a1e16631cb12ca59dc0a to implement Agora styling in the HTMLForm class.

These two parallel tracks are symptoms of bug 47145 - "unify mediawiki.ui and jquery.ui". I apologize for not noticing the overlap until late in the process.

We're moving away from jQuery UI in core (towards mediawiki.ui), so this will not be implemented.