Index: trunk/extensions/SpecialTalk/SpecialTalk.i18n.php |
— | — | @@ -0,0 +1,25 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +/** |
| 5 | + * Internationalisation file for the SpecialTalk extension. |
| 6 | + * |
| 7 | + * @addtogroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$messages = array(); |
| 11 | + |
| 12 | +/** English |
| 13 | + * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> |
| 14 | + * @author Purodha <http://ksh.wikipedia.org/wiki/User:Purodha> |
| 15 | + */ |
| 16 | +$messages['en'] = array( |
| 17 | + 'specialtalk-desc' => 'Adds a talk tab to [[Special:Specialpages|special pages]]', |
| 18 | +); |
| 19 | + |
| 20 | +/** Message documentation (Message documentation) |
| 21 | + * @author Purodha |
| 22 | + */ |
| 23 | +$messages['qqq'] = array( |
| 24 | + 'specialtalk-desc' => '{{desc}}', |
| 25 | +); |
| 26 | + |
Property changes on: trunk/extensions/SpecialTalk/SpecialTalk.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 27 | + native |
Index: trunk/extensions/SpecialTalk/SpecialTalk.php |
— | — | @@ -15,11 +15,19 @@ |
16 | 16 | $wgExtensionFunctions[] = 'wfSpecialTalk'; |
17 | 17 | $wgExtensionCredits['other'][] = array( |
18 | 18 | 'path' => __FILE__, |
19 | | - 'name' => 'Special talk', |
| 19 | + 'name' => 'SpecialTalk', |
| 20 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:SpecialTalk', |
| 21 | + 'version' => '1.0.', |
| 22 | + 'descriptionmsg' => 'specialtalk-desc', |
20 | 23 | 'description' => 'Adds a talk tab to Special Pages', |
21 | 24 | 'author' => 'Ævar Arnfjörð Bjarmason' |
22 | 25 | ); |
23 | 26 | |
| 27 | +$dir = dirname( __FILE__ ) . '/'; |
| 28 | + |
| 29 | +// Extension messages. |
| 30 | +$wgExtensionMessagesFiles['SpecialTalk'] = $dir . 'SpecialTalk.i18n.php'; |
| 31 | + |
24 | 32 | function wfSpecialTalk() { |
25 | 33 | wfUsePHP( 5.1 ); |
26 | 34 | wfUseMW( '1.6alpha' ); |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -1155,6 +1155,8 @@ |
1156 | 1156 | Sphinx Search |
1157 | 1157 | aliasfile = SphinxSearch/SphinxSearch.alias.php |
1158 | 1158 | |
| 1159 | +SpecialTalk |
| 1160 | + |
1159 | 1161 | Stale Pages |
1160 | 1162 | aliasfile = StalePages/StalePages.alias.php |
1161 | 1163 | |