r58977 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58976‎ | r58977 | r58978 >
Date:22:12, 12 November 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Shut up more PHP notices for non-initialised variables.
All three parameters removed are optional: function showThread( $thread, $levelNum = 1, $totalInLevel = 1, $options = array() )
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, 1, $rendercount, $options );
 515+ $view->showThread( $thread );
516516
517517 $result = $wgOut->getHTML();
518518 $wgOut->clearHTML();

Status & tagging log