Last modified: 2011-04-14 15:14:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T17894, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15894 - userpage-userdoesnotexist warning should be more flexible
userpage-userdoesnotexist warning should be more flexible
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.12.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-08 19:34 UTC by Brooks Davis
Modified: 2011-04-14 15:14 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brooks Davis 2008-10-08 19:34:58 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.
Comment 1 Raimond Spekking 2008-10-08 19:41:31 UTC
A quick hack would be to insert into [[MediaWiki:Common.css]]:

div.mw-userpage-userdoesnotexist error {display:none;}

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links