https://bugzilla.wikimedia.org/show_bug.cgi?id=55361

       Web browser: ---
            Bug ID: 55361
           Summary: HTMLForm: harmonize 'toggle' and 'multiselect'
                    parameters and layout
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: HTMLForm
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to