This is what I think the login form should validate.
These I feel are essential and should be MVP:
[x] Username, bot password name, and bot password shouldn't be empty.
[ ] The "Add to existing" checkbox should be greyed out if no wikis are set up.
[ ] Ensure that all URLs in the text fields or areas for wiki or farm setup are actually valid HTTP or HTTPS URLs. (Whether they point to anything of value is up to the user to ensure.)
[x] If setting up a new wiki or farm, the wiki name should not be empty.
These I feel are good-to-have, but not necessarily in MVP:
[x] Username should be a valid username. Not sure how to handle leading/trailing whitespace (maybe just trim that?), but e. g. # or other characters not allowed in titles should not be allowed.
[ ] Filter out duplicates in the URL list in wiki farm setup?
[x] Probably also ignore empty or whitespace-only lines in the URL list.
Extra considerations:
Should synchronize the single-wiki URL field with the first line of the wiki farm URL area while keeping the entire contents of the area. (That would probably be the least problematic approach to handling wiki-or-farm checkbox state changes)
Should ensure that the multi-wiki set up cannot be used to overload anything, so I guess send HTTP requests only to the first wiki no matter how many are there, only after the user clicks Submit on an otherwise valid form, and assume all other wikis have the same script path. Any limits on how many wikis can be in a farm?
This is what I think the login form should validate.
These I feel are essential and should be MVP:
These I feel are good-to-have, but not necessarily in MVP:
#
or other characters not allowed in titles should not be allowed.@#@#@ πππΎπ©
.Extra considerations: