https://bugzilla.wikimedia.org/show_bug.cgi?id=24785
Summary: UserToggles hook no longer work in 1.16 Product: MediaWiki Version: 1.16.0 Platform: All OS/Version: All Status: NEW Severity: major Priority: Normal Component: User preferences AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: mediaw...@blazemonger.com CC: agarr...@wikimedia.org 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. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l