Last modified: 2014-04-12 13:46:59 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 T48344, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46344 - issues naively applying Agora mw-ui-button styles
issues naively applying Agora mw-ui-button styles
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-20 02:37 UTC by spage
Modified: 2014-04-12 13:46 UTC (History)
5 users (show)

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


Attachments
screenshot of experimental Agora applied to edit page (17.25 KB, image/png)
2013-03-20 02:37 UTC, spage
Details
As of 2014. (9.78 KB, image/png)
2014-04-12 13:45 UTC, Bartosz Dziewoński
Details

Description spage 2013-03-20 02:37:09 UTC
Created attachment 11956 [details]
screenshot of experimental Agora applied to edit page

Extension:Agora has the experimental feature to apply mw-ui-button styles to buttons on existing pages using JavaScript. (Normally you would explicitly add these styles to elements of particular pages.) If I enable this on page edit on my local wiki:

* The buttons have no spacing, I think this is by design.

* The line height remains 1.5em so the buttons push below the "Cancel | Editing help (opens in new window) links"

* The first button has has rounded corners, the middle is squared, but the last doesn't have rounded right corners. The CSS selectors input.mw-ui-button[type="submit"]:first-child and input.mw-ui-button[type="submit"] do this, but the one to round the last-child doesn't select the last button. Did we intend these rules to only apply inside a mw-ui-button-group ?
Comment 1 spage 2013-03-20 02:39:05 UTC
Munaf, Pau, for your consideration...
Comment 2 Andre Klapper 2013-03-20 09:02:05 UTC
Side note: Would the Agora maintainers like to have a dedicated component in this Bugzilla? If so, please tell me who to set as default assignee (nobody@ ?) and default CC.
Comment 3 Bartosz Dziewoński 2014-04-12 13:45:18 UTC
Created attachment 15088 [details]
As of 2014.

A year later, the mediawiki.ui buttons we have in core look nothing like the screenshot here and don't really have these issues (the default look [1] – screenshot attached – looks sane to me). 

[1] Obtained by running $('.editButtons input').addClass('mw-ui-button')
    .first().addClass('mw-ui-constructive')

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


Navigation
Links