r25327 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25326‎ | r25327 | r25328 >
Date:21:31, 30 August 2007
Author:david
Status:old
Tags:
Comment:
show talk page in RC
Modified paths:
  • /branches/liquidthreads/includes/ChangesList.php (modified) (history)

Diff [purge]

Index: branches/liquidthreads/includes/ChangesList.php
@@ -176,6 +176,13 @@
177177 global $wgContLang;
178178 $articlelink .= $wgContLang->getDirMark();
179179
 180+ // LQT HACK.
 181+ $thread = Threads::withRoot(new Post( $rc->getTitle() ));
 182+ if ($thread) {
 183+ $articlelink .= ' (from ' . $this->skin->makeKnownLinkObj(
 184+ $thread->article()->getTitle()->getTalkPage() ) . ')';
 185+ }
 186+
180187 $s .= ' '.$articlelink;
181188 }
182189

Status & tagging log