jenkins-bot has submitted this change and it was merged.
Change subject: Fix token parameter documentation on a couple of API modules
......................................................................
Fix token parameter documentation on a couple of API modules
Bug: 48324
Change-Id: I4b7d42f7ba48026509a7f7a0f6ea033625c260fb
---
M api/ApiDeleteGlobalAccount.php
M api/ApiSetGlobalAccountStatus.php
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
Hoo man: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/api/ApiDeleteGlobalAccount.php b/api/ApiDeleteGlobalAccount.php
index dfb5491..2cec567 100644
--- a/api/ApiDeleteGlobalAccount.php
+++ b/api/ApiDeleteGlobalAccount.php
@@ -78,7 +78,7 @@
return array(
'user' => 'User to delete.',
'reason' => 'Reason for deleting the user.',
- 'token' => 'Your edit token.'
+ 'token' => 'Your token (obtained from
action=tokens&type=deleteglobalaccount).'
);
}
diff --git a/api/ApiSetGlobalAccountStatus.php
b/api/ApiSetGlobalAccountStatus.php
index fe7ee33..bdd93d6 100644
--- a/api/ApiSetGlobalAccountStatus.php
+++ b/api/ApiSetGlobalAccountStatus.php
@@ -128,7 +128,7 @@
'locked' => 'Change whether this user is locked or
not.',
'hidden' => 'Change whether this user is not hidden,
hidden from lists, or suppressed.',
'reason' => "Reason for changing the user's status.",
- 'token' => 'Your edit token.',
+ 'token' => 'Your token (obtained from
action=tokens&type=setglobalaccountstatus).',
'statecheck' => 'Optional MD5 of the expected current
<username>:<hidden>:<locked>, to detect edit conflicts. Set <locked> to 1 for
locked, 0 for unlocked.'
);
}
--
To view, visit https://gerrit.wikimedia.org/r/63136
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4b7d42f7ba48026509a7f7a0f6ea033625c260fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits