https://bugzilla.wikimedia.org/show_bug.cgi?id=56409

--- Comment #3 from Bartosz Dziewoński <[email protected]> ---
Cursory debugging points me to the following function in Translate:

    protected static function addTab( $skin, &$tabs, $name, $data, &$index ) {
        // SkinChihuahua is an exception for userbase.kde.org.
        if ( $skin instanceof SkinVector || $skin instanceof SkinChihuahua ) {
            $data['class'] = false; // These skins need it for some reason
            $tabs['namespaces'][$name] = $data;
        } else {
            array_splice( $tabs, $index++, 0, array( $name => $data ) );
        }
    }

This is very messy, but my gut feeling is that it should say:

            array_splice( $tabs, $index++, 0, array( array( $name => $data ) )
);

This also explains not being broken on Vector (because it's iffed out…) and on
CologneBlue (because it does its own weird things with the navigation and by
chance seems to ignore these entries – that might be a bug).

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to