From bc827cace591507976ef230681851a6853513f6d Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 30 Jun 2011 18:16:45 +0000 Subject: [PATCH] Move $wgFeedClasses to DefaultSettings where they belong. This has been bothering me for years. Somewhat in the spirit of r87637, except I didn't put them in WebStart because that doesn't make sense. --- includes/DefaultSettings.php | 10 ++++++++++ includes/Defines.php | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index d145f5ee12..debae38ef8 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4372,6 +4372,16 @@ $wgFeedDiffCutoff = 32768; */ $wgOverrideSiteFeed = array(); +/** + * Available feeds objects + * Should probably only be defined when a page is syndicated ie when + * $wgOut->isSyndicated() is true + */ +$wgFeedClasses = array( + 'rss' => 'RSSFeed', + 'atom' => 'AtomFeed', +); + /** * Which feed types should we provide by default? This can include 'rss', * 'atom', neither, or both. diff --git a/includes/Defines.php b/includes/Defines.php index a9b2e56512..0252c402c5 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -85,16 +85,6 @@ define( 'NS_IMAGE', NS_FILE ); define( 'NS_IMAGE_TALK', NS_FILE_TALK ); /**@}*/ -/** - * Available feeds objects - * Should probably only be defined when a page is syndicated ie when - * $wgOut->isSyndicated() is true - */ -$wgFeedClasses = array( - 'rss' => 'RSSFeed', - 'atom' => 'AtomFeed', -); - /**@{ * Cache type */ -- 2.20.1