Index: trunk/phase3/skins/Vector.php |
— | — | @@ -639,7 +639,7 @@ |
640 | 640 | <div class="body"> |
641 | 641 | <ul> |
642 | 642 | <?php foreach ( $this->data['language_urls'] as $langlink ): ?> |
643 | | - <li class="<?php echo htmlspecialchars( $langlink['class'] ) ?>"><a href="<?php echo htmlspecialchars( $langlink['href'] ) ?>"><?php echo $langlink['text'] ?></a></li> |
| 643 | + <li class="<?php echo htmlspecialchars( $langlink['class'] ) ?>"><a href="<?php echo htmlspecialchars( $langlink['href'] ) ?>" title="<?php echo htmlspecialchars( $langlink['title'] ) ?>"><?php echo $langlink['text'] ?></a></li> |
644 | 644 | <?php endforeach; ?> |
645 | 645 | </ul> |
646 | 646 | </div> |
Index: trunk/phase3/skins/MonoBook.php |
— | — | @@ -310,7 +310,8 @@ |
311 | 311 | <ul> |
312 | 312 | <?php foreach($this->data['language_urls'] as $langlink) { ?> |
313 | 313 | <li class="<?php echo htmlspecialchars($langlink['class'])?>"><?php |
314 | | - ?><a href="<?php echo htmlspecialchars($langlink['href']) ?>"><?php echo $langlink['text'] ?></a></li> |
| 314 | + ?><a href="<?php echo htmlspecialchars($langlink['href']) ?>" title="<?php |
| 315 | + echo htmlspecialchars($langlink['title']) ?>"><?php echo $langlink['text'] ?></a></li> |
315 | 316 | <?php } ?> |
316 | 317 | </ul> |
317 | 318 | </div> |
Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -433,6 +433,7 @@ |
434 | 434 | 'href' => $nt->getFullURL(), |
435 | 435 | 'text' => ( $wgContLang->getLanguageName( $nt->getInterwiki() ) != '' ? |
436 | 436 | $wgContLang->getLanguageName( $nt->getInterwiki() ) : $l ), |
| 437 | + 'title' => $nt->getText(), |
437 | 438 | 'class' => $class |
438 | 439 | ); |
439 | 440 | } |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1894,12 +1894,13 @@ |
1895 | 1895 | $nt = Title::newFromText( $l ); |
1896 | 1896 | $url = $nt->escapeFullURL(); |
1897 | 1897 | $text = $wgContLang->getLanguageName( $nt->getInterwiki() ); |
| 1898 | + $title = htmlspecialchars( $nt->getText() ); |
1898 | 1899 | |
1899 | 1900 | if ( $text == '' ) { |
1900 | 1901 | $text = $l; |
1901 | 1902 | } |
1902 | 1903 | $style = $this->getExternalLinkAttributes(); |
1903 | | - $s .= "<a href=\"{$url}\"{$style}>{$text}</a>"; |
| 1904 | + $s .= "<a href=\"{$url}\" title=\"{$title}\"{$style}>{$text}</a>"; |
1904 | 1905 | } |
1905 | 1906 | if( $wgContLang->isRTL() ) { |
1906 | 1907 | $s .= '</span>'; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -82,6 +82,7 @@ |
83 | 83 | experimental feature. |
84 | 84 | * Show validity period of the login cookie in Special:UserLogin and |
85 | 85 | Special:Preferences |
| 86 | +* Interlanguage links display the page title in their tooltip. |
86 | 87 | |
87 | 88 | === Bug fixes in 1.17 === |
88 | 89 | * (bug 17560) Half-broken deletion moved image files to deletion archive |