r77089 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77088‎ | r77089 | r77090 >
Date:22:37, 21 November 2010
Author:aaron
Status:deferred
Tags:
Comment:
Follow-up r76925: cleanups per CR comments
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticleView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php
@@ -1818,12 +1818,12 @@
18191819 * This will be replaced with artice content using javascript and an api call.
18201820 */
18211821 public function addCustomHtml( OutputPage $out ) {
1822 - global $wgTitle;
18231822 $this->load();
18241823 if ( $out->getRevisionId() ) {
1825 - $oldRevisionLink = wfMsgExt( 'revcontents-getcontents', array( 'parseinline' ), $wgTitle, $out->getRevisionId() );
1826 - $out->addHTML( "<div id='mw-fr-revisioncontents' class='plainlinks'>" . $oldRevisionLink . "</div>" );
 1824+ $out->addHTML( "<div id='mw-fr-revisioncontents' class='plainlinks'>" );
 1825+ $out->addWikiMsg( 'revcontents-getcontents',
 1826+ $this->article->getTitle()->getPrefixedDBKey(), $out->getRevisionId() );
 1827+ $out->addHTML( "</div>" );
18271828 }
1828 -
18291829 }
18301830 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76925Fixed link in revcontents-getcontents from r76353. Fixed the same link to poi...pdhanda00:12, 18 November 2010

Status & tagging log