Manual:$wgInvalidRedirectTargets

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский
Reduction: $wgInvalidRedirectTargets
Array of invalid page redirect targets.
Introduced in version: 1.15.0
Removed in version: still in use
Allowed values: array
Default value: array( 'Filepath', 'Mypage', 'Mytalk' )
Other settings: Alphabetical | By function

Details[edit]

Array of invalid page redirect targets.

Attempting to create a redirect to any of the pages in this array will make the redirect fail. Special:Userlogout is hard-coded, so it does not need to be listed here.

As of now, this only checks special pages. Redirects to pages in other namespaces cannot be invalidated by this variable.