Index: trunk/extensions/ParserWiki/ParserWiki.i18n.php |
— | — | @@ -0,0 +1,13 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation file for extension ParserWiki. |
| 5 | + * |
| 6 | + * @addtogroup Extensions |
| 7 | +*/ |
| 8 | + |
| 9 | +$messages = array(); |
| 10 | + |
| 11 | +$messages['en'] = array( |
| 12 | + 'parserwiki-desc' => ' Allows to define a grammar in a wiki then use that grammar to input information to the same wiki', |
| 13 | +); |
| 14 | + |
Property changes on: trunk/extensions/ParserWiki/ParserWiki.i18n.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 15 | + native |
Index: trunk/extensions/ParserWiki/ParserWiki.php |
— | — | @@ -18,9 +18,10 @@ |
19 | 19 | "version" => "1.0", |
20 | 20 | "descriptionmsg" => "parserwiki-desc", |
21 | 21 | ); |
| 22 | +$dir = dirname( __FILE__ ) . '/'; |
| 23 | +$wgAutoloadClasses['ParseEngine'] = $dir . "ParseEngine.php"; |
| 24 | +$wgExtensionMessagesFiles['ParserWiki'] = $dir . 'ParserWiki.i18n.php'; |
22 | 25 | |
23 | | -$wgAutoloadClasses["ParseEngine"] = dirname( __FILE__ ) . "/ParseEngine.php"; |
24 | | - |
25 | 26 | $wgTheParserWiki = new ParserWiki(); |
26 | 27 | $wgHooks["ParserBeforeStrip"][] = array( $wgTheParserWiki, "callFromParse" ); |
27 | 28 | |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -761,6 +761,8 @@ |
762 | 762 | descmsg = pfunc_desc |
763 | 763 | magicfile = ParserFunctions/ParserFunctions.i18n.magic.php |
764 | 764 | |
| 765 | +Parser Wiki |
| 766 | + |
765 | 767 | Patroller |
766 | 768 | aliasfile = Patroller/Patroller.alias.php |
767 | 769 | descmsg = patrol-desc |