Extension:SuppleRedirect

The  extension provides a way to replace red link for redirect other site automatically if find same title on other sites by MediaWiki REST API (1.35+).

And set redirect automatically on new page also.

It useful to divide your site or build new sites.

Permanently redirect
If you want to redirect permanently (e.g. using to divide your site), add this variable to LocalSettings.php.

By default (if not set), may be used 307 Temporary Redirect.

Exclude some titles
If you want to exclude some titles, set $wgSuppleRedirectExcludes on LocalSettings.php as follows.

You must set uppercase first character because of MediaWiki's restriction.

But you may not restricted with $wgCapitalLinks = false.

Timeout
This extension timed out 60 seconds by default to call MediaWiki Rest API.

We recommend to set shorten &quot;default_socket_timeout&quot; on php.ini as possible.