Bug 33892 - Move math description into i18n file

This commit is contained in:
Sam Reed 2012-01-22 23:00:21 +00:00
parent d5933b1d6f
commit 0cf3f13dba
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,7 @@ $messages = array();
/** English */
$messages['en'] = array(
'math-desc' => 'Render mathematical formulas between <code>&lt;math&gt;</code> ... <code>&lt;/math&gt;</code> tags',
// Edit toolbar stuff shown on ?action=edit (example text & tooltip)
'math_sample' => 'Insert formula here',
'math_tip' => 'Mathematical formula (LaTeX)',
@ -39,6 +40,7 @@ $messages['en'] = array(
* @author Siebrand
*/
$messages['qqq'] = array(
'math-desc' => '{{desc}}',
'math_sample' => 'The sample formula text that you get when you press the fourth button from the right on the edit toolbar.',
'math_tip' => 'This is the text that appears when you hover the mouse over the fourth button from the right on the edit toolbar.',
'prefs-math' => 'Used in user preferences.',

View File

@ -23,7 +23,7 @@ $wgExtensionCredits['parserhook'][] = array(
'name' => 'Math',
'version' => '1.0',
'author' => array( 'Tomasz Wegrzanowski', 'Brion Vibber', '...' ),
'description' => 'Render mathematical formulas between <code>&lt;math&gt;</code> ... <code>&lt;/math&gt;</code> tags',
'descriptionmsg' => 'math-desc',
'url' => 'https://www.mediawiki.org/wiki/Extension:Math',
);