Add missing global
authorRoan Kattouw <catrope@users.mediawiki.org>
Sat, 15 May 2010 18:29:55 +0000 (18:29 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sat, 15 May 2010 18:29:55 +0000 (18:29 +0000)
includes/api/ApiQueryUserContributions.php

index 4d4e156..aae26d0 100644 (file)
@@ -410,6 +410,7 @@ class ApiQueryContributions extends ApiQueryBase {
        }
 
        public function getParamDescription() {
+               global $wgRCMaxAge;
                $p = $this->getModulePrefix();
                return array(
                        'limit' => 'The maximum number of contributions to return',