r30616 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r30615‎ | r30616 | r30617 >
Date:14:07, 6 February 2008
Author:grondin
Status:old
Tags:
Comment:
Add internationalization extension description message in [[Special:Version]]
Modified paths:
  • /trunk/extensions/Eval/SpecialEval.i18n.php (modified) (history)
  • /trunk/extensions/Eval/SpecialEval.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Eval/SpecialEval.i18n.php
@@ -9,6 +9,7 @@
1010
1111 $messages['en'] = array(
1212 'eval' => 'Eval',
 13+ 'eval-desc' => 'Adds [[Special:Eval|an interface]] to the <code>eval()</code> function',
1314 'eval_submit' => 'Evaluate',
1415 'eval_escape' => 'Escape output',
1516 'eval_out' => 'Output',
@@ -35,6 +36,7 @@
3637 */
3738 $messages['fr'] = array(
3839 'eval' => 'Évaluer',
 40+ 'eval-desc' => 'Ajoute [[Special:Eval|une interface]] à la fonction <code>eval()</code>.',
3941 'eval_submit' => 'Évaluer',
4042 'eval_escape' => 'Arrêter la sortie',
4143 'eval_out' => 'Sortie',
Index: trunk/extensions/Eval/SpecialEval.php
@@ -13,9 +13,11 @@
1414
1515 $wgExtensionFunctions[] = 'wfSpecialEval';
1616 $wgExtensionCredits['specialpage'][] = array(
17 - 'name' => 'Eval',
18 - 'author' => 'Ævar Arnfjörð Bjarmason',
19 - 'description' => 'adds [[Special:Eval|an interface]] to the <code>eval()</code> function',
 17+ 'name' => 'Eval',
 18+ 'author' => 'Ævar Arnfjörð Bjarmason',
 19+ 'description' => 'adds [[Special:Eval|an interface]] to the <code>eval()</code> function',
 20+ 'descriptionmsg' => 'eval-desc',
 21+ 'url' => 'http://www.mediawiki.org/wiki/Extension:Eval',
2022 );
2123
2224 $dir = dirname(__FILE__) . '/';

Status & tagging log