r97646 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97645‎ | r97646 | r97647 >
Date:17:54, 20 September 2011
Author:maxsem
Status:ok (Comments)
Tags:
Comment:
Syntax help for void blocks and comments
Modified paths:
  • /trunk/extensions/wikihiero/SpecialHieroglyphs.php (modified) (history)
  • /trunk/extensions/wikihiero/wikihiero.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/wikihiero/SpecialHieroglyphs.php
@@ -28,6 +28,9 @@
2929 array( 'code' => ':', 'message' => 'wikihiero-juxtaposition', 'example' => 'p*t' ),
3030 array( 'code' => '!', 'message' => 'wikihiero-eol', 'example' => 'A1-B1 ! C1-D1' ),
3131 array( 'code' => '\\', 'message' => 'wikihiero-mirror', 'example' => 'A1\-A1' ),
 32+ array( 'code' => '..', 'message' => 'wikihiero-void', 'example' => 'A1 .. B1' ),
 33+ array( 'code' => '..', 'message' => 'wikihiero-half-void', 'example' => 'A1 . B1' ),
 34+ array( 'code' => '<!-- -->', 'message' => 'wikihiero-comment', 'example' => 'A<!-- B1 -->1' ),
3235 );
3336 private $helpColumns = array(
3437 'code',
Index: trunk/extensions/wikihiero/wikihiero.i18n.php
@@ -25,6 +25,9 @@
2626 'wikihiero-superposition' => 'Subdivision',
2727 'wikihiero-juxtaposition' => 'Juxtaposition',
2828 'wikihiero-mirror' => 'Mirror a hieroglyph',
 29+ 'wikihiero-void' => 'Full-width void block',
 30+ 'wikihiero-half-void' => 'Half-width void block',
 31+ 'wikihiero-comment' => 'Comment',
2932 'wikihiero-load-error' => 'Load error!',
3033 'wikihiero-category-A' => 'A: Man and his occupations',
3134 'wikihiero-category-B' => 'B: Woman and her occupations',

Comments

#Comment by Siebrand (talk | contribs)   12:33, 21 September 2011

Please add I18n#Message_documenation for the newly added messages. Thanks.

Status & tagging log