r74164 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74163‎ | r74164 | r74165 >
Date:22:16, 2 October 2010
Author:purodha
Status:ok
Tags:
Comment:
SpecialTalk i18n file added, documentation link added, cosmetic changes.
Modified paths:
  • /trunk/extensions/SpecialTalk/SpecialTalk.i18n.php (added) (history)
  • /trunk/extensions/SpecialTalk/SpecialTalk.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

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
127 + native
Index: trunk/extensions/SpecialTalk/SpecialTalk.php
@@ -15,11 +15,19 @@
1616 $wgExtensionFunctions[] = 'wfSpecialTalk';
1717 $wgExtensionCredits['other'][] = array(
1818 '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',
2023 'description' => 'Adds a talk tab to Special Pages',
2124 'author' => 'Ævar Arnfjörð Bjarmason'
2225 );
2326
 27+$dir = dirname( __FILE__ ) . '/';
 28+
 29+// Extension messages.
 30+$wgExtensionMessagesFiles['SpecialTalk'] = $dir . 'SpecialTalk.i18n.php';
 31+
2432 function wfSpecialTalk() {
2533 wfUsePHP( 5.1 );
2634 wfUseMW( '1.6alpha' );
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -1155,6 +1155,8 @@
11561156 Sphinx Search
11571157 aliasfile = SphinxSearch/SphinxSearch.alias.php
11581158
 1159+SpecialTalk
 1160+
11591161 Stale Pages
11601162 aliasfile = StalePages/StalePages.alias.php
11611163

Follow-up revisions

RevisionCommit summaryAuthorDate
r74169Follow-up r74164: fix label.siebrand22:26, 2 October 2010
r74178Cleanup stray . on ext version in r74164brion23:26, 2 October 2010

Status & tagging log