From db6b9f7206f0968c59863e0de844f5889157908a Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Sat, 19 May 2007 20:37:06 +0000 Subject: [PATCH] updated with the last api changes --- RELEASE-NOTES | 3 +++ includes/api/ApiBase.php | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 82bddf0654..372832612a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -88,6 +88,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Watchlist feed now reports a proper feed item when the user is not logged in * Watchlist feed date bug fixed - automatically shows one last day * Watchlist feed now allows to specify number of hours to monitor +* list=allpages now returns a list instead of a map in json format +* Breaking Change: in json, revisions are now returned as a list, not as a map. +* Add: prop=info can show page is new flag, current page length, and visit counter. == Maintenance script changes since 1.10 == diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 9b7b78b702..b2e5345450 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -227,7 +227,6 @@ abstract class ApiBase { } } } - $default = is_array($paramSettings) ? (isset ($paramSettings[self :: PARAM_DFLT]) ? $paramSettings[self :: PARAM_DFLT] : null) : $paramSettings; if (!is_null($default) && $default !== false) -- 2.20.1