MWX/Invite
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.