r69283 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69282‎ | r69283 | r69284 >
Date:07:51, 12 July 2010
Author:thomasv
Status:ok
Tags:
Comment:
don't call mOutput directly ; follow up to r68394
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage.php
@@ -749,7 +749,7 @@
750750 return '<strong class="error">' . wfMsgForContent( 'proofreadpage_nosuch_index' ) . '</strong>';
751751 }
752752
753 - $parser->mOutput->addTemplate( $index_title, $index_title->getArticleID(), $index_title->getLatestRevID() );
 753+ $parser->getOutput()->addTemplate( $index_title, $index_title->getArticleID(), $index_title->getLatestRevID() );
754754
755755 $out = '';
756756

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68394add index page to the list of templates (see bug 21136)thomasv08:55, 22 June 2010

Status & tagging log