From 92102dfb3e7c4a491530ad752019a3ac7dd5672a Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Fri, 13 Feb 2009 21:49:01 +0000 Subject: [PATCH] And yet another fixup for r47231: use older/newer rather than ascending/descending --- includes/api/ApiQueryProtectedTitles.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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( -- 2.20.1