r81019 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81018‎ | r81019 | r81020 >
Date:11:21, 26 January 2011
Author:raymond
Status:ok
Tags:
Comment:
Add description message
Add extension to Translatewiki
Modified paths:
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)
  • /trunk/extensions/TrustedMath/TrustedMath.i18n.php (modified) (history)
  • /trunk/extensions/TrustedMath/TrustedMath.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TrustedMath/TrustedMath.i18n.php
@@ -1,10 +1,20 @@
22 <?php
 3+/**
 4+ * Internationalisation file for extension TrustedMath.
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ */
39
410 $messages = array();
511
 12+/** English
 13+ * @author Bryan Tong Minh
 14+ */
615 $messages['en'] = array(
 16+ 'trustedmath-desc' => 'Allows embedding LaTeX equations on pages, similarly to the built-in math renderer, but without dependency on Ocaml',
717 'trustedmath-permission-error' => 'Untrusted math is disabled on this wiki',
818 'trustedmath-path-error' => 'Error creating the math directory',
919 'trustedmath-convert-error' => 'Error creating math image. "$1" returned <tt><nowiki>$2</nowiki></tt>.',
1020 'trustedmath-not-found' => 'Page [[:$1]] does not exist',
11 -);
\ No newline at end of file
 21+);
Index: trunk/extensions/TrustedMath/TrustedMath.php
@@ -32,6 +32,7 @@
3333 'name' => 'TrustedMath',
3434 'url' => 'http://www.mediawiki.org/wiki/Extension:TrustedMath',
3535 'author' => 'Bryan Tong Minh',
 36+ 'descriptionmsg' => 'trustedmath-desc',
3637 );
3738
3839 $dir = dirname( __FILE__ );
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -1345,6 +1345,8 @@
13461346 Transliterator
13471347 magicfile = Transliterator/Transliterator.i18n.magic.php
13481348
 1349+Trusted Math
 1350+
13491351 Trusted XFF
13501352
13511353 TSPoll

Status & tagging log