Page MenuHomePhabricator

Create redirect when moving modules
Open, Needs TriagePublic

Description

When moving a module called "A" to a module called "B", Module:A should say "return require('Module:B')". Also, https://gerrit.wikimedia.org/r/#/c/146608/ should be implemented. Redirects for js and css pages have already been enabled per T73200: Support redirects in JavaScriptContent and T73201: Support redirects in CssContent.

Event Timeline

GeoffreyT2000 raised the priority of this task from to Needs Triage.
GeoffreyT2000 updated the task description. (Show Details)
GeoffreyT2000 added a subscriber: GeoffreyT2000.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 8 2015, 2:13 AM

Change 146608 had a related patch set uploaded (by Jackmcbarn):
Add redirect support to modules

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

andymw added a subscriber: andymw.Oct 27 2016, 7:52 PM
putnik added a subscriber: putnik.Nov 2 2018, 3:48 PM
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptOct 27 2019, 8:42 AM
isaacl added a subscriber: isaacl.Feb 21 2020, 8:47 PM

Is there any update on the status of this task? This would enable renaming a deployed module seamlessly, without having to resort to a copy-and-paste move to the new module name, followed by redirecting the old module to the new one.

See https://en.wikipedia.org/wiki/Wikipedia_talk:Lua/Archive_3#Proposal_to_restrict_page_moves_in_the_%22Module%3A%22_namespace_to_administrators for background on the request.

Restricted Application added a project: User-DannyS712. · View Herald TranscriptFeb 21 2020, 8:49 PM

Change 574086 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Scribunto@master] Add redirects for modules

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