define('NS_WIKIPEDIA', NS_PROJECT);
define('NS_WIKIPEDIA_TALK', NS_PROJECT_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',
+ );
?>
/**
* Contain a feed class as well as classes to build rss / atom ... feeds
+ * Available feeds are defined in Defines.php
* @package MediaWiki
*/
-/**
- * Available feeds objects
- */
-$wgFeedClasses = array(
- 'rss' => 'RSSFeed',
- 'atom' => 'AtomFeed',
- );
/**
* @todo document
if( defined( "MEDIAWIKI" ) ) {
# See skin.doc
-
-require_once( 'Feed.php' ); // should not be called if the actual page isn't feed enabled
require_once( 'Image.php' );
# These are the INTERNAL names, which get mapped directly to class names and