Index: trunk/phase3/includes/ChangesList.php |
— | — | @@ -860,16 +860,7 @@ |
861 | 861 | $users = ' <span class="changedby">[' . |
862 | 862 | implode( $this->message['semicolon-separator'], $users ) . ']</span>'; |
863 | 863 | |
864 | | - # Title for <a> tags |
865 | | - $expandTitle = htmlspecialchars( wfMsg( 'rc-enhanced-expand' ) ); |
866 | | - $closeTitle = htmlspecialchars( wfMsg( 'rc-enhanced-hide' ) ); |
867 | | - |
868 | | - $tl = "<span class='mw-collapsible-toggle'>" |
869 | | - . "<span class='mw-rc-openarrow'>" |
870 | | - . "<a href='#' title='$expandTitle'>{$this->sideArrow()}</a>" |
871 | | - . "</span><span class='mw-rc-closearrow'>" |
872 | | - . "<a href='#' title='$closeTitle'>{$this->downArrow()}</a>" |
873 | | - . "</span></span>"; |
| 864 | + $tl = '<span class="mw-collapsible-toggle mw-enhancedchanges-arrow"></span>'; |
874 | 865 | $r .= "<td>$tl</td>"; |
875 | 866 | |
876 | 867 | # Main line |
— | — | @@ -974,7 +965,6 @@ |
975 | 966 | $classes = array(); |
976 | 967 | $type = $rcObj->mAttribs['rc_type']; |
977 | 968 | |
978 | | - #$r .= '<tr><td valign="top">'.$this->spacerArrow(); |
979 | 969 | $r .= '<tr><td></td><td class="mw-enhanced-rc">'; |
980 | 970 | $r .= $this->recentChangesFlags( array( |
981 | 971 | 'newpage' => $rcObj->mAttribs['rc_new'], |
— | — | @@ -1119,7 +1109,7 @@ |
1120 | 1110 | $r = Html::openElement( 'table', array( 'class' => $classes ) ) . |
1121 | 1111 | Html::openElement( 'tr' ); |
1122 | 1112 | |
1123 | | - $r .= '<td class="mw-enhanced-rc">' . $this->spacerArrow(); |
| 1113 | + $r .= '<td class="mw-enhanced-rc"><span class="mw-enhancedchanges-arrow mw-enhancedchanges-arrow-space"></span>'; |
1124 | 1114 | # Flag and Timestamp |
1125 | 1115 | if( $type == RC_MOVE || $type == RC_MOVE_OVER_REDIRECT ) { |
1126 | 1116 | $r .= '    '; // 4 flags -> 4 spaces |
Index: trunk/phase3/resources/mediawiki.special/images/arrow-collapsed-ltr.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/phase3/resources/mediawiki.special/images/arrow-collapsed-ltr.png |
___________________________________________________________________ |
Added: svn:mime-type |
1127 | 1117 | + image/png |
Index: trunk/phase3/resources/mediawiki.special/images/arrow-collapsed-rtl.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/phase3/resources/mediawiki.special/images/arrow-collapsed-rtl.png |
___________________________________________________________________ |
Added: svn:mime-type |
1128 | 1118 | + image/png |
Index: trunk/phase3/resources/mediawiki.special/images/arrow-expanded.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/phase3/resources/mediawiki.special/images/arrow-expanded.png |
___________________________________________________________________ |
Added: svn:mime-type |
1129 | 1119 | + image/png |
Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.changeslist.css |
— | — | @@ -31,20 +31,29 @@ |
32 | 32 | float: none; |
33 | 33 | } |
34 | 34 | |
35 | | -/** |
36 | | - * If JS is disabled, the arrow is still needed |
37 | | - * for spacing, but ideally shouldn't be shown |
38 | | - */ |
39 | | -.mw-enhanced-rc .mw-rc-openarrow { |
40 | | - visibility: hidden; |
| 35 | +/* If JS is disabled, the arrow shouldn't be shown */ |
| 36 | +.client-nojs .mw-enhancedchanges-arrow.mw-collapsible-toggle { |
| 37 | + display: none; |
41 | 38 | } |
42 | 39 | |
43 | | -.mw-enhanced-rc.mw-made-collapsible .mw-rc-openarrow, |
44 | | -.mw-enhanced-rc .mw-rc-closearrow { |
45 | | - visibility: visible; |
46 | | - display: none; |
| 40 | +.mw-enhancedchanges-arrow { |
| 41 | + display: inline-block; |
| 42 | + *display: inline; /* IE7 and below */ |
| 43 | + zoom: 1; |
| 44 | + width: 15px; |
| 45 | + height: 15px; |
47 | 46 | } |
48 | | -.mw-enhanced-rc.mw-made-collapsible .mw-collapsible-toggle-collapsed .mw-rc-openarrow, |
49 | | -.mw-enhanced-rc.mw-made-collapsible .mw-collapsible-toggle-expanded .mw-rc-closearrow { |
50 | | - display: inline; |
| 47 | + |
| 48 | +.mw-enhancedchanges-arrow.mw-enhancedchanges-arrow-space { |
| 49 | + background: none; |
51 | 50 | } |
| 51 | + |
| 52 | +.mw-enhancedchanges-arrow.mw-collapsible-toggle-collapsed { |
| 53 | + /* @embed */ |
| 54 | + background: url(images/arrow-collapsed-ltr.png) no-repeat left center; |
| 55 | +} |
| 56 | + |
| 57 | +.mw-enhancedchanges-arrow.mw-collapsible-toggle-expanded { |
| 58 | + /* @embed */ |
| 59 | + background: url(images/arrow-expanded.png) no-repeat left center; |
| 60 | +} |