Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/0/masa70/web/test.masanaokawakami.com/htdocs/masapedia/includes/json/FormatJson.php on line 297

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/0/masa70/web/test.masanaokawakami.com/htdocs/masapedia/languages/LanguageConverter.php on line 771

Notice: Trying to access array offset on value of type null in /home/users/0/masa70/web/test.masanaokawakami.com/htdocs/masapedia/includes/profiler/SectionProfiler.php on line 99

Notice: Trying to access array offset on value of type null in /home/users/0/masa70/web/test.masanaokawakami.com/htdocs/masapedia/includes/profiler/SectionProfiler.php on line 99

Notice: Trying to access array offset on value of type null in /home/users/0/masa70/web/test.masanaokawakami.com/htdocs/masapedia/includes/profiler/SectionProfiler.php on line 100

Notice: Trying to access array offset on value of type null in /home/users/0/masa70/web/test.masanaokawakami.com/htdocs/masapedia/includes/profiler/SectionProfiler.php on line 100

Notice: Trying to access array offset on value of type null in /home/users/0/masa70/web/test.masanaokawakami.com/htdocs/masapedia/includes/profiler/SectionProfiler.php on line 101

Notice: Trying to access array offset on value of type null in /home/users/0/masa70/web/test.masanaokawakami.com/htdocs/masapedia/includes/profiler/SectionProfiler.php on line 101
MediaWiki:Api-help-authmanager-general-usage - Masapedia | 川上昌直
メインメニューを開く

Masapedia | 川上昌直 β

MediaWiki:Api-help-authmanager-general-usage

The general procedure to use this module is:

  1. Fetch the fields available from action=query&meta=authmanagerinfo with amirequestsfor=$4, and a $5 token from action=query&meta=tokens.
  2. Present the fields to the user, and obtain their submission.
  3. Post to this module, supplying $1returnurl and any relevant fields.
  4. Check the status in the response.
    • If you received PASS or FAIL, you're done. The operation either succeeded or it didn't.
    • If you received UI, present the new fields to the user and obtain their submission. Then post to this module with $1continue and the relevant fields set, and repeat step 4.
    • If you received REDIRECT, direct the user to the redirecttarget and wait for the return to $1returnurl. Then post to this module with $1continue and any fields passed to the return URL, and repeat step 4.
    • If you received RESTART, that means the authentication worked but we don't have a linked user account. You might treat this as UI or as FAIL.