r70334 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70333‎ | r70334 | r70335 >
Date:14:15, 2 August 2010
Author:raymond
Status:ok (Comments)
Tags:
Comment:
Add i18n file
Add extension to translatewiki
Modified paths:
  • /trunk/extensions/SidebarDonateBox/SidebarDonateBox.i18n.php (added) (history)
  • /trunk/extensions/SidebarDonateBox/SidebarDonateBox.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/SidebarDonateBox/SidebarDonateBox.i18n.php
@@ -0,0 +1,14 @@
 2+<?php
 3+/**
 4+ * Internationalisation file for the SidebarDonateBox extension
 5+ * @addtogroup Extensions
 6+ */
 7+
 8+$messages = array();
 9+
 10+/** English
 11+ * @author Tisane
 12+ */
 13+$messages['en'] = array(
 14+ 'sidebardonatebox-desc' => 'Adds a custom donate box to the sidebar'
 15+);
Property changes on: trunk/extensions/SidebarDonateBox/SidebarDonateBox.i18n.php
___________________________________________________________________
Added: svn:eol-style
116 + native
Index: trunk/extensions/SidebarDonateBox/SidebarDonateBox.php
@@ -25,12 +25,16 @@
2626 if ( !defined( 'MEDIAWIKI' ) ) die( "This is an extension to the MediaWiki package and cannot be run standalone." );
2727
2828 $wgExtensionCredits['parserhook'][] = array (
 29+ 'path' => __FILE__,
2930 'name' => 'SidebarDonateBox',
3031 'url' => 'http://mediawiki.org/wiki/Extension:SidebarDonateBox',
3132 'version' => '1.1a',
3233 'author' => "[http://mediawiki.org/wiki/User:Dantman Daniel Friesen]",
33 - 'description' => "Adds a custom donate box to the sidebar"
 34+ 'descriptionmsg' => 'sidebardonatebox-desc',
3435 );
 36+// Internationalization file
 37+$dir = dirname( __FILE__ ) . '/';
 38+$wgExtensionMessagesFiles['SidebarDonateBox'] = $dir . 'SidebarDonateBox.i18n.php';
3539
3640 $wgHooks['SkinBuildSidebar'][] = 'efSidebarDonateBox';
3741
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -1009,6 +1009,8 @@
10101010 Show Processlist
10111011 aliasfile = ShowProcesslist/ShowProcesslist.alias.php
10121012
 1013+Sidebar Donate Box
 1014+
10131015 Sign Document
10141016 aliasfile = SignDocument/SignDocument.alias.php
10151017 descmsg = signature-desc

Follow-up revisions

RevisionCommit summaryAuthorDate
r70397Follow-up r70334: Fix author nameraymond18:39, 3 August 2010

Comments

#Comment by Reach Out to the Truth (talk | contribs)   18:22, 3 August 2010

Looks like an incorrect @author

#Comment by Raymond (talk | contribs)   18:39, 3 August 2010

Thanks for the report. Fixed.

Status & tagging log