Last modified: 2011-04-14 15:14:29 UTC
The userpage-userdoesnotexist warning generated in includes/EditPage.php isn't fitting our usage model well. For reasons beyond my control, all users have logins that are 5-digit numbers (i.e. 12345). The isn't very user friendly so our practice has been for people to create and then rename their User:12345 page to a more normal User:John_Doe page. Since the redirect is in place, the various links just work. We recently noticed the warnings (added about a year ago, but we've been slow to upgrade) of the form: User account "John Doe" is not registered. Please check if you want to create/edit this page. Everything works, but the warning are annoying and we'd like to suppress it. There are a number of ways to work around this, but we'd ideally like the warning to not be generated if there is a redirect to it from a page that matches an existing user. If that's not reasonable, a configuration knob to suppress the warning would be nice.
A quick hack would be to insert into [[MediaWiki:Common.css]]: div.mw-userpage-userdoesnotexist error {display:none;}