r59858 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59857‎ | r59858 | r59859 >
Date:23:09, 8 December 2009
Author:catrope
Status:ok
Tags:
Comment:
wmf-deployment: Merge r59224, r59254, r59680, r59683, r59806 (usability fixes) from trunk
Modified paths:
  • /branches/wmf-deployment/includes/DefaultSettings.php (modified) (history)
  • /branches/wmf-deployment/includes/Skin.php (modified) (history)
  • /branches/wmf-deployment/skins/common/ajaxwatch.js (modified) (history)
  • /branches/wmf-deployment/skins/vector (modified) (history)
  • /branches/wmf-deployment/skins/vector/experiments (modified) (history)
  • /branches/wmf-deployment/skins/vector/main-ltr.css (modified) (history)
  • /branches/wmf-deployment/skins/vector/main-rtl.css (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/skins/common/ajaxwatch.js
@@ -12,7 +12,9 @@
1313 watchMsg: "Watch",
1414 unwatchMsg: "Unwatch",
1515 watchingMsg: "Watching...",
16 - unwatchingMsg: "Unwatching..."
 16+ unwatchingMsg: "Unwatching...",
 17+ 'tooltip-ca-watchMsg': "Add this page to your watchlist",
 18+ 'tooltip-ca-unwatchMsg': "Remove this page from your watchlist"
1719 };
1820 }
1921
@@ -31,7 +33,14 @@
3234 if ( newText == wgAjaxWatch.watchingMsg || newText == wgAjaxWatch.unwatchingMsg ) {
3335 wgAjaxWatch.watchLinks[i].className += ' loading';
3436 } else if ( newText == wgAjaxWatch.watchMsg || newText == wgAjaxWatch.unwatchMsg ) {
35 - wgAjaxWatch.watchLinks[i].className = wgAjaxWatch.watchLinks[i].className.replace( /loading/i, '' );
 37+ wgAjaxWatch.watchLinks[i].className =
 38+ wgAjaxWatch.watchLinks[i].className.replace( /loading/i, '' );
 39+ // update the title text on the link
 40+ var keyCommand = wgAjaxWatch.watchLinks[i].title.match( /\[.*?\]$/ ) ?
 41+ wgAjaxWatch.watchLinks[i].title.match( /\[.*?\]$/ )[0] : "";
 42+ wgAjaxWatch.watchLinks[i].title = ( newText == wgAjaxWatch.watchMsg ?
 43+ wgAjaxWatch['tooltip-ca-watchMsg'] : wgAjaxWatch['tooltip-ca-unwatchMsg'] )
 44+ + " " + keyCommand;
3645 }
3746 }
3847 } else {
Property changes on: branches/wmf-deployment/skins/common/ajaxwatch.js
___________________________________________________________________
Name: svn:mergeinfo
3948 + /branches/REL1_15/phase3/skins/common/ajaxwatch.js:51646
/trunk/phase3/skins/common/ajaxwatch.js:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57541,57916,58151,58219,58633,58816,59680,59683
Property changes on: branches/wmf-deployment/skins/vector/experiments
___________________________________________________________________
Name: svn:mergeinfo
4049 - /branches/REL1_15/phase3/skins/vector/experiments:51646
/trunk/phase3/skins/vector/experiments:57541,57916,58151,58219,58633,58816
4150 + /branches/REL1_15/phase3/skins/vector/experiments:51646
/trunk/phase3/skins/vector/experiments:57541,57916,58151,58219,58633,58816,59224,59254,59806
Index: branches/wmf-deployment/skins/vector/main-ltr.css
@@ -205,6 +205,7 @@
206206 background-position: center center;
207207 background-repeat: no-repeat;
208208 }
 209+ /* @noflip */
209210 body.rtl div.vectorMenu {
210211 direction: rtl;
211212 }
@@ -212,21 +213,29 @@
213214 #head div.vectorMenu h5 {
214215 float: left;
215216 background-image: url(images/tab-break.png);
 217+ background-repeat: no-repeat;
 218+ }
 219+ /* IGNORED BY IE6 */
 220+ #head div.vectorMenu > h5 {
 221+ background-image: none;
 222+ }
 223+ #head div.vectorMenu h5 {
216224 background-position: bottom left;
217 - background-repeat: no-repeat;
218 - padding-left: 1px;
219225 margin-left: -1px;
220226 }
221227 /* OVERRIDDEN BY COMPLIANT BROWSERS */
 228+ /* @noflip */
222229 div.vectorMenu h5 a {
223230 display: inline-block;
224231 width: 24px;
225232 height: 2.5em;
226233 text-decoration: none;
227234 background-image: url(images/tab-break.png);
228 - background-position: bottom right;
229235 background-repeat: no-repeat;
230236 }
 237+ div.vectorMenu h5 a{
 238+ background-position: bottom right;
 239+ }
231240 /* IGNORED BY IE6 */
232241 div.vectorMenu h5 > a {
233242 display: block;
@@ -238,17 +247,20 @@
239248 text-align: left;
240249 }
241250 /* OVERRIDDEN BY COMPLIANT BROWSERS */
 251+ /* @noflip */
242252 body.rtl div.vectorMenu div.menu {
243 - margin-right: 24px;
 253+ margin-left: 24px;
244254 }
245255 /* IGNORED BY IE6 */
 256+ /* @noflip */
246257 body.rtl div.vectorMenu > div.menu {
247 - margin-right: auto;
 258+ margin-left: auto;
248259 }
249260 /* Fixes old versions of FireFox */
 261+ /* @noflip */
250262 body.rtl div.vectorMenu > div.menu,
251263 x:-moz-any-link {
252 - margin-right: 24px;
 264+ margin-left: 23px;
253265 }
254266 div.vectorMenu:hover div.menu {
255267 display: block;
@@ -1093,4 +1105,4 @@
10941106 background-image:url(images/tab-break.png);
10951107 background-position:right bottom;
10961108 background-repeat:no-repeat;
1097 -}
\ No newline at end of file
 1109+}
Index: branches/wmf-deployment/skins/vector/main-rtl.css
@@ -205,6 +205,7 @@
206206 background-position: center center;
207207 background-repeat: no-repeat;
208208 }
 209+ /* @noflip */
209210 body.rtl div.vectorMenu {
210211 direction: rtl;
211212 }
@@ -212,21 +213,29 @@
213214 #head div.vectorMenu h5 {
214215 float: left;
215216 background-image: url(images/tab-break.png);
216 - background-position: bottom left;
217217 background-repeat: no-repeat;
218 - padding-left: 1px;
219 - margin-left: -1px;
220218 }
 219+ /* IGNORED BY IE6 */
 220+ #head div.vectorMenu > h5 {
 221+ background-image: none;
 222+ }
 223+ #head div.vectorMenu h5 {
 224+ background-position: bottom right;
 225+ margin-right: -1px;
 226+ }
221227 /* OVERRIDDEN BY COMPLIANT BROWSERS */
 228+ /* @noflip */
222229 div.vectorMenu h5 a {
223230 display: inline-block;
224231 width: 24px;
225232 height: 2.5em;
226233 text-decoration: none;
227234 background-image: url(images/tab-break.png);
228 - background-position: bottom left;
229235 background-repeat: no-repeat;
230236 }
 237+ div.vectorMenu h5 a{
 238+ background-position: bottom left;
 239+ }
231240 /* IGNORED BY IE6 */
232241 div.vectorMenu h5 > a {
233242 display: block;
@@ -238,17 +247,20 @@
239248 text-align: right;
240249 }
241250 /* OVERRIDDEN BY COMPLIANT BROWSERS */
 251+ /* @noflip */
242252 body.rtl div.vectorMenu div.menu {
243253 margin-left: 24px;
244254 }
245255 /* IGNORED BY IE6 */
 256+ /* @noflip */
246257 body.rtl div.vectorMenu > div.menu {
247258 margin-left: auto;
248259 }
249260 /* Fixes old versions of FireFox */
 261+ /* @noflip */
250262 body.rtl div.vectorMenu > div.menu,
251263 x:-moz-any-link {
252 - margin-left: 24px;
 264+ margin-left: 23px;
253265 }
254266 div.vectorMenu:hover div.menu {
255267 display: block;
@@ -1093,4 +1105,4 @@
10941106 background-image:url(images/tab-break.png);
10951107 background-position:left bottom;
10961108 background-repeat:no-repeat;
1097 -}
\ No newline at end of file
 1109+}
Property changes on: branches/wmf-deployment/skins/vector
___________________________________________________________________
Name: svn:mergeinfo
10981110 + /branches/REL1_15/phase3/skins/vector:51646
/trunk/phase3/skins/vector:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57541,57916,58151,58219,58633,58816,59224,59254,59806
Index: branches/wmf-deployment/includes/DefaultSettings.php
@@ -1605,7 +1605,7 @@
16061606 * to ensure that client-side caches do not keep obsolete copies of global
16071607 * styles.
16081608 */
1609 -$wgStyleVersion = '254';
 1609+$wgStyleVersion = '257';
16101610
16111611
16121612 # Server-side caching:
Property changes on: branches/wmf-deployment/includes/DefaultSettings.php
___________________________________________________________________
Name: svn:mergeinfo
16131613 - /branches/REL1_15/phase3/includes/DefaultSettings.php:51646
/branches/wmf-deployment/includes/DefaultSettings.php:53381
/trunk/phase3/includes/DefaultSettings.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57530,57541,57602,57916,58151,58219,58633,58816,59607
16141614 + /branches/REL1_15/phase3/includes/DefaultSettings.php:51646
/branches/wmf-deployment/includes/DefaultSettings.php:53381
/trunk/phase3/includes/DefaultSettings.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57530,57541,57602,57916,58151,58219,58633,58816,59607,59680,59683
Index: branches/wmf-deployment/includes/Skin.php
@@ -443,7 +443,8 @@
444444
445445 if ( $wgOut->isArticleRelated() && $wgUseAjax && $wgAjaxWatch && $wgUser->isLoggedIn() ) {
446446 $msgs = (object)array();
447 - foreach ( array( 'watch', 'unwatch', 'watching', 'unwatching' ) as $msgName ) {
 447+ foreach ( array( 'watch', 'unwatch', 'watching', 'unwatching',
 448+ 'tooltip-ca-watch', 'tooltip-ca-unwatch' ) as $msgName ) {
448449 $msgs->{$msgName . 'Msg'} = wfMsg( $msgName );
449450 }
450451 $vars['wgAjaxWatch'] = $msgs;
Property changes on: branches/wmf-deployment/includes/Skin.php
___________________________________________________________________
Name: svn:mergeinfo
451452 - /branches/REL1_15/phase3/includes/Skin.php:51646
/branches/wmf-deployment/includes/Skin.php:53381
/trunk/phase3/includes/Skin.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,56523,57154-57447,57530,57541,57602,57916,58151,58219,58633,58816
452453 + /branches/REL1_15/phase3/includes/Skin.php:51646
/branches/wmf-deployment/includes/Skin.php:53381
/trunk/phase3/includes/Skin.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,56523,57154-57447,57530,57541,57602,57916,58151,58219,58633,58816,59680,59683

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r59224Fixing a spacing issue with RTL langauges and the dropdown menuadam22:35, 18 November 2009
r59254a followup, better fix for what r59224 aimed to do: Fixing a spacing issue wi...adam17:16, 19 November 2009
r59680Adding some code to the ajax watch/unwatch to alter tooltips on ajax update. ...adam21:22, 2 December 2009
r59683Follow change to r59680. Adding a better regexadam21:43, 2 December 2009
r59806Used more @noflip rules to make some of the margins a bit less confusing.tparscal23:03, 7 December 2009

Status & tagging log