From 6ae73438984492c84d365a71d6c30dae7c8e43b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Mon, 2 Apr 2007 13:06:36 +0000 Subject: [PATCH] * Fixed $wgFeedLimit --- RELEASE-NOTES | 1 + includes/SpecialRecentchanges.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7301469f16..a6d99706aa 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -301,6 +301,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 9194) Add {{PLURAL:...}} to navigation bar of Special:Whatlinkshere * (bug 9033) Use a more specific error message when users are not able/allowed to edit page protection levels due to a block, database lock or permissions +* Fixed $wgFeedLimit == Maintenance == * New script maintenance/language/checkExtensioni18n.php used to check i18n diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 13d5ebf617..de8579ae84 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -21,7 +21,7 @@ function wfSpecialRecentchanges( $par, $specialPage ) { # Get query parameters $feedFormat = $wgRequest->getVal( 'feed' ); - /* Checkbox values can't be true be default, because + /* Checkbox values can't be true by default, because * we cannot differentiate between unset and not set at all */ $defaults = array( @@ -57,7 +57,7 @@ function wfSpecialRecentchanges( $par, $specialPage ) { if( $feedFormat ) { global $wgFeedLimit; if( $limit > $wgFeedLimit ) { - $options['limit'] = $wgFeedLimit; + $limit = $wgFeedLimit; } } else { -- 2.20.1