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

--- Comment #9 from Derk-Jan Hartman <[email protected]> ---
Confirmed fixed, though I note that it doesn't skip over some of the
aliases/disabled versions of variants:

See also SkinTemplate.php which is responsible for this in skins.


                                        // Loops over each variant
                                        foreach( $variants as $code ) {
                                                // Gets variant name from
language code
                                                $varname =
$pageLang->getVariantname( $code );
                                                // Checks if the variant is
marked as disabled
                                                if( $varname == 'disable' ) {
                                                        // Skips this variant
                                                        continue;
                                                }
                                                // Appends variant link
                                               
$content_navigation['variants'][] = array(
                                                        'class' => ( $code ==
$preferred ) ? 'selected' : false,
                                                        'text' => $varname,
                                                        'href' =>
$title->getLocalURL( array( 'variant' => $code ) + $params ),
                                                        'lang' => $code,
                                                        'hreflang' => $code
                                                );
                                        }

-- 
You are receiving this mail because:
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