r110481 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110480‎ | r110481 | r110482 >
Date:15:06, 1 February 2012
Author:maxsem
Status:ok
Tags:miscextensions 
Comment:
Featured texts feed for Wikisource. Modified patch by thomaspt from bug 34047.
Modified paths:
  • /trunk/extensions/FeaturedFeeds/FeaturedFeeds.i18n.php (modified) (history)
  • /trunk/extensions/FeaturedFeeds/FeaturedFeedsWMF.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FeaturedFeeds/FeaturedFeedsWMF.php
@@ -79,6 +79,16 @@
8080 'entryName' => 'ffeed-qotd-entry',
8181 );
8282 break;
 83+ case 'wikisource':
 84+ $feeds['featuredtexts'] = array( // Featured Text
 85+ 'page' => 'ffeed-featuredtexts-page',
 86+ 'title' => 'ffeed-featuredtexts-title',
 87+ 'short-title' => 'ffeed-featuredtexts-short-title',
 88+ 'description' => 'ffeed-featuredtexts-desc',
 89+ 'entryName' => 'ffeed-featuredtexts-entry',
 90+ );
 91+ break;
 92+
8393 }
8494 return true;
8595 }
Index: trunk/extensions/FeaturedFeeds/FeaturedFeeds.i18n.php
@@ -67,6 +67,13 @@
6868 'ffeed-qotd-short-title' => 'Quote of the day',
6969 'ffeed-qotd-desc' => 'Some of the finest quotes on {{SITENAME}}',
7070 'ffeed-qotd-entry' => '{{SITENAME}} quote of the day for {{LOCALMONTHNAME}} {{LOCALDAY}}',
 71+
 72+ # Featured Text
 73+ 'ffeed-featuredtexts-page' => '', # do not localise
 74+ 'ffeed-featuredtexts-title' => '{{SITENAME}} featured texts feed',
 75+ 'ffeed-featuredtexts-short-title' => 'Featured texts',
 76+ 'ffeed-featuredtexts-desc' => 'Best texts {{SITENAME}} has to offer',
 77+ 'ffeed-featuredtexts-entry' => '{{LOCALMONTHNAME}} {{LOCALDAY}} {{SITENAME}} featured text',
7178 );
7279
7380 /** Message documentation (Message documentation)
@@ -92,6 +99,9 @@
93100 'ffeed-potd-title' => 'Title of the Picture Of The Day [[w:web feed|syndication feed]]',
94101 'ffeed-potd-desc' => 'Description of the Picture Of The Day [[w:web feed|syndication feed]]',
95102 'ffeed-potd-entry' => "Title of day's entry in the Media of the Day [[w:web feed|syndication feed]]",
 103+ 'ffeed-featuredtexts-title' => 'Title of the Featured Texts [[w:web feed|syndication feed]]',
 104+ 'ffeed-featuredtexts-desc' => 'Description of the Featured Texts [[w:web feed|syndication feed]]',
 105+ 'ffeed-featuredtexts-entry' => "Title of day's entry in the Featured Texts [[w:web feed|syndication feed]]",
96106 );
97107
98108 /** Asturian (Asturianu)

Follow-up revisions

RevisionCommit summaryAuthorDate
r110511r110481: Update ignore messagesraymond19:19, 1 February 2012

Status & tagging log