Jump to content

Handbuch:$wgFeedClasses

From mediawiki.org
This page is a translated version of the page Manual:$wgFeedClasses and the translation is 56% complete.
Feed: $wgFeedClasses
Available feeds objects.
Eingeführt in Version:1.3.0 (r2615)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array)
Standardwert:(siehe unten)

Details

Available feeds objects.

This was originally defined in Feed.php in r2615, and was moved to Defines.php in r5283. It was finally moved to DefaultSettings.php in r91192.

Standardwert

MediaWiki Version:
1.40
$wgFeedClasses = [
	'rss' => \MediaWiki\Feed\RSSFeed::class,
	'atom' => \MediaWiki\Feed\AtomFeed::class,
];
MediaWiki Version:
1.39
$wgFeedClasses = [
	'rss' => 'RSSFeed',
	'atom' => 'AtomFeed',
];
MediaWiki Versions:
1.31 – 1.38
$wgFeedClasses = [
	'rss' => RSSFeed::class,
	'atom' => AtomFeed::class,
];
MediaWiki Versions:
1.3 – 1.30
$wgFeedClasses = [
	'rss' => 'RSSFeed',
	'atom' => 'AtomFeed',
];