Re: [Mediawiki-l] UserToggles in 1.16 - no checkboxes

2010-08-11 Thread Daniel Barrett
Chad [innocentkil...@gmail.com] writes: >The real failure is because preferences were rewritten entirely in 1.16.x and >I don't believe back-compat was maintained for the old hooks. >Take a look at the GetPreferences hook[0] for more info. Thanks Chad. I'll check it out. The UserToggles hook is

Re: [Mediawiki-l] UserToggles in 1.16 - no checkboxes

2010-08-11 Thread Chad
On Wed, Aug 11, 2010 at 12:13 AM, Andrew Caul wrote: > >> Daniel Barrett wrote: >> >> In 1.16, custom preferences added by third-party extensions aren't getting >> displayed on our wiki. They all use the "UserToggles" hook and a function >> like this: >> >> function wfToggle($extraToggles) { >>

Re: [Mediawiki-l] UserToggles in 1.16 - no checkboxes

2010-08-10 Thread Andrew Caul
> Daniel Barrett wrote: > > In 1.16, custom preferences added by third-party extensions aren't getting > displayed on our wiki. They all use the "UserToggles" hook and a function > like this: > > function wfToggle($extraToggles) { > global $wgMessageCache; > $extraToggles[] = 'foo'; > $w

[Mediawiki-l] UserToggles in 1.16 - no checkboxes

2010-08-10 Thread Daniel Barrett
In 1.16, custom preferences added by third-party extensions aren't getting displayed on our wiki. They all use the "UserToggles" hook and a function like this: function wfToggle($extraToggles) { global $wgMessageCache; $extraToggles[] = 'foo'; $wgMessageCache->addMessage('tog-foo', 'my che