Manual:$wgRedirectScript

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎français • ‎magyar • ‎português do Brasil • ‎čeština • ‎русский • ‎日本語
URLs and file paths: $wgRedirectScript
The URL of redirect.php.
Introduced in version:pre 1.1.0
Removed in version:1.22.0
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[edit]

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[edit]