Page MenuHomePhabricator

Add option to create a redirect from the main namespace to the user page
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):
I would like to be able to automatically create a redirect from the main namespace to the user page, if such a redirect does not exist.
For example, if user "Jane" logs in, I would like the extension to check, whether the site "Jane" exists. If it does not exist, it should create it and redirect it to "User:Jane"
The feature should be optional and be turned off in the default configuration

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
This will enable users to link their user page by just stating [[Jane]], which would make at least our wiki much more user-friendly.

Benefits (why should this be implemented?):
Hmm, see use cases :)

I have already implemented this in my own fork and will provide the code once I figure out my way through phabricator and gerrit (bear with me, this is my first contribution to mediawiki)

Event Timeline

Change 814194 had a related patch set uploaded (by NitramLegov; author: NitramLegov):

[mediawiki/extensions/CreateUserPage@master] add option to create redirect from main namespace to user page (T313132)

https://gerrit.wikimedia.org/r/814194

Looks like it worked. Looking forward to your thoughts :-)

Change 814194 had a related patch set uploaded (by Cicalese; author: NitramLegov):

[mediawiki/extensions/CreateUserPage@master] add option to create redirect from main namespace to user page

https://gerrit.wikimedia.org/r/814194

Change 814194 merged by jenkins-bot:

[mediawiki/extensions/CreateUserPage@master] add option to create redirect from main namespace to user page

https://gerrit.wikimedia.org/r/814194

Change 930923 had a related patch set uploaded (by Cicalese; author: NitramLegov):

[mediawiki/extensions/CreateUserPage@REL1_39] add option to create redirect from main namespace to user page

https://gerrit.wikimedia.org/r/930923

Change 930924 had a related patch set uploaded (by Cicalese; author: NitramLegov):

[mediawiki/extensions/CreateUserPage@REL1_40] add option to create redirect from main namespace to user page

https://gerrit.wikimedia.org/r/930924

Change 930923 merged by jenkins-bot:

[mediawiki/extensions/CreateUserPage@REL1_39] add option to create redirect from main namespace to user page

https://gerrit.wikimedia.org/r/930923

Change 930924 merged by jenkins-bot:

[mediawiki/extensions/CreateUserPage@REL1_40] add option to create redirect from main namespace to user page

https://gerrit.wikimedia.org/r/930924