r60326 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60325‎ | r60326 | r60327 >
Date:16:46, 23 December 2009
Author:ialex
Status:deferred
Tags:
Comment:
Trying to fix the error reported at http://www.mediawiki.org/wiki/Special:Code/MediaWiki/60205#c4875 : PHP Fatal error: Call to a member function getCleanSignatures() on a non-object in includes/parser/Parser.php on line 4086
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/View.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/View.php
@@ -1713,6 +1713,8 @@
17141714 $user = User::newFromId( $uid );
17151715 }
17161716
 1717+ $wgParser->mOptions = new ParserOptions;
 1718+
17171719 $sig = $wgParser->getUserSig( $user );
17181720
17191721 return $sig;

Follow-up revisions

RevisionCommit summaryAuthorDate
r60333Follow-up r60326: call $wgParser->Options() to set the ParserOptions object s...ialex19:00, 23 December 2009

Status & tagging log