r110002 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110001‎ | r110002 | r110003 >
Date:10:52, 25 January 2012
Author:maxsem
Status:ok
Tags:
Comment:
Added language code as a parameter to page title message, can be useful for multilingual feeds on Commons
Modified paths:
  • /trunk/extensions/FeaturedFeeds/FeaturedFeeds.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FeaturedFeeds/FeaturedFeeds.body.php
@@ -224,7 +224,7 @@
225225 $this->title = $this->msg( $this->options['title'] )->text();
226226 $this->shortTitle = $this->msg( $this->options['short-title'] );
227227 $this->description = $this->msg( $this->options['description'] )->text();
228 - $pageMsg = $this->msg( $this->options['page'] );
 228+ $pageMsg = $this->msg( $this->options['page'] )->params( $this->language->getCode() );
229229 if ( $pageMsg->isDisabled() ) {
230230 return;
231231 }

Status & tagging log