From: Niklas Laxström Date: Mon, 2 Apr 2007 13:06:36 +0000 (+0000) Subject: * Fixed $wgFeedLimit X-Git-Tag: 1.31.0-rc.0~53502 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=6ae73438984492c84d365a71d6c30dae7c8e43b5;p=lhc%2Fweb%2Fwiklou.git * Fixed $wgFeedLimit --- 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 {