r109775 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109774‎ | r109775 | r109776 >
Date:23:00, 22 January 2012
Author:reedy
Status:ok
Tags:
Comment:
Bug 33892 - Move math description into i18n file
Modified paths:
  • /trunk/extensions/Math/Math.i18n.php (modified) (history)
  • /trunk/extensions/Math/Math.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Math/Math.php
@@ -23,7 +23,7 @@
2424 'name' => 'Math',
2525 'version' => '1.0',
2626 'author' => array( 'Tomasz Wegrzanowski', 'Brion Vibber', '...' ),
27 - 'description' => 'Render mathematical formulas between <code>&lt;math&gt;</code> ... <code>&lt;/math&gt;</code> tags',
 27+ 'descriptionmsg' => 'math-desc',
2828 'url' => 'https://www.mediawiki.org/wiki/Extension:Math',
2929 );
3030
Index: trunk/extensions/Math/Math.i18n.php
@@ -10,6 +10,7 @@
1111
1212 /** English */
1313 $messages['en'] = array(
 14+ 'math-desc' => 'Render mathematical formulas between <code>&lt;math&gt;</code> ... <code>&lt;/math&gt;</code> tags',
1415 // Edit toolbar stuff shown on ?action=edit (example text & tooltip)
1516 'math_sample' => 'Insert formula here',
1617 'math_tip' => 'Mathematical formula (LaTeX)',
@@ -39,6 +40,7 @@
4041 * @author Siebrand
4142 */
4243 $messages['qqq'] = array(
 44+ 'math-desc' => '{{desc}}',
4345 'math_sample' => 'The sample formula text that you get when you press the fourth button from the right on the edit toolbar.',
4446 'math_tip' => 'This is the text that appears when you hover the mouse over the fourth button from the right on the edit toolbar.',
4547 'prefs-math' => 'Used in user preferences.',

Sign-offs

UserFlagDate
Nikerabbitinspected08:40, 23 January 2012

Status & tagging log