This is a microtask for Outreachy applicants for T158909: Automatically detect spambot registration using machine learning (like invisible reCAPTCHA) .
- Set up local development environment. (You'll probably want to use MediaWiki-Vagrant)
- Set up EventLogging.
- Create an EventLogging schema (on your own machine, not meta.wikimedia.org! see docs) for data to be collected for the captcha. (Doesn't have to be realistic, just put in some fields.)
- Make MediaWiki log some data on registration. For example, you could use the LocalUserCreated hook and record the IP of the user.
- Submit the code you wrote to Gerrit. Make sure to start the commit message with [DO NOT MERGE] and explain in the commit description that this is an Outreachy microtask and not intended to be merged. (Eventually the code should go into a new extension, but setting that up is too much work for a microtask.) Add mentors as reviewers.
- Verify that event logging works - the records should show up in /vagrant/logs/eventlogging.log.
- Share the schema and some logged data (e.g. in the form of a gist or a screenshot).
Please don't hesitate to ask questions if something is not clear. The documentation for EventLogging is particularly horrible :( Don't spend too much time trying to understand it, just ask. #wikimedia-devrel or {Z610} is a good starting point.