Page MenuHomePhabricator

userpage-userdoesnotexist warning should be more flexible
Open, LowPublicFeature

Description

Author: brooks

Description:
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.


Version: 1.12.x
Severity: enhancement

Details

Reference
bz15894

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:19 PM
bzimport set Reference to bz15894.
bzimport added a subscriber: Unknown Object (MLST).

A quick hack would be to insert into [[MediaWiki:Common.css]]:

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

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: wikibugs-l-list.