r26258 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26257‎ | r26258 | r26259 >
Date:19:17, 30 September 2007
Author:david
Status:old
Tags:
Comment:
Messages posted from Special:Newmessages have the correct article.
Modified paths:
  • /branches/liquidthreads/extensions/LqtPages.php (modified) (history)

Diff [purge]

Index: branches/liquidthreads/extensions/LqtPages.php
@@ -977,6 +977,10 @@
978978 }
979979
980980 foreach($this->threads as $t) {
 981+ // It turns out that with lqtviews composed of threads from various talkpages,
 982+ // each thread is going to have a different article... this is pretty ugly.
 983+ $this->article = $t->article();
 984+
981985 if( $this->request->wasPosted() && $this->methodAppliesToThread('mark_as_read', $t) ) {
982986 NewMessages::markThreadAsReadByUser($t, $this->user);
983987 $this->showUndo($t);

Status & tagging log