r58968 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58967‎ | r58968 | r58969 >
Date:20:33, 12 November 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Replace unknown variable $renderpos by LqtView::viewThread's default for 2nd param (1)
Modified paths:
  • /trunk/extensions/LiquidThreads/api/ApiThreadAction.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/api/ApiThreadAction.php
@@ -511,7 +511,7 @@
512512 $title = $article->getTitle();
513513 $view = new LqtView( $wgOut, $article, $title, $wgUser, $wgRequest );
514514
515 - $view->showThread( $thread, $renderpos, $rendercount, $options );
 515+ $view->showThread( $thread, 1, $rendercount, $options );
516516
517517 $result = $wgOut->getHTML();
518518 $wgOut->clearHTML();

Status & tagging log