r47688 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47687‎ | r47688 | r47689 >
Date:22:05, 22 February 2009
Author:minuteelectron
Status:deferred
Tags:
Comment:
* Babel: Gender support for message 'babel'.
Modified paths:
  • /trunk/extensions/Babel/Babel.class.php (modified) (history)
  • /trunk/extensions/Babel/Babel.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Babel/Babel.class.php
@@ -136,10 +136,11 @@
137137
138138 // Miscellaneous messages.
139139 $this->_url = wfMsgForContent( 'babel-url' );
140 - $this->_top = wfMsgForContent( 'babel' );
141140 $this->_footer = wfMsgForContent( 'babel-footer' );
142141 $this->_directionality = wfMsgForContent( 'babel-directionality' );
143142 $this->_cellspacing = wfMsgForContent( 'babel-box-cellspacing' );
 143+ global $wgTitle;
 144+ $this->_top = wfMsgExt( 'babel', array( 'parsemag', 'content' ), $wgTitle->getDBkey() );
144145
145146 }
146147
Index: trunk/extensions/Babel/Babel.php
@@ -21,7 +21,7 @@
2222 // Register extension credits.
2323 $wgExtensionCredits[ 'parserhook' ][] = array(
2424 'name' => 'Babel',
25 - 'version' => '1.2.0',
 25+ 'version' => '1.2.1',
2626 'author' => 'Robert Leverington',
2727 'url' => 'http://www.mediawiki.org/wiki/Extension:Babel',
2828 'description' => 'Adds a parser function to allow automated generation of a babel userbox column with the ability to include custom templates.',

Status & tagging log