r76381 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76380‎ | r76381 | r76382 >
Date:07:22, 9 November 2010
Author:hashar
Status:ok
Tags:
Comment:
Shorter method to add a wiki message to the output

per CR on r76139
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeTagListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeTagListView.php
@@ -13,7 +13,7 @@
1414 $list = $this->mRepo->getTagList();
1515
1616 if( 0 === count( $list ) ) {
17 - $wgOut->addWikiText( wfMsg( 'code-tags-no-tags' ) );
 17+ $wgOut->addWikiMsg( 'code-tags-no-tags' );
1818 } else {
1919 # Show a cloud made of tags
2020 $tc = new WordCloud( $list, array( $this, 'linkCallback' ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76139Fix PHP warning in tag cloud when there is no tag...hashar20:47, 5 November 2010

Status & tagging log