Last modified: 2012-04-12 13:53:39 UTC
If an extension uses the UserToggles hook to add a checkbox to the "Misc" tab in preferences, this functionality no longer works in MediaWiki 1.16. If this hook is now deprecated, this ticket should update the docs at http://www.mediawiki.org/wiki/Manual:Hooks/UserToggles and in /docs/HOOKS. Example: function wfToggle($extraToggles) { global $wgMessageCache; $extraToggles[] = 'foo'; $wgMessageCache->addMessage('tog-foo', 'my checkbox text'); return true; } Note: I am fairly sure that the deprecated $wgMessageCache->addMessage() call is NOT the problem.
Confirmed that the UserToggles hook is still in the 1.16 code in /includes/User.php.
This hook is no longer functional. I have removed some vestiges of it in User.php in r71062. and have marked the hook page appropriately.