r43333 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43332‎ | r43333 | r43334 >
Date:21:26, 9 November 2008
Author:raymond
Status:old
Tags:
Comment:
self revert r43332 due to a PHP Strict Standards error
Modified paths:
  • /trunk/phase3/includes/ChangesList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ChangesList.php
@@ -186,8 +186,11 @@
187187 } else {
188188 $articlelink = ' '. $this->skin->makeKnownLinkObj( $rc->getTitle(), '', $params );
189189 }
190 - $articlelink = EnhancedChangesList::maybeWatchedLink( $articlelink, $watched );
191 -
 190+ if( $watched ) {
 191+ $articlelink = "<strong class=\"mw-watched\">{$articlelink}</strong>";
 192+ } else {
 193+ $articlelink = '<span class="mw-rc-unwatched">' . $articlelink . '</span>';
 194+ }
192195 global $wgContLang;
193196 $articlelink .= $wgContLang->getDirMark();
194197

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r43332Use existing functionraymond21:16, 9 November 2008

Status & tagging log