These alternating background colors are imho not very attractive, and make the display busy and confusing, rather than easier to read.
Show/Hide logged in users, Show/Hide anonymous, Invert namespace selection
* Added hook 'UserrightsChangeableGroups' to allow modification of what
groups may be added or removed via the Special:UserRights interface.
-* (bug 14468) Lines in classic RecentChanges and Watchlist have alternating
- background colours based on classes "odd" and "even".
* (bug 14187) In Special:Userlogin the buttons "Log in" and "E-mail new
password" now have classes "mw-loginbutton" and "mw-mailmypasswordbutton".
* HTML entities like now work (are not escaped) in edit summaries.
/**
* Format a line using the old system (aka without any javascript).
*/
- public function recentChangesLine( &$rc, $watched = false, $linenumber = NULL ) {
+ public function recentChangesLine( &$rc, $watched = false ) {
global $wgContLang, $wgRCShowChangedSize, $wgUser;
$fname = 'ChangesList::recentChangesLineOld';
$this->insertDateHeader($s,$rc_timestamp);
- // use even/odd class only if linenumber is given (feature from bug 14468)
- if( $linenumber ) {
- if( $linenumber & 1 ) {
- $s .= '<li class="odd">';
- }
- else {
- $s .= '<li class="even">';
- }
- } else {
- $s .= '<li>';
- }
+ $s .= '<li>';
// Moved pages
if( $rc_type == RC_MOVE || $rc_type == RC_MOVE_OVER_REDIRECT ) {
* to ensure that client-side caches don't keep obsolete copies of global
* styles.
*/
-$wgStyleVersion = '166';
+$wgStyleVersion = '165';
# Server-side caching:
}
$rc->numberofWatchingusers = $watcherCache[$obj->rc_namespace][$obj->rc_title];
}
- $s .= $list->recentChangesLine( $rc, !empty( $obj->wl_user ), $counter );
+ $s .= $list->recentChangesLine( $rc, !empty( $obj->wl_user ) );
--$limit;
}
}
$rc->numberofWatchingusers = 0;
}
- $s .= $list->recentChangesLine( $rc, $updated, $counter );
+ $s .= $list->recentChangesLine( $rc, $updated );
}
$s .= $list->endRecentChangesList();
#shared-image-dup, #shared-image-conflict {
font-style: italic;
}
-
-/* Alternating background colours on Watchlist and RecentChanges */
-li.odd {
- background-color: #e8e8e8
-}