https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113568

Revision: 113568
Author:   robin
Date:     2012-03-11 03:25:22 +0000 (Sun, 11 Mar 2012)
Log Message:
-----------
Remove the explicit user lang/dir attributes, because variant names are usually 
not in the user language, and there are lang attributes on those li items.

Modified Paths:
--------------
    trunk/phase3/skins/Vector.php

Modified: trunk/phase3/skins/Vector.php
===================================================================
--- trunk/phase3/skins/Vector.php       2012-03-10 22:57:43 UTC (rev 113567)
+++ trunk/phase3/skins/Vector.php       2012-03-11 03:25:22 UTC (rev 113568)
@@ -369,7 +369,7 @@
        </h4>
        <h5><span><?php $this->msg( 'variants' ) ?></span><a href="#"></a></h5>
        <div class="menu">
-               <ul<?php $this->html( 'userlangattributes' ) ?>>
+               <ul>
                        <?php foreach ( $this->data['variant_urls'] as $link ): 
?>
                                <li<?php echo $link['attributes'] ?>><a 
href="<?php echo htmlspecialchars( $link['href'] ) ?>" lang="<?php echo 
htmlspecialchars( $link['lang'] ) ?>" hreflang="<?php echo htmlspecialchars( 
$link['hreflang'] ) ?>" <?php echo $link['key'] ?>><?php echo htmlspecialchars( 
$link['text'] ) ?></a></li>
                        <?php endforeach; ?>


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to