When entering an event title in Special:EnableEventRegistration, the system incorrectly treats it as being in NS_MAIN instead of NS_EVENT. This results in a wrong URL like /wiki/Test instead of /wiki/Event:Test.
Steps to Reproduce
- Go to Special:EnableEventRegistration.
- Enter an event title, e.g., Test
- Fill out all other required fields
- Press "Enable registration"
The system displays the error:
Test is not in the "Event" namespace.
The generated URL is /wiki/Test (NS_MAIN) instead of /wiki/Event:Test (NS_EVENT).
🤔 Expected Behavior
The title should be recognized as part of the Event namespace.
No incorrect namespace validation should occur.
I need someone to solve this doubt for me