Remove the explicit user lang/dir attributes, because variant names are usually not...
authorRobin Pepermans <robin@users.mediawiki.org>
Sun, 11 Mar 2012 03:25:22 +0000 (03:25 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Sun, 11 Mar 2012 03:25:22 +0000 (03:25 +0000)
skins/Vector.php

index 5a596c3..501a267 100644 (file)
@@ -369,7 +369,7 @@ class VectorTemplate extends BaseTemplate {
        </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; ?>