From: Roan Kattouw Date: Fri, 13 Feb 2009 21:49:01 +0000 (+0000) Subject: And yet another fixup for r47231: use older/newer rather than ascending/descending X-Git-Tag: 1.31.0-rc.0~42898 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=92102dfb3e7c4a491530ad752019a3ac7dd5672a;p=lhc%2Fweb%2Fwiklou.git And yet another fixup for r47231: use older/newer rather than ascending/descending --- diff --git a/includes/api/ApiQueryProtectedTitles.php b/includes/api/ApiQueryProtectedTitles.php index 88eb5482ce..fc0d9f06bb 100644 --- a/includes/api/ApiQueryProtectedTitles.php +++ b/includes/api/ApiQueryProtectedTitles.php @@ -137,10 +137,10 @@ class ApiQueryProtectedTitles extends ApiQueryGeneratorBase { ApiBase :: PARAM_MAX2 => ApiBase :: LIMIT_BIG2 ), 'dir' => array ( - ApiBase :: PARAM_DFLT => 'ascending', + ApiBase :: PARAM_DFLT => 'older', ApiBase :: PARAM_TYPE => array ( - 'ascending', - 'descending' + 'older', + 'newer' ) ), 'start' => array(