Index: trunk/phase3/skins/Vector.php |
— | — | @@ -326,7 +326,7 @@ |
327 | 327 | * @param $elements array |
328 | 328 | */ |
329 | 329 | private function renderNavigation( $elements ) { |
330 | | - global $wgVectorUseSimpleSearch, $wgVectorShowVariantName; |
| 330 | + global $wgVectorUseSimpleSearch; |
331 | 331 | |
332 | 332 | // If only one element was given, wrap it in an array, allowing more |
333 | 333 | // flexible arguments |
— | — | @@ -355,15 +355,13 @@ |
356 | 356 | case 'VARIANTS': |
357 | 357 | ?> |
358 | 358 | <div id="p-variants" class="vectorMenu<?php if ( count( $this->data['variant_urls'] ) == 0 ) echo ' emptyPortlet'; ?>"> |
359 | | - <?php if ( $wgVectorShowVariantName ): ?> |
360 | | - <h4> |
361 | | - <?php foreach ( $this->data['variant_urls'] as $link ): ?> |
362 | | - <?php if ( stripos( $link['attributes'], 'selected' ) !== false ): ?> |
363 | | - <?php echo htmlspecialchars( $link['text'] ) ?> |
364 | | - <?php endif; ?> |
365 | | - <?php endforeach; ?> |
366 | | - </h4> |
367 | | - <?php endif; ?> |
| 359 | + <h4> |
| 360 | + <?php foreach ( $this->data['variant_urls'] as $link ): ?> |
| 361 | + <?php if ( stripos( $link['attributes'], 'selected' ) !== false ): ?> |
| 362 | + <?php echo htmlspecialchars( $link['text'] ) ?> |
| 363 | + <?php endif; ?> |
| 364 | + <?php endforeach; ?> |
| 365 | + </h4> |
368 | 366 | <h5><span><?php $this->msg( 'variants' ) ?></span><a href="#"></a></h5> |
369 | 367 | <div class="menu"> |
370 | 368 | <ul<?php $this->html( 'userlangattributes' ) ?>> |
Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -24,6 +24,7 @@ |
25 | 25 | items to show by default on query pages (special pages such as Whatlinkshere). |
26 | 26 | * (bug 32470) Increase the length of ug_group. |
27 | 27 | * (bug 32239) Removed wgEnableTooltipsAndAccesskeys. |
| 28 | +* Removed $wgVectorShowVariantName. |
28 | 29 | |
29 | 30 | === New features in 1.19 === |
30 | 31 | * (bug 19838) Possibility to get all interwiki prefixes if the interwiki |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -2454,11 +2454,6 @@ |
2455 | 2455 | $wgVectorUseIconWatch = false; |
2456 | 2456 | |
2457 | 2457 | /** |
2458 | | - * Show the name of the current variant as a label in the variants drop-down menu |
2459 | | - */ |
2460 | | -$wgVectorShowVariantName = false; |
2461 | | - |
2462 | | -/** |
2463 | 2458 | * Display user edit counts in various prominent places. |
2464 | 2459 | */ |
2465 | 2460 | $wgEdititis = false; |