*Don't let the API action=protect set actions that aren't in $wgRestrictionTypes...
authorAlex Z <mrzman@users.mediawiki.org>
Thu, 18 Sep 2008 21:30:51 +0000 (21:30 +0000)
committerAlex Z <mrzman@users.mediawiki.org>
Thu, 18 Sep 2008 21:30:51 +0000 (21:30 +0000)
commit1f5da24b79f3c28619abb43aa53e04a9031068fe
tree33f3aa7d8f58169821223b1bc5bd0a9c20a55770
parent48147c381f78cb6116c657ca3654f816628df135
*Don't let the API action=protect set actions that aren't in $wgRestrictionTypes or levels not in $wgRestrictionLevels
*Pass an array to Article::updateRestrictions for the expiry. Though it should allow for separate expiry times, like the normal UI.
RELEASE-NOTES
includes/api/ApiBase.php
includes/api/ApiProtect.php