Page MenuHomePhabricator

Allow (interwiki) hard redirect whitelisting
Open, LowPublicFeature


If I understand correctly: [[mw:Manual:$wgDisableHardRedirects]] is either all or nothing, $wgRedirectSources is only about incoming redirects, $wgInvalidRedirectTargets is only about special pages.

Enabling hard redirects for everything (i.e. for all local interwikis, cf. bug 40352) is or can be too much. For instance, all Wikimedia projects are "local" to each other, but it's not very appropriate to automatically redirect a visitor, say, to a Wikipedia in another language.

It would be better to allow whitelisting for specific local interwikis, which could be used to enable hard redirects to specific "particularly close wikis"; and maybe also for specific special pages, if one wants to use a specific special page (maybe added by an extension) without worrying of all the additional possible special pages (as with $wgInvalidRedirectTargets).

Version: 1.23.0
Severity: enhancement
See Also:



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:35 AM
bzimport set Reference to bz44286.
bzimport added a subscriber: Unknown Object (MLST).

If technically feasible, I like this idea a lot. Wouldn't this help solving problems like making [[mw:Help:Contents]] available to 3rd party wikis or "import" templates and keep them in sync?

Is this a potential Possible Project?

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