r77342 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77341‎ | r77342 | r77343 >
Date:19:38, 26 November 2010
Author:aaron
Status:deferred
Tags:
Comment:
Fix r76835: only the "view contents" link should have plainlinks, not the preview (bug 26129)
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticleView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php
@@ -1812,10 +1812,10 @@
18131813 public function addCustomContentHtml( OutputPage $out ) {
18141814 $this->load();
18151815 if ( $out->getRevisionId() ) {
1816 - $out->addHTML( "<div id='mw-fr-revisioncontents' class='plainlinks'>" );
 1816+ $out->addHTML( "<div id='mw-fr-revisioncontents'><span class='plainlinks'>" );
18171817 $out->addWikiMsg( 'revcontents-getcontents',
18181818 $this->article->getTitle()->getPrefixedDBKey(), $out->getRevisionId() );
1819 - $out->addHTML( "</div>" );
 1819+ $out->addHTML( "</span></div>" );
18201820 }
18211821 }
18221822 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76835Changed the revcontents-getcontents message as per feedback from r76353. Adde...pdhanda20:51, 16 November 2010

Status & tagging log