Index: trunk/extensions/Babel/Babel.class.php |
— | — | @@ -136,10 +136,11 @@ |
137 | 137 | |
138 | 138 | // Miscellaneous messages. |
139 | 139 | $this->_url = wfMsgForContent( 'babel-url' ); |
140 | | - $this->_top = wfMsgForContent( 'babel' ); |
141 | 140 | $this->_footer = wfMsgForContent( 'babel-footer' ); |
142 | 141 | $this->_directionality = wfMsgForContent( 'babel-directionality' ); |
143 | 142 | $this->_cellspacing = wfMsgForContent( 'babel-box-cellspacing' ); |
| 143 | + global $wgTitle; |
| 144 | + $this->_top = wfMsgExt( 'babel', array( 'parsemag', 'content' ), $wgTitle->getDBkey() ); |
144 | 145 | |
145 | 146 | } |
146 | 147 | |
Index: trunk/extensions/Babel/Babel.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | // Register extension credits. |
23 | 23 | $wgExtensionCredits[ 'parserhook' ][] = array( |
24 | 24 | 'name' => 'Babel', |
25 | | - 'version' => '1.2.0', |
| 25 | + 'version' => '1.2.1', |
26 | 26 | 'author' => 'Robert Leverington', |
27 | 27 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Babel', |
28 | 28 | 'description' => 'Adds a parser function to allow automated generation of a babel userbox column with the ability to include custom templates.', |