Manual:$wgOverrideSiteFeed

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgOverrideSiteFeed and the translation is 44% complete.

Other languages:
English • ‎magyar • ‎polski • ‎日本語
フィード: $wgOverrideSiteFeed
Override the site's default rss/atom feed that appears on every page.
導入されたバージョン:1.14.0 (r38831)
除去されたバージョン:使用中
許容される値:(配列)
既定値:array()

詳細

Override the site's default rss/atom feed that appears on every page.

Some sites might have a different feed they would like to promote instead of the RC feed (maybe like a "Recent New Articles" or "Breaking news" one).

例:

$wgOverrideSiteFeed['format'] = "http://example.com/somefeed.xml";

Format can be one of either 'rss' or 'atom'.

$wgFeed needs to be enabled to use this feature.