Index: branches/wmf/1.16wmf4/skins/Vector.php |
— | — | @@ -625,7 +625,7 @@ |
626 | 626 | <div class="body"> |
627 | 627 | <ul> |
628 | 628 | <?php foreach ( $this->data['language_urls'] as $langlink ): ?> |
629 | | - <li class="<?php echo htmlspecialchars( $langlink['class'] ) ?>"><a href="<?php echo htmlspecialchars( $langlink['href'] ) ?>"><?php echo $langlink['text'] ?></a></li> |
| 629 | + <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> |
630 | 630 | <?php endforeach; ?> |
631 | 631 | </ul> |
632 | 632 | </div> |
— | — | @@ -661,7 +661,7 @@ |
662 | 662 | * when UI is in RTL mode |
663 | 663 | */ |
664 | 664 | private function renderNavigation( $elements ) { |
665 | | - global $wgContLang, $wgVectorUseSimpleSearch, $wgVectorShowVariantName; |
| 665 | + global $wgContLang, $wgVectorUseSimpleSearch, $wgVectorShowVariantName, $wgUser; |
666 | 666 | |
667 | 667 | // If only one element was given, wrap it in an array, allowing more |
668 | 668 | // flexible arguments |
— | — | @@ -754,7 +754,7 @@ |
755 | 755 | <h5<?php $this->html('userlangattributes') ?>><label for="searchInput"><?php $this->msg( 'search' ) ?></label></h5> |
756 | 756 | <form action="<?php $this->text( 'wgScript' ) ?>" id="searchform"> |
757 | 757 | <input type='hidden' name="title" value="<?php $this->text( 'searchtitle' ) ?>"/> |
758 | | - <?php if ( $wgVectorUseSimpleSearch ): ?> |
| 758 | + <?php if ( $wgVectorUseSimpleSearch && $wgUser->getOption( 'vector-simplesearch' ) ): ?> |
759 | 759 | <div id="simpleSearch"> |
760 | 760 | <input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey( 'search' ); ?> <?php if( isset( $this->data['search'] ) ): ?> value="<?php $this->text( 'search' ) ?>"<?php endif; ?> /> |
761 | 761 | <button id="searchButton" type='submit' name='button' <?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?>> </button> |
Property changes on: branches/wmf/1.16wmf4/skins/Vector.php |
___________________________________________________________________ |
Name: svn:mergeinfo |
762 | 762 | - /branches/wmf-deployment/skins/Vector.php:60970 |
/trunk/phase3/skins/Vector.php:63545-63546,63549,63643,63764,63897-63901,65015,65387,65391,65555,65590,66374,66403,67537,67544,67576,67631,67640,67703,67893 |
763 | 763 | + /branches/wmf-deployment/skins/Vector.php:60970 |
/trunk/phase3/skins/Vector.php:63545-63546,63549,63643,63764,63897-63901,65015,65387,65391,65555,65590,66374,66403,67537,67544,67576,67631,67640,67703,67893,68079,68105,68108-68109,68177,68677 |
Index: branches/wmf/1.16wmf4/skins/vector/main-ltr.css |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | #p-personal { |
73 | 73 | position: absolute; |
74 | 74 | top: 0; |
75 | | - margin-left: 10em; |
| 75 | + padding-left: 10em; |
76 | 76 | right: 0.75em; |
77 | 77 | } |
78 | 78 | #p-personal h5 { |
— | — | @@ -87,10 +87,12 @@ |
88 | 88 | line-height: 1.125em; |
89 | 89 | float: left; |
90 | 90 | } |
| 91 | + /* This one flips! */ |
91 | 92 | #p-personal li { |
92 | 93 | margin-left: 0.75em; |
93 | 94 | margin-top: 0.5em; |
94 | 95 | font-size: 0.75em; |
| 96 | + white-space: nowrap; |
95 | 97 | } |
96 | 98 | /* Navigation Containers */ |
97 | 99 | #left-navigation { |
— | — | @@ -363,7 +365,7 @@ |
364 | 366 | margin: 0; |
365 | 367 | border-width: 0; |
366 | 368 | padding: 3px; |
367 | | - line-height: 1em; |
| 369 | + vertical-align: top; |
368 | 370 | font-size: 13px; |
369 | 371 | width: 14em; |
370 | 372 | background-color: transparent; |
— | — | @@ -901,11 +903,13 @@ |
902 | 904 | border: none !important; |
903 | 905 | background: none !important; |
904 | 906 | } |
| 907 | +/* @noflip */ |
905 | 908 | div.tright { |
906 | 909 | clear: right; |
907 | 910 | float: right; |
908 | 911 | border-width: .5em 0 .8em 1.4em; |
909 | 912 | } |
| 913 | +/* @noflip */ |
910 | 914 | div.tleft { |
911 | 915 | float: left; |
912 | 916 | clear: left; |
Index: branches/wmf/1.16wmf4/skins/vector/main-rtl.css |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | #p-personal { |
73 | 73 | position: absolute; |
74 | 74 | top: 0; |
75 | | - margin-right: 10em; |
| 75 | + padding-right: 10em; |
76 | 76 | left: 0.75em; |
77 | 77 | } |
78 | 78 | #p-personal h5 { |
— | — | @@ -87,10 +87,12 @@ |
88 | 88 | line-height: 1.125em; |
89 | 89 | float: left; |
90 | 90 | } |
| 91 | + /* This one flips! */ |
91 | 92 | #p-personal li { |
92 | 93 | margin-right: 0.75em; |
93 | 94 | margin-top: 0.5em; |
94 | 95 | font-size: 0.75em; |
| 96 | + white-space: nowrap; |
95 | 97 | } |
96 | 98 | /* Navigation Containers */ |
97 | 99 | #left-navigation { |
— | — | @@ -363,7 +365,7 @@ |
364 | 366 | margin: 0; |
365 | 367 | border-width: 0; |
366 | 368 | padding: 3px; |
367 | | - line-height: 1em; |
| 369 | + vertical-align: top; |
368 | 370 | font-size: 13px; |
369 | 371 | width: 14em; |
370 | 372 | background-color: transparent; |
— | — | @@ -901,17 +903,19 @@ |
902 | 904 | border: none !important; |
903 | 905 | background: none !important; |
904 | 906 | } |
| 907 | +/* @noflip */ |
905 | 908 | div.tright { |
| 909 | + clear: right; |
| 910 | + float: right; |
| 911 | + border-width: .5em 0 .8em 1.4em; |
| 912 | +} |
| 913 | +/* @noflip */ |
| 914 | +div.tleft { |
| 915 | + float: left; |
906 | 916 | clear: left; |
907 | | - float: left; |
| 917 | + margin-right: .5em; |
908 | 918 | border-width: .5em 1.4em .8em 0; |
909 | 919 | } |
910 | | -div.tleft { |
911 | | - float: right; |
912 | | - clear: right; |
913 | | - margin-left: .5em; |
914 | | - border-width: .5em 0 .8em 1.4em; |
915 | | -} |
916 | 920 | img.thumbborder { |
917 | 921 | border: 1px solid #dddddd; |
918 | 922 | } |
Property changes on: branches/wmf/1.16wmf4/skins/vector |
___________________________________________________________________ |
Name: svn:mergeinfo |
919 | 923 | - /branches/wmf-deployment/skins/vector:60970 |
/trunk/phase3/skins/vector:63545-63546,63549,63643,63764,63897-63901,64456,65015,65380,65383,65387,65391,65555,65590-65591,65965,66151,66158,66614,67537,67544,67576,67631,67640,67703,67871 |
920 | 924 | + /branches/wmf-deployment/skins/vector:60970 |
/trunk/phase3/skins/vector:63545-63546,63549,63643,63764,63897-63901,64456,65015,65380,65383,65387,65391,65555,65590-65591,65965,66151,66158,66614,67537,67544,67576,67631,67640,67703,67871,68079,68105,68108-68109,68177,68677 |
Index: branches/wmf/1.16wmf4/skins/MonoBook.php |
— | — | @@ -309,7 +309,8 @@ |
310 | 310 | <ul> |
311 | 311 | <?php foreach($this->data['language_urls'] as $langlink) { ?> |
312 | 312 | <li class="<?php echo htmlspecialchars($langlink['class'])?>"><?php |
313 | | - ?><a href="<?php echo htmlspecialchars($langlink['href']) ?>"><?php echo $langlink['text'] ?></a></li> |
| 313 | + ?><a href="<?php echo htmlspecialchars($langlink['href']) ?>" title="<?php |
| 314 | + echo htmlspecialchars($langlink['title']) ?>"><?php echo $langlink['text'] ?></a></li> |
314 | 315 | <?php } ?> |
315 | 316 | </ul> |
316 | 317 | </div> |
Property changes on: branches/wmf/1.16wmf4/skins |
___________________________________________________________________ |
Name: svn:mergeinfo |
317 | 318 | - /branches/wmf-deployment/skins:60970 |
/trunk/phase3/skins:63545-63546,63549,63643,63764,63897-63901,65015,65387,65391,65555,65590,67537,67544,67576,67631,67640,67703,67836 |
318 | 319 | + /branches/wmf-deployment/skins:60970 |
/trunk/phase3/skins:63545-63546,63549,63643,63764,63897-63901,65015,65387,65391,65555,65590,67537,67544,67576,67631,67640,67703,67836,68079,68105,68108-68109,68177,68677 |
Index: branches/wmf/1.16wmf4/includes/SkinTemplate.php |
— | — | @@ -473,6 +473,7 @@ |
474 | 474 | 'href' => $nt->getFullURL(), |
475 | 475 | 'text' => ( $wgContLang->getLanguageName( $nt->getInterwiki() ) != '' ? |
476 | 476 | $wgContLang->getLanguageName( $nt->getInterwiki() ) : $l ), |
| 477 | + 'title' => $nt->getText(), |
477 | 478 | 'class' => $class |
478 | 479 | ); |
479 | 480 | } |
Index: branches/wmf/1.16wmf4/includes/Preferences.php |
— | — | @@ -938,6 +938,15 @@ |
939 | 939 | 'section' => 'searchoptions/display', |
940 | 940 | ); |
941 | 941 | } |
| 942 | + |
| 943 | + global $wgVectorUseSimpleSearch; |
| 944 | + if ( $wgVectorUseSimpleSearch ) { |
| 945 | + $defaultPreferences['vector-simplesearch'] = array( |
| 946 | + 'type' => 'toggle', |
| 947 | + 'label-message' => 'vector-simplesearch-preference', |
| 948 | + 'section' => 'searchoptions/display' |
| 949 | + ); |
| 950 | + } |
942 | 951 | |
943 | 952 | $defaultPreferences['searcheverything'] = |
944 | 953 | array( |
Property changes on: branches/wmf/1.16wmf4/includes/Preferences.php |
___________________________________________________________________ |
Name: svn:mergeinfo |
945 | 954 | + /branches/REL1_15/phase3/includes/Preferences.php:51646 |
/branches/sqlite/includes/Preferences.php:58211-58321 |
/branches/wmf-deployment/includes/Preferences.php:53381,60970 |
/trunk/phase3/includes/Preferences.php:63549,63764,63897-63901,64113,64509,65387,65391,65555,65590,65650,65816,68079,68105,68224,68677 |
Index: branches/wmf/1.16wmf4/includes/Skin.php |
— | — | @@ -1887,12 +1887,13 @@ |
1888 | 1888 | $nt = Title::newFromText( $l ); |
1889 | 1889 | $url = $nt->escapeFullURL(); |
1890 | 1890 | $text = $wgContLang->getLanguageName( $nt->getInterwiki() ); |
| 1891 | + $title = htmlspecialchars( $nt->getText() ); |
1891 | 1892 | |
1892 | 1893 | if ( $text == '' ) { |
1893 | 1894 | $text = $l; |
1894 | 1895 | } |
1895 | 1896 | $style = $this->getExternalLinkAttributes(); |
1896 | | - $s .= "<a href=\"{$url}\"{$style}>{$text}</a>"; |
| 1897 | + $s .= "<a href=\"{$url}\" title=\"{$title}\"{$style}>{$text}</a>"; |
1897 | 1898 | } |
1898 | 1899 | if( $wgContLang->isRTL() ) { |
1899 | 1900 | $s .= '</span>'; |
Index: branches/wmf/1.16wmf4/languages/messages/MessagesEn.php |
— | — | @@ -791,6 +791,7 @@ |
792 | 792 | 'vector-namespace-talk' => 'Discussion', |
793 | 793 | 'vector-namespace-template' => 'Template', |
794 | 794 | 'vector-namespace-user' => 'User page', |
| 795 | +'vector-simplesearch-preference' => 'Enable enhanced search suggestions (Vector skin only)', |
795 | 796 | 'vector-view-create' => 'Create', |
796 | 797 | 'vector-view-edit' => 'Edit', |
797 | 798 | 'vector-view-history' => 'View history', |
Property changes on: branches/wmf/1.16wmf4/languages/messages/MessagesEn.php |
___________________________________________________________________ |
Name: svn:mergeinfo |
798 | 799 | - /branches/wmf/1.16wmf3/languages/messages/MessagesEn.php:64760 |
/branches/wmf-deployment/languages/messages/MessagesEn.php:60970 |
/trunk/phase3/languages/messages/MessagesEn.php:63545-63546,63549,63643,63764,63897-63901,64784,64786,64789,64800,64851,64876,65027,65112,66823 |
799 | 800 | + /branches/wmf/1.16wmf3/languages/messages/MessagesEn.php:64760 |
/branches/wmf-deployment/languages/messages/MessagesEn.php:60970 |
/trunk/phase3/languages/messages/MessagesEn.php:63545-63546,63549,63643,63764,63897-63901,64784,64786,64789,64800,64851,64876,65027,65112,66823,68224 |