MWX/Invite

From Woozle Writes Code
< MWX
Revision as of 15:11, 12 September 2020 by Woozle (talk | contribs) (Created page with "category:MediaWiki extension category:unfinished ==About== Special-Invite is a MediaWiki extension to selectively allow self-registration on wikis where new accoun...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

Special-Invite is a MediaWiki extension to selectively allow self-registration on wikis where new accounts must normally be created by admins.

The extension allows an authorized user (anyone with permission to create user accounts) to create one or more "invite codes". An "invite code" is a short string that can distributed in semi-private contexts (making it unlikely that spammers would find it), and that may have starting and ending validity dates in order to limit its spread.

When anyone enters a valid invite code, they will be allowed to create an account -- even if they do not normally have access to that ability. If the code has expired or is not yet active, they will not be allowed to create an account (unless they have that permission via other means).

The extension provides a form for administering invite codes and another one for visitors to type them in; the former is only displayed to authorized users.

Pages

  • /notes: The hardest part of this has proved to be interfacing with the MW API.