Problem: ========
Extension:OpenID adds a new pref tab ("OpenID") [1,3], but the <fieldset>...</fieldset>, and <legend>section header texts</legend> are apparently _not_ correctly set up in the page HTML, or they are not correctly rendered. See [3].
Pls compare [3] (sections missing) and [4] (correctly rendered, see yellow marking).
Is is a bug in the core which effects extensions ? What am I doing wrong in function onGetPreferences [1], or, what is missing in the code ?
[1] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/OpenID.git;a=bl... [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=45586 [3] http://i.imgur.com/UGqjwKK.png [4] http://i.imgur.com/90T3xZX.png
what is missing in the code ?
If you want the fieldset to appear, I believe you just need to change all the 'section' => 'openid', in the preference arrays to 'section' => 'openid/openid', and then it will use the prefs-openid message, which you have already defined, as the section text in the fieldset legend.
Cheers, grunny
Am 04.03.2013 07:47, schrieb Grunny:
what is missing in the code ?
If you want the fieldset to appear, I believe you just need to change all the 'section' => 'openid', in the preference arrays to 'section' => 'openid/openid', and then it will use the prefs-openid message, which you have already defined, as the section text in the fieldset legend.
+1, works
1000thanks for your tip.
In my view, this should be documented on https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences and in the docs https://svn.wikimedia.org/doc/
wikitech-l@lists.wikimedia.org