r76632 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76631‎ | r76632 | r76633 >
Date:17:20, 13 November 2010
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r76452: Add i18n file
Add extension to translatewiki
Modified paths:
  • /trunk/extensions/ProxyConnect/ProxyConnect.i18n.php (added) (history)
  • /trunk/extensions/ProxyConnect/ProxyConnect.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/ProxyConnect/ProxyConnect.i18n.php
@@ -0,0 +1,14 @@
 2+<?php
 3+/**
 4+ * Internationalisation file for extension ProxyConnect.
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ */
 9+
 10+$messages = array();
 11+
 12+$messages['en'] = array(
 13+ 'proxyconnect-desc' => 'Implements the server side functionality of Proxy Connect',
 14+);
 15+
Property changes on: trunk/extensions/ProxyConnect/ProxyConnect.i18n.php
___________________________________________________________________
Added: svn:eol-style
116 + native
Index: trunk/extensions/ProxyConnect/ProxyConnect.php
@@ -16,13 +16,18 @@
1717
1818 // Extension credits that will show up on Special:Version
1919 $wgExtensionCredits['special'][] = array(
 20+ 'path' => __FILE__,
2021 'name' => 'ProxyConnect',
21 - 'version' => '1.0',
 22+ 'version' => '1.0.1',
2223 'author' => 'Travis Derouin',
23 - 'description' => 'Implements the server side functionality of Proxy Connect',
2424 'url' => 'http://www.mediawiki.org/wiki/Extension:ProxyConnect',
 25+ 'descriptionmsg' => 'proxyconnect-desc',
2526 );
2627
2728 // Set up the new special page
2829 $wgSpecialPages['ProxyConnect'] = 'ProxyConnect';
29 -$wgAutoloadClasses['ProxyConnect'] = dirname( __FILE__ ) . '/ProxyConnect.body.php';
 30+
 31+$dir = dirname( __FILE__ );
 32+$wgAutoloadClasses['ProxyConnect'] = $dir. '/ProxyConnect.body.php';
 33+$wgExtensionMessagesFiles['ProxyConnect'] = $dir . '/ProxyConnect.i18n.php';
 34+
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -909,6 +909,8 @@
910910 Protect Section
911911 descmsg = protectsection_desc
912912
 913+Proxy Connect
 914+
913915 PSI NoTocNum
914916 magicfile = PSINoTocNum/PSINoTocNum.i18n.magic.php
915917

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76452changes to comments, different constrctortravis15:39, 10 November 2010

Status & tagging log