From 96156522c07b48aa569b63173608d99d0cf06cba Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 6 Jun 2008 16:42:23 +0000 Subject: [PATCH] * (bug 14432) Fix notice regression in Special:Newpages feed mode --- RELEASE-NOTES | 1 + includes/SpecialNewpages.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 53a3d3b344..508df838c4 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -343,6 +343,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (Bug 13828) Split parameter $1 of MediaWiki:Missingarticle into $1 (=title) and $2 (=revision numbers) * (bug 14401) Fix Safari access key tooltips for Windows and >3.1 Mac versions +* (bug 14432) Fix notice regression in Special:Newpages feed mode === API changes in 1.13 === diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index 3201a9aa60..06252a822d 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -105,7 +105,7 @@ class NewPagesForm { $this->setSyndicated(); $feedType = $this->opts->getValue( 'feed' ); if( $feedType ) { - return $this->feed( $feedType, $options ); + return $this->feed( $feedType ); } } @@ -266,7 +266,7 @@ class NewPagesForm { * Output a subscription feed listing recent edits to this page. * @param string $type */ - protected function feed( $type, $options ) { + protected function feed( $type ) { require_once 'SpecialRecentchanges.php'; global $wgFeed, $wgFeedClasses; -- 2.20.1