* Fixed $wgFeedLimit
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 2 Apr 2007 13:06:36 +0000 (13:06 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 2 Apr 2007 13:06:36 +0000 (13:06 +0000)
RELEASE-NOTES
includes/SpecialRecentchanges.php

index 7301469..a6d9970 100644 (file)
@@ -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
index 13d5ebf..de8579a 100644 (file)
@@ -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 {