From: Sam Reed Date: Sun, 10 Apr 2011 12:15:03 +0000 (+0000) Subject: * (bug 28368) add hint for multipart/form-data to api information of action=import... X-Git-Tag: 1.31.0-rc.0~30953 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=09ea8906a2aafb4959493cc979b87893e24875cb;p=lhc%2Fweb%2Fwiklou.git * (bug 28368) add hint for multipart/form-data to api information of action=import&xml= Add RELEASE-NOTES for r85585 too --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 93190e7785..3d77893249 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -325,6 +325,9 @@ PHP if you have not done so prior to upgrading MediaWiki. * (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo * (bug 28394) Set forgotten parameters types in ApiUnblock * (bug 28395) Set forgotten parameters types in ApiParse +* (bug 28368) add hint for multipart/form-data to api information of + action=import&xml= +* (bug 28391) action=feedwatchlist&allrev should be a bool === Languages updated in 1.18 === diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index 1d6b22c874..7bc90bc45e 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -171,7 +171,7 @@ class ApiFeedWatchlist extends ApiBase { ApiBase::PARAM_MIN => 1, ApiBase::PARAM_MAX => 72, ), - 'allrev' => null, + 'allrev' => false, 'wlowner' => array( ApiBase::PARAM_TYPE => 'user' ), @@ -200,7 +200,7 @@ class ApiFeedWatchlist extends ApiBase { protected function getExamples() { return array( 'api.php?action=feedwatchlist', - 'api.php?action=feedwatchlist&allrev=allrev&linktodiffs=&hours=6' + 'api.php?action=feedwatchlist&allrev=&linktodiffs=&hours=6' ); }