Last modified: 2013-10-06 08:42:22 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 T57361, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55361 - HTMLForm: harmonize 'toggle' and 'multiselect' parameters and layout [CLARIFICATION REQUEST or BUG REPORT]
HTMLForm: harmonize 'toggle' and 'multiselect' parameters and layout [CLARIFI...
Status: NEW
Product: MediaWiki
Classification: Unclassified
HTMLForm (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-06 08:40 UTC by T. Gries
Modified: 2013-10-06 08:42 UTC (History)
0 users

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


Attachments

Description T. Gries 2013-10-06 08:40:02 UTC
Clarification request - or bug repoort.

See http://i.imgur.com/pzgk0R7.png which shows a screenshot.

I think I have found a problem in HTMLForm, let me try to explain. In E:OpenID, a new preferences tab "openid" is added, which adds sections with 'toggle' and also 'multiselect' forms via the Preferences hook.

I noticed, that with the 'toggle' type, I cannot set up a 'default' text left of the toggle checkbox, I can only set up an individual text on the right side of the toggle checkbox (using 'label-message' key) (pictured).

With the 'multiselect' option I can use 'default' to set up a text left of the checkboxes and individual label-messages on the right side, of course (pictured).


The relevant code is in onGetPreferences in E:OpenID see lines 282 seq. https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FOpenID/483c1c9dfdbbdbdddd967bd87566b3d592c7285c/OpenID.hooks.php#L282 . In the part for 'user', where I use 'toggle', setting a 'default' value does not result in a text.
Comment 1 T. Gries 2013-10-06 08:42:22 UTC
I also want to point out, that in my view the alignemnt of 'toggle' and also 'multiselect' checkboxes should be harmonized, I mean, the boxes should be rendered in the same pixel row on screen, regardless whether they are toggles or multiselect boxes.

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


Navigation
Links