MWX/Invite/notes: Difference between revisions

From Woozle Writes Code
< MWX‎ | Invite
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
The tricky part of this is the interface with MediaWiki to selectively allow a visitor (i.e. one who has a valid invite code) to request an account when visitors are not generally allowed to access that page.
The tricky part of this is the interface with MediaWiki to selectively allow a visitor (i.e. one who has a valid invite code) to request an account when visitors are not generally allowed to access that page.


The class for creating pages based on the "Create account" page is apparently [https://doc.wikimedia.org/mediawiki-core/master/php/classLoginSignupSpecialPage.html  LoginSignupSpecialPage].
The class for creating pages based on the "Create account" page is apparently [https://doc.wikimedia.org/mediawiki-core/master/php/classLoginSignupSpecialPage.html  LoginSignupSpecialPage]... except [[mw:Manual:LoginSignupSpecialPage.php|the documentation]] says "This feature was removed completely in version 1.33." (...and yet the file is still present in 1.34.2)

Revision as of 15:11, 4 September 2020

Notes

The tricky part of this is the interface with MediaWiki to selectively allow a visitor (i.e. one who has a valid invite code) to request an account when visitors are not generally allowed to access that page.

The class for creating pages based on the "Create account" page is apparently LoginSignupSpecialPage... except the documentation says "This feature was removed completely in version 1.33." (...and yet the file is still present in 1.34.2)