]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/ChangesFeed.php
MediaWiki 1.15.0
[autoinstallsdev/mediawiki.git] / includes / ChangesFeed.php
index f3c3e4294f52d428355cff03f7192610c4fa830f..a0c2767a7a8235494a9b5ba9ea1b6245a4dd0a07 100644 (file)
@@ -18,16 +18,16 @@ class ChangesFeed {
                        $feedTitle, htmlspecialchars( $description ), $wgTitle->getFullUrl() );
        }
 
-       public function execute( $feed, $rows, $limit = 0 , $hideminor = false, $lastmod = false ) {
+       public function execute( $feed, $rows, $limit=0, $hideminor=false, $lastmod=false, $target='' ) {
                global $messageMemc, $wgFeedCacheTimeout;
-               global $wgFeedClasses, $wgSitename, $wgContLanguageCode;
+               global $wgSitename, $wgContLanguageCode;
 
                if ( !FeedUtils::checkFeedOutput( $this->format ) ) {
                        return;
                }
 
                $timekey = wfMemcKey( $this->type, $this->format, 'timestamp' );
-               $key = wfMemcKey( $this->type, $this->format, 'limit', $limit, 'minor', $hideminor );
+               $key = wfMemcKey( $this->type, $this->format, $limit, $hideminor, $target );
 
                FeedUtils::checkPurge($timekey, $key);