r39973 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39972‎ | r39973 | r39974 >
Date:21:17, 25 August 2008
Author:raymond
Status:old
Tags:
Comment:
Add extension credits and i18n file
Modified paths:
  • /trunk/extensions/Translate/groups/MediaWikiExtensions.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)
  • /trunk/extensions/TrustedXFF/TrustedXFF.i18n.php (added) (history)
  • /trunk/extensions/TrustedXFF/TrustedXFF.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TrustedXFF/TrustedXFF.i18n.php
@@ -0,0 +1,12 @@
 2+<?php
 3+/**
 4+ * Internationalisation file for TrustedXFF extension.
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$messages = array();
 10+
 11+$messages['en'] = array(
 12+ 'trustedxff-desc' => 'Handling of a list of trusted proxy addresses ([http://meta.wikimedia.org/wiki/XFF_project XFF project])',
 13+);
Property changes on: trunk/extensions/TrustedXFF/TrustedXFF.i18n.php
___________________________________________________________________
Added: svn:eol-style
114 + native
Index: trunk/extensions/TrustedXFF/TrustedXFF.php
@@ -10,6 +10,16 @@
1111 *
1212 * For details, see http://meta.wikimedia.org/wiki/XFF_project
1313 */
 14+
 15+$wgExtensionCredits['other'][] = array(
 16+ 'name' => 'TrustedXFF',
 17+ 'svn-date' => '$LastChangedDate$',
 18+ 'svn-revision' => '$LastChangedRevision$',
 19+ 'description' => 'Handling of trusted proxy addresses (XFF)',
 20+ 'descriptionmsg' => 'trustedxff-desc',
 21+ 'author' => 'Tim Starling'
 22+);
 23+$wgExtensionMessagesFiles['TrustedXFF'] = dirname(__FILE__) . '/TrustedXFF.i18n.php';
1424 $wgTrustedXffFile = dirname(__FILE__).'/trusted-xff.cdb';
1525
1626 /** Hook registration */
Property changes on: trunk/extensions/TrustedXFF/TrustedXFF.php
___________________________________________________________________
Added: svn:keywords
1727 + LastChangedDate LastChangedRevision
Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php
@@ -362,6 +362,7 @@
363363 'ext-quiz',
364364 'ext-scanset',
365365 'ext-skinperpage',
 366+ 'ext-trustedxff',
366367 'ext-antibot', // anti spam and such (usually all wikis)
367368 'ext-antispoof',
368369 'ext-spamblacklist',
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -643,6 +643,9 @@
644644 Translate
645645 optional = translate-page-paging-links
646646
 647+Trusted XFF
 648+file = TrustedXFF/TrustedXFF.i18n.php
 649+
647650 Universal Edit Button
648651
649652 Usage Statistics

Status & tagging log