Index: branches/liquidthreads/extensions/LqtPages.php |
— | — | @@ -977,6 +977,10 @@ |
978 | 978 | } |
979 | 979 | |
980 | 980 | 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 | + |
981 | 985 | if( $this->request->wasPosted() && $this->methodAppliesToThread('mark_as_read', $t) ) { |
982 | 986 | NewMessages::markThreadAsReadByUser($t, $this->user); |
983 | 987 | $this->showUndo($t); |