Hello,
I've been working on a small visual improvement on the login/registration form of MediaWiki (MediaWiki 1.5 CVS). I wrote a small JS script, which disables/enables the "Login" and "Create new account" buttons accordingly; for example, you are not allowed to click on "Create new account" if you haven't filled in the "retype password" field. What's more, the code checks if the two passwords match before the form is sent to the server, and displays a message if they don't (and also cancels the navigation process and clears the password fields). If javascript is disabled, the pages will work normally, as they would without my code. The only file I modified is /include/templates/Userlogin.php. Since I don't have CVS write access, I am submitting the modified file here. If it is possible, I would appreciate it if one of you developers with read/write CVS access can take a few minutes to check my code and CVS commit the file. I am attaching the file in this e-mail. Please let me know if there's something you don't like, or something you'd like me to add, and please let me know if and when you include my changes to the CVS (or if you don't, the reasons why you won't)
Thank you in advance :-) Dionysis Zindros.