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

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 and in /docs/HOOKS.


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:
------- 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

Reply via email to