MWX/Invite/notes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==Notes== | ==Notes== | ||
===MW API untangling=== | |||
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]... 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) | 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) | ||
===related discussions=== | |||
* [[mw:Anonymous editor acquisition/Signup invites]] |
Revision as of 15:13, 4 September 2020
Notes
MW API untangling
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)