r56354 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56353‎ | r56354 | r56355 >
Date:10:13, 15 September 2009
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r56349: Add desc message to extension credits, add i18n file and add extension to translatewiki
Modified paths:
  • /trunk/extensions/Translate/groups/MediaWikiExtensions.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)
  • /trunk/extensions/UsabilityInitiative/UserDailyContribs/UserDailyContribs.i18n.php (added) (history)
  • /trunk/extensions/UsabilityInitiative/UserDailyContribs/UserDailyContribs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/UserDailyContribs/UserDailyContribs.i18n.php
@@ -0,0 +1,24 @@
 2+<?php
 3+/**
 4+ * Internationalisation for Usability Initiative User Daily Contribs extension
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ */
 9+
 10+$messages = array();
 11+
 12+/** English
 13+ * @author Nimish Gautam
 14+ */
 15+$messages['en'] = array(
 16+ 'userdailycontribs-desc' => 'User daily contributions for the click tracking extension',
 17+);
 18+
 19+/** Message documentation (Message documentation)
 20+ * @author Raimond Spekking
 21+ */
 22+$messages['qqq'] = array(
 23+ 'userdailycontribs-desc' => '{{desc}}',
 24+);
 25+
Property changes on: trunk/extensions/UsabilityInitiative/UserDailyContribs/UserDailyContribs.i18n.php
___________________________________________________________________
Name: svn:eol-style
126 + native
Index: trunk/extensions/UsabilityInitiative/UserDailyContribs/UserDailyContribs.php
@@ -1,6 +1,6 @@
22 <?php
33 /**
4 - * Usability Initiative User Daily Contribtions (for Click Tracking) extension
 4+ * Usability Initiative User Daily Contributions (for Click Tracking) extension
55 *
66 * @file
77 * @ingroup Extensions
@@ -24,11 +24,10 @@
2525 'name' => 'User Daily Contributions',
2626 'author' => 'Nimish Gautam',
2727 'version' => '0.1.1',
28 - 'url' => 'http://www.mediawiki.org/wiki/Extension:UsabilityInitiative'
 28+ 'url' => 'http://www.mediawiki.org/wiki/Extension:UsabilityInitiative',
 29+ 'descriptionmsg' => 'userdailycontribs-desc',
2930 );
3031
31 -
32 -
3332 // Includes parent extension
3433 require_once( dirname( dirname( __FILE__ ) ) . "/UsabilityInitiative.php" );
3534
@@ -36,6 +35,9 @@
3736 $dir = dirname( __FILE__ ) . '/';
3837 $wgAutoloadClasses['UserDailyContribsHooks'] = $dir . 'UserDailyContribs.hooks.php';
3938
 39+// Adds Internationalized Messages
 40+$wgExtensionMessagesFiles['UserDailyContribs'] = $dir . 'UserDailyContribs.i18n.php';
 41+
4042 // Hooked functions
4143 $wgHooks['LoadExtensionSchemaUpdates'][] = 'UserDailyContribsHooks::schema';
4244 $wgHooks['ArticleSaveComplete'][] = 'UserDailyContribsHooks::storeNewContrib';
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -1181,6 +1181,11 @@
11821182 file = UsabilityInitiative/SimpleSearch/SimpleSearch.i18n.php
11831183 descmsg = simplesearch-desc
11841184
 1185+Usability Initiative - User Daily Contribs
 1186+file = UsabilityInitiative/UserDailyContribs/UserDailyContribs.i18n.php
 1187+id = ext-ui-userdailycontribs
 1188+descmsg = userdailycontribs-desc
 1189+
11851190 Usage Statistics
11861191 file = UsageStatistics/SpecialUserStats.i18n.php
11871192 aliasfile = UsageStatistics/SpecialUserStats.alias.php
Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php
@@ -478,6 +478,7 @@
479479 'ext-ui-prefstats',
480480 'ext-ui-simplesearch',
481481 'ext-ui-usabilityinitiative',
 482+ 'ext-ui-userdailycontribs',
482483 'ext-uploadblacklist',
483484 'ext-wikihiero',
484485 'ext-wikimediamessages',
@@ -719,6 +720,7 @@
720721 'ext-ui-optinlink',
721722 'ext-ui-prefstats',
722723 'ext-ui-simplesearch',
 724+ 'ext-ui-userdailycontribs',
723725 );
724726
725727 protected function init() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56349Moved UserDailyContribs (table to measure user daily contributions) to its ow...nimishg23:47, 14 September 2009

Status & tagging log