Manual:$wgDebugRedirects

From MediaWiki.org
Jump to: navigation, search
Debug/logging: $wgDebugRedirects
Displays redirect location instead of actually redirecting to the target URL
Introduced in version: 1.3.0
Removed in version: still in use
Allowed values: (boolean)
Default value: false

Other settings: Alphabetical | By Function


[edit] Details

This appears to help you know when a redirect is happening. If you set this to a value in your localSettings.php, then any time a "redirect" happens, you get stopped at the point the redirect begins by ending on a page that simply says "Location: " and after that is the URL that you are being sent to. It does not do the redirect automatically.

Note: This setting is for debugging HTTP redirects. This does not affect normal article redirects. (An example of a redirect it would affect would be capitalizing the first letter of an article, or localizing a special page name, provided you accessed the non-canonical form directly from a url.)
Language: English  • Français • 日本語
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox