Jump to content

Manual:$wgRedirectScript

From mediawiki.org
Server URLs and file paths: $wgRedirectScript
The URL of redirect.php.
Introduced in version:Before 1.1.0
Removed in version:1.22.0 (Gerrit change 56394; git #f9e54577)
Allowed values:(relative path)
Default value:"{$wgScriptPath }/redirect.php" (1.2+)

"{$wgScriptPath}/redirect.phtml" (pre 1.1.0 - 1.1)

(Note: The default value of this variable depends on other variables, such as the values set in Setup.php , after LocalSettings.php is executed)

Details

The URL of redirect.php, relative to the DOCUMENT_ROOT. This was used for backwards compatibility with earlier versions of MediaWiki. It was used by the nostalgia skin for the special pages drop-down.

See also