r51513 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51512‎ | r51513 | r51514 >
Date:17:38, 5 June 2009
Author:werdna
Status:deferred
Tags:
Comment:
Re-add links to TOC
Modified paths:
  • /trunk/extensions/LiquidThreads/pages/TalkpageView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/pages/TalkpageView.php
@@ -96,7 +96,9 @@
9797 $rows = array();
9898 foreach( $threads as $thread ) {
9999 $row = '';
 100+ $anchor = '#'.$this->anchorName( $thread );
100101 $subject = $this->output->parseInline( $thread->subjectWithoutIncrement() );
 102+ $subject = Xml::tags( 'a', array( 'href' => $anchor ), $subject );
101103 $row .= Xml::tags( 'td', null, $subject );
102104
103105 $author = $thread->root()->originalAuthor();

Status & tagging log