Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -747,3 +747,15 @@ |
748 | 748 | padding: 2px 4px; |
749 | 749 | } |
750 | 750 | |
| 751 | +table.mw-enhanced-rc { |
| 752 | + background: none; |
| 753 | + padding:0; |
| 754 | + border:0; |
| 755 | + border-spacing:0; |
| 756 | +} |
| 757 | +td.mw-enhanced-rc { |
| 758 | + white-space:nowrap; |
| 759 | + vertical-align:top; |
| 760 | + font-family:monospace |
| 761 | +} |
| 762 | + |
Index: trunk/phase3/includes/ChangesList.php |
— | — | @@ -776,7 +776,7 @@ |
777 | 777 | |
778 | 778 | wfProfileIn( __METHOD__ ); |
779 | 779 | |
780 | | - $r = '<table cellpadding="0" cellspacing="0" border="0" style="background: none"><tr>'; |
| 780 | + $r = '<table class="mw-enhanced-rc"><tr>'; |
781 | 781 | |
782 | 782 | # Collate list of users |
783 | 783 | $userlinks = array(); |
— | — | @@ -846,13 +846,13 @@ |
847 | 847 | |
848 | 848 | $tl = "<span id='mw-rc-openarrow-$jsid' class='mw-changeslist-expanded' style='visibility:hidden'><a href='#' $toggleLink title='$expandTitle'>" . $this->sideArrow() . "</a></span>"; |
849 | 849 | $tl .= "<span id='mw-rc-closearrow-$jsid' class='mw-changeslist-hidden' style='display:none'><a href='#' $toggleLink title='$closeTitle'>" . $this->downArrow() . "</a></span>"; |
850 | | - $r .= '<td valign="top" style="white-space: nowrap"><tt>'.$tl.' '; |
| 850 | + $r .= '<td class="mw-enhanced-rc">'.$tl.' '; |
851 | 851 | |
852 | 852 | # Main line |
853 | 853 | $r .= $this->recentChangesFlags( $isnew, false, $unpatrolled, ' ', $bot ); |
854 | 854 | |
855 | 855 | # Timestamp |
856 | | - $r .= ' '.$block[0]->timestamp.' </tt></td><td>'; |
| 856 | + $r .= ' '.$block[0]->timestamp.' </td><td>'; |
857 | 857 | |
858 | 858 | # Article link |
859 | 859 | if( $namehidden ) { |
— | — | @@ -944,7 +944,7 @@ |
945 | 945 | |
946 | 946 | # Sub-entries |
947 | 947 | $r .= '<div id="mw-rc-subentries-'.$jsid.'" class="mw-changeslist-hidden">'; |
948 | | - $r .= '<table cellpadding="0" cellspacing="0" border="0" style="background: none">'; |
| 948 | + $r .= '<table class="mw-enhanced-rc">'; |
949 | 949 | foreach( $block as $rcObj ) { |
950 | 950 | # Extract fields from DB into the function scope (rc_xxxx variables) |
951 | 951 | // FIXME: Would be good to replace this extract() call with something |
— | — | @@ -954,10 +954,10 @@ |
955 | 955 | extract( $rcObj->mAttribs ); |
956 | 956 | |
957 | 957 | #$r .= '<tr><td valign="top">'.$this->spacerArrow(); |
958 | | - $r .= '<tr><td valign="top">'; |
959 | | - $r .= '<tt>'.$this->spacerIndent() . $this->spacerIndent(); |
| 958 | + $r .= '<tr><td style="vertical-align:top;font-family:monospace">'; |
| 959 | + $r .= $this->spacerIndent() . $this->spacerIndent(); |
960 | 960 | $r .= $this->recentChangesFlags( $rc_new, $rc_minor, $rcObj->unpatrolled, ' ', $rc_bot ); |
961 | | - $r .= ' </tt></td><td valign="top">'; |
| 961 | + $r .= ' </td><td style="vertical-align:top"><span style="font-family:monospace">'; |
962 | 962 | |
963 | 963 | $params = $queryParams; |
964 | 964 | |
— | — | @@ -967,27 +967,26 @@ |
968 | 968 | |
969 | 969 | # Log timestamp |
970 | 970 | if( $rc_type == RC_LOG ) { |
971 | | - $link = '<tt>'.$rcObj->timestamp.'</tt> '; |
| 971 | + $link = $rcObj->timestamp; |
972 | 972 | # Revision link |
973 | 973 | } else if( !ChangesList::userCan($rcObj,Revision::DELETED_TEXT) ) { |
974 | | - $link = '<span class="history-deleted"><tt>'.$rcObj->timestamp.'</tt></span> '; |
| 974 | + $link = '<span class="history-deleted">'.$rcObj->timestamp.'</span> '; |
975 | 975 | } else { |
976 | 976 | if ( $rcObj->unpatrolled && $rc_type == RC_NEW) { |
977 | 977 | $params['rcid'] = $rcObj->mAttribs['rc_id']; |
978 | 978 | } |
979 | 979 | |
980 | | - $link = '<tt>' . |
981 | | - $this->skin->link( |
| 980 | + $link = $this->skin->link( |
982 | 981 | $rcObj->getTitle(), |
983 | 982 | $rcObj->timestamp, |
984 | 983 | array(), |
985 | 984 | $params, |
986 | 985 | array( 'known', 'noclasses' ) |
987 | | - ) . '</tt>'; |
| 986 | + ); |
988 | 987 | if( $this->isDeleted($rcObj,Revision::DELETED_TEXT) ) |
989 | 988 | $link = '<span class="history-deleted">'.$link.'</span> '; |
990 | 989 | } |
991 | | - $r .= $link; |
| 990 | + $r .= $link . '</span>'; |
992 | 991 | |
993 | 992 | if ( !$rc_type == RC_LOG || $rc_type == RC_NEW ) { |
994 | 993 | $r .= ' ('; |
— | — | @@ -1092,15 +1091,15 @@ |
1093 | 1092 | extract( $rcObj->mAttribs ); |
1094 | 1093 | $query['curid'] = $rc_cur_id; |
1095 | 1094 | |
1096 | | - $r = '<table cellspacing="0" cellpadding="0" border="0" style="background: none"><tr>'; |
1097 | | - $r .= '<td valign="top" style="white-space: nowrap"><tt>' . $this->spacerArrow() . ' '; |
| 1095 | + $r = '<table class="mw-enhanced-rc"><tr>'; |
| 1096 | + $r .= '<td class="mw-enhanced-rc">' . $this->spacerArrow() . ' '; |
1098 | 1097 | # Flag and Timestamp |
1099 | 1098 | if( $rc_type == RC_MOVE || $rc_type == RC_MOVE_OVER_REDIRECT ) { |
1100 | 1099 | $r .= ' '; // 4 flags -> 4 spaces |
1101 | 1100 | } else { |
1102 | 1101 | $r .= $this->recentChangesFlags( $rc_type == RC_NEW, $rc_minor, $rcObj->unpatrolled, ' ', $rc_bot ); |
1103 | 1102 | } |
1104 | | - $r .= ' '.$rcObj->timestamp.' </tt></td><td>'; |
| 1103 | + $r .= ' '.$rcObj->timestamp.' </td><td>'; |
1105 | 1104 | # Article or log link |
1106 | 1105 | if( $rc_log_type ) { |
1107 | 1106 | $logtitle = Title::newFromText( "Log/$rc_log_type", NS_SPECIAL ); |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1580,7 +1580,7 @@ |
1581 | 1581 | * to ensure that client-side caches do not keep obsolete copies of global |
1582 | 1582 | * styles. |
1583 | 1583 | */ |
1584 | | -$wgStyleVersion = '238'; |
| 1584 | +$wgStyleVersion = '239'; |
1585 | 1585 | |
1586 | 1586 | |
1587 | 1587 | # Server-side caching: |