Jump to content

Manual:$wgMaxRedirects

From mediawiki.org
Page titles and redirects: $wgMaxRedirects
Max number of redirects to follow when resolving redirects.
Introduced in version:1.15.0 (r45973)
Removed in version:1.39.0 (Gerrit change 779130; git #66f3ab25)
Allowed values:(integer)
Default value:1
Warning Warning: This may not work as intended. See phab:T32359.

Details

[edit]

Maximum numbers of redirects to follow when resolving redirects:

  • 1 means only the first redirect is resolved (default behavior).
  • 0 or less means no redirects are resolved.