r69779 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69778‎ | r69779 | r69780 >
Date:08:02, 23 July 2010
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r69759: Add i18n file and add extension to Translatewiki
Modified paths:
  • /trunk/extensions/RSS/RSS.i18n.php (added) (history)
  • /trunk/extensions/RSS/RSS.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -934,6 +934,8 @@
935935 RPED
936936 aliasfile = RPED/RPED.alias.php
937937
 938+RSS
 939+
938940 RT
939941
940942 Search Box
Index: trunk/extensions/RSS/RSS.i18n.php
@@ -0,0 +1,14 @@
 2+<?php
 3+/**
 4+ * Internationalisation file for extension RSS.
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ */
 9+
 10+$messages = array();
 11+
 12+$messages['en'] = array(
 13+ 'rss-desc' => 'Displays an RSS feed on a wiki page',
 14+);
 15+
Index: trunk/extensions/RSS/RSS.php
@@ -22,13 +22,17 @@
2323 }
2424
2525 $wgExtensionCredits['parserhook'][] = array(
 26+ 'path' => __FILE__,
2627 'name' => 'RSS feed',
2728 'author' => array('mutante', 'Duesentrieb', 'Rdb', 'Mafs', 'Alxndr', 'Wikinaut', 'Cmreigrut', 'K001'),
2829 'version' => '1.6',
2930 'url' => 'http://www.mediawiki.org/wiki/Extension:RSS',
30 - 'description' => 'Displays an RSS feed on a wiki page'
 31+ 'descriptionmsg' => 'rss-desc',
3132 );
3233
 34+$dir = dirname( __FILE__ );
 35+$wgExtensionMessagesFiles['RSS'] = "$dir/RSS.i18n.php";
 36+
3337 define('MAGPIE_OUTPUT_ENCODING', 'UTF-8');
3438
3539 #change this according to your magpie installation!

Follow-up revisions

RevisionCommit summaryAuthorDate
r69780Follow-up r69779: eol-styleraymond08:03, 23 July 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69759Adding RSS extension to the repo, instead of just having the code on mediawik...jeroendedauw22:07, 22 July 2010

Status & tagging log