r96227 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96226‎ | r96227 | r96228 >
Date:14:19, 4 September 2011
Author:werdna
Status:ok
Tags:
Comment:
Specify no oldid
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/ParserFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/ParserFunctions.php
@@ -36,8 +36,8 @@
3737 $title = $parser->getTitle();
3838 }
3939
40 - $talkpage = new Article( $title );
41 - $article = new Article( $parser->getTitle() );
 40+ $talkpage = new Article( $title, 0 );
 41+ $article = new Article( $parser->getTitle(), 0 );
4242
4343 $data = array(
4444 'type' => 'talkpage',
@@ -69,7 +69,7 @@
7070 if ( is_numeric( $args['thread'] ) ) {
7171 $thread = Threads::withId( $args['thread'] );
7272 } elseif ( $title ) {
73 - $article = new Article( $title );
 73+ $article = new Article( $title, 0 );
7474 $thread = Threads::withRoot( $article );
7575 }
7676 }
@@ -135,7 +135,7 @@
136136 $oldOut = $wgOut->getHTML();
137137 $wgOut->clearHTML();
138138
139 - $root = new Article( $title );
 139+ $root = new Article( $title, 0 );
140140 $thread = Threads::withRoot( $root );
141141
142142 $view = new LqtView( $wgOut, $article, $title, $wgUser, $wgRequest );

Follow-up revisions

RevisionCommit summaryAuthorDate
r965121.18: MFT r95655, r96227, r96386, r96393, r96405, r96427, r96460, r96472. And...catrope22:18, 7 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84007Fix bug 27887, caused by r82686: inject session data into FauxRequest s used ...werdna11:38, 15 March 2011

Status & tagging log