Page MenuHomePhabricator

Extension:CreateRedirect: Add redirect templates
Open, Needs TriagePublicFeature

Description

Background:

Extension:CreateRedirect is a nice little extension that creates redirects:

https://www.mediawiki.org/wiki/Extension:CreateRedirect

It might be a candidate for bundling or integration into core, but lacks some functionality, which we'll deal with here:

Wikipedia uses a variety of Redirect templates to categorise its redirects:

https://en.wikipedia.org/wiki/Category:Redirect_templates

Proposal

In Extension:CreateRedirect, it should be possible to add redirect templates (plural) to the redirect when creating it. Note that some pages can have more than one template on them, e.g. a plural redirect to a disambiguation page.

For that, you're going to need a curated list of all redirect templates, e.g. at [[MediaWiki:Redirect-template-definitions]], a drop-down and the ability to select more than one of them at once.

There is some overlap here with T393674: Extension:RedirectManager: Add redirect templates

Event Timeline

The RedirectManager extension might also be suitable for functionality like this.

Aklapper renamed this task from Improve functionality of Extension:CreateRedirect, add redirect templates to Extension:CreateRedirect: Add redirect templates.May 8 2025, 2:30 PM