Last modified: 2012-01-26 18:27:41 UTC
This already exists in large part, but some additional refinement could be good for helping mobile operators use any feed in any language. A self-service portal?
This doesn't exist as part of the MediaWiki API. We need to add it first before we think of a portal.
Do you literally mean a RSS feed of X wikis featured article? Probably not something that would go into core, but could exist as an extension. Though, for enwiki, and possibly other wikis, this gets arkward [[Wikipedia:Today's featured article/August 16, 2007]] We're seemingly going to be having to visit said page, and scrape out "'''[[Rail transport in India]]'''"...
We have a couple of examples of how other people have approached this at http://en.wikipedia.org/wiki/Wikipedia:Syndication#Externally_hosted_RSS_feeds_of_Wikipedia_pages And we might even be able to shape up this extension http://www.mediawiki.org/wiki/Rss to get this work done. It's a little confusing to know if this extension is used as a reader or generator For the initial spec we should include something like this <channel> <title>Wikipedia Featured Articles</title> <link>http://en.wikipedia.org/wiki/Wikipedia:Today%%27s_featured_article</link> <description>RSS feed of Wikipedia Featured Articles, generated by XX</description> <language>en-us</language> <copyright>CC by SA</copyright> <lastBuildDate>Sat, 17 Dec 2011 21:05:01 +0000</lastBuildDate> <docs>mw.org/XX</docs> <webMaster>blah@wikimedia.org</webMaster> <generator>MW</generator> <item> <title>December 17: David Lewis</title> <link>http://en.wikipedia.org/wiki/Wikipedia:Today%27s_featured_article/December_17%2C_2011</link> <guid isPermaLink="false">http://toolserver.org/~skagedal/feeds/fa-2011-12-17</guid> <description><div style="float:left;margin:0.5em 0.9em 0.4em 0;"><a href="http://en.wikipedia.org//en.wikipedia.org/wiki/File:DavidLewis1944.jpg" class="image" title="David Lewis in September 1944"><img alt="David Lewis in September 1944" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/9b/DavidLewis1944.jpg/100px-DavidLewis1944.jpg" width="100" height="130" /></a></div> <p><b><a href="http://en.wikipedia.org//en.wikipedia.org/wiki/David_Lewis_(politician)" title="David Lewis (politician)">David Lewis</a></b> (1909–1981) was a Russian-born Canadian Rhodes Scholar, labour lawyer and <a href="http://en.wikipedia.org//en.wikipedia.org/wiki/Social_democracy" title="Social democracy">social democratic</a> politician. He was national secretary of the <a href="http://en.wikipedia.org//en.wikipedia.org/wiki/Co-operative_Commonwealth_Federation" title="Co-operative Commonwealth Federation">Co-operative Commonwealth Federation</a> from 1936 to 1950. As the <a href="http://en.wikipedia.org//en.wikipedia.org/wiki/United_Steelworkers_of_America" title="United Steelworkers of America" class="mw-redirect">United Steelworkers of America</a>’s legal counsel in Canada, he played a central role in the creation of the <a href="http://en.wikipedia.org//en.wikipedia.org/wiki/Canadian_Labour_Congress" title="Canadian Labour Congress">Canadian Labour Congress</a> in 1956 and in the <a href="http://en.wikipedia.org//en.wikipedia.org/wiki/New_Democratic_Party" title="New Democratic Party">New Democratic Party</a> (NDP)'s formation in 1961. In 1962, he was elected as a <a href="http://en.wikipedia.org//en.wikipedia.org/wiki/Member_of_Parliament" title="Member of Parliament">Member of Parliament</a>. He was the NDP's leader from 1971 to 1975. After his defeat in the 1974 Canadian election, he retired from politics. He spent his last years as an university professor and a newspaper travel correspondent. In retirement, he was named to the highest level of the <a href="http://en.wikipedia.org//en.wikipedia.org/wiki/Order_of_Canada" title="Order of Canada">Order of Canada</a> for his political service. After a lengthy battle with cancer, he died in 1981. (<a href="http://en.wikipedia.org//en.wikipedia.org/wiki/True_at_First_Light" title="True at First Light"><b>more...</b></a>)</p> </description> </item> Whatever implementation we choose it should be generic so that we can later add feeds like image of the day. This feed should also be usable on any wiki/project
(In reply to comment #2) > Do you literally mean a RSS feed of X wikis featured article? > > Probably not something that would go into core, but could exist as an > extension. That's fine as its WP specific. > Though, for enwiki, and possibly other wikis, this gets arkward > > [[Wikipedia:Today's featured article/August 16, 2007]] Yup, were going to have to standardize a lot of this. > We're seemingly going to be having to visit said page, and scrape out > "'''[[Rail transport in India]]'''"... It's sad if the best mechanism we have for our own database is screen scraping. Can't we do better?
interwiki links show me that we have following languages linked together as featured article pages http://en.wikipedia.org/wiki/Wikipedia:Today%27s_featured_article العربية Deutsch Gaeilge 日本語 සිංහල ไทย Türkçe ភាសាខ្មែរ 中文 There are a number of language versions of Wikipedia that don't do article of the day but instead change featured articles at a slower pace. http://ta.wikipedia.org/wiki/%E0%AE%B5%E0%AE%BF%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AE%BF%E0%AE%AA%E0%AF%8D%E0%AE%AA%E0%AF%80%E0%AE%9F%E0%AE%BF%E0%AE%AF%E0%AE%BE:%E0%AE%AE%E0%AF%81%E0%AE%A4%E0%AE%B1%E0%AF%8D%E0%AE%AA%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AE%95%E0%AF%8D_%E0%AE%95%E0%AE%9F%E0%AF%8D%E0%AE%9F%E0%AF%81%E0%AE%B0%E0%AF%88%E0%AE%95%E0%AE%B3%E0%AF%8D
First iteration done, results are at trunk/extensions/FeaturedFeeds It uses the on-wiki infrastructure as much as possible, local sysops only have to set up one message per feed, e.g. for enwiki's featured articles feed one has to create [[MediaWiki:Ffeed-fa-page]] containing "Wikipedia:Today's featured article/{{#time:F j, Y}}". The feed does not need to contain whole articles, IMO, as they are huge. Instead, the extension serves short snippets we see on main page, with a convenient "read more" link. The extension ships with FeaturedFeedsWMF.php that contains typical feed definitions for many projects. Things to decide: what pages should contain links to feeds? Currently, only Main Page does.
Deployed.