[Mediawiki-l] Creating a custom Preferences tab (UserToggles hook)?
Daniel Barrett
danb at VistaPrint.com
Wed Nov 14 22:15:12 UTC 2007
I figured out a (non-optimal) solution: just eliminate the
'RenderPreferencesForm' hook setup. The 'UserToggles' hook is enough.
This puts the preference on the Misc tab instead of a custom "My Tab"
tab.
The problems occurred because the checkbox was appearing on both the
Misc and My Tab tabs, so the form submit had 2 values for the
preference.
DanB
More information about the MediaWiki-l
mailing list