And yet another fixup for r47231: use older/newer rather than ascending/descending
authorRoan Kattouw <catrope@users.mediawiki.org>
Fri, 13 Feb 2009 21:49:01 +0000 (21:49 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Fri, 13 Feb 2009 21:49:01 +0000 (21:49 +0000)
includes/api/ApiQueryProtectedTitles.php

index 88eb548..fc0d9f0 100644 (file)
@@ -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(