Index: trunk/extensions/FeaturedFeeds/FeaturedFeedsWMF.php |
— | — | @@ -41,12 +41,26 @@ |
42 | 42 | 'description' => 'ffeed-onthisday-desc', |
43 | 43 | 'entryName' => 'ffeed-onthisday-entry', |
44 | 44 | ), |
| 45 | + 'dyk' => array( // Did you know? |
| 46 | + 'page' => 'ffeed-dyk-page', |
| 47 | + 'title' => 'ffeed-dyk-title', |
| 48 | + 'description' => 'ffeed-dyk-desc', |
| 49 | + 'entryName' => 'ffeed-dyk-entry', |
| 50 | + ), |
45 | 51 | ); |
46 | 52 | $feeds += $media; |
47 | 53 | break; |
48 | 54 | case 'commons': |
49 | 55 | $feeds += $media; |
50 | 56 | break; |
| 57 | + case 'wikiquote': |
| 58 | + $feeds['qotd'] = array( // Quote of the Day |
| 59 | + 'page' => 'ffeed-qotd-page', |
| 60 | + 'title' => 'ffeed-qotd-title', |
| 61 | + 'description' => 'ffeed-qotd-desc', |
| 62 | + 'entryName' => 'ffeed-qotd-entry', |
| 63 | + ); |
| 64 | + break; |
51 | 65 | } |
52 | 66 | return true; |
53 | 67 | } |
Index: trunk/extensions/FeaturedFeeds/FeaturedFeeds.i18n.php |
— | — | @@ -26,6 +26,12 @@ |
27 | 27 | 'ffeed-onthisday-desc' => 'Historical events on this day', |
28 | 28 | 'ffeed-onthisday-entry' => 'On this day: {{LOCALMONTHNAME}} {{LOCALDAY}}', |
29 | 29 | |
| 30 | + # Did You Know? |
| 31 | + 'ffeed-dyk-page' => '', # do not localise |
| 32 | + 'ffeed-dyk-title' => '{{SITENAME}} "Did You Know?" feed', |
| 33 | + 'ffeed-dyk-desc' => 'From {{SITENAME}}\'s newest content', |
| 34 | + 'ffeed-dyk-entry' => 'Did you know?: {{LOCALMONTHNAME}} {{LOCALDAY}}', |
| 35 | + |
30 | 36 | // Media Of The Day |
31 | 37 | 'ffeed-motd-page' => '', # do not localise |
32 | 38 | 'ffeed-motd-title' => '{{SITENAME}} media of the day feed', |
— | — | @@ -37,4 +43,49 @@ |
38 | 44 | 'ffeed-potd-title' => '{{SITENAME}} Picture of the day feed', |
39 | 45 | 'ffeed-potd-desc' => 'Some of the finest images on {{SITENAME}}', |
40 | 46 | 'ffeed-potd-entry' => '{{SITENAME}} Picture of the day for {{LOCALMONTHNAME}} {{LOCALDAY}}', |
| 47 | + |
| 48 | + # Quote of the Day |
| 49 | + 'ffeed-motd-page' => '', # do not localise |
| 50 | + 'ffeed-motd-title' => '{{SITENAME}} quote of the day feed', |
| 51 | + 'ffeed-motd-desc' => 'Some of the finest quotes on {{SITENAME}}', |
| 52 | + 'ffeed-motd-entry' => '{{SITENAME}} quote of the day for {{LOCALMONTHNAME}} {{LOCALDAY}}', |
41 | 53 | ); |
| 54 | + |
| 55 | +/** |
| 56 | + * Message documentation |
| 57 | + * @author Max Semenik |
| 58 | + */ |
| 59 | + |
| 60 | +$messages['qqq'] = array( |
| 61 | + 'ffeed-desc' => '{{desc}}', |
| 62 | + |
| 63 | + # Featured Article |
| 64 | + 'ffeed-fa-title' => 'Title of the Featured Articles [[w:web feed|syndication feed]]', |
| 65 | + 'ffeed-fa-desc' => 'Description of the Featured Articles [[w:web feed|syndication feed]]', |
| 66 | + 'ffeed-fa-entry' => 'Title of day\'s entry in the Featured Articles [[w:web feed|syndication feed]]', |
| 67 | + |
| 68 | + # On this day... |
| 69 | + 'ffeed-onthisday-title' => 'Title of the "On this day..." [[w:web feed|syndication feed]]', |
| 70 | + 'ffeed-onthisday-desc' => 'Description of the "On this day..." [[w:web feed|syndication feed]]', |
| 71 | + 'ffeed-onthisday-entry' => 'Title of day\'s entry in the "On this day..." [[w:web feed|syndication feeds]', |
| 72 | + |
| 73 | + # Did You Know? |
| 74 | + 'ffeed-dyk-title' => 'Title of the "Did you know?" [[w:web feed|syndication feed]]', |
| 75 | + 'ffeed-dyk-desc' => 'Description of the "Did you know?" [[w:web feed|syndication feed]]', |
| 76 | + 'ffeed-dyk-entry' => 'Title of day\'s entry in the "Did you know?" [[w:web feed|syndication feeds]', |
| 77 | + |
| 78 | + // Media Of The Day |
| 79 | + 'ffeed-motd-title' => 'Title of the Media of the Day [[w:web feed|syndication feed]]', |
| 80 | + 'ffeed-motd-desc' => 'Description of the Media of the Day [[w:web feed|syndication feed]]', |
| 81 | + 'ffeed-motd-entry' => 'Title of day\'s entry in the Media of the Day [[w:web feed|syndication feed]]', |
| 82 | + |
| 83 | + # Picture Of The Day |
| 84 | + 'ffeed-potd-title' => 'Title of the Picture Of The Day [[w:web feed|syndication feed]]', |
| 85 | + 'ffeed-potd-desc' => 'Description of the Picture Of The Day [[w:web feed|syndication feed]]', |
| 86 | + 'ffeed-potd-entry' => 'Title of day\'s entry in the Media of the Day [[w:web feed|syndication feed]]', |
| 87 | + |
| 88 | + # Quote Of The Day |
| 89 | + 'ffeed-qotd-title' => 'Title of the Quote Of The Day [[w:web feed|syndication feed]]', |
| 90 | + 'ffeed-qotd-desc' => 'Description of the Quote Of The Day [[w:web feed|syndication feed]]', |
| 91 | + 'ffeed-qotd-entry' => 'Title of day\'s entry in the Quote of the Day [[w:web feed|syndication feed]]', |
| 92 | +); |