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
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) {
>>
> 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
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