Jump to content

Handbuch:$wgInvalidRedirectTargets

From mediawiki.org
This page is a translated version of the page Manual:$wgInvalidRedirectTargets and the translation is 33% complete.
Seitentitel und Weiterleitungen: $wgInvalidRedirectTargets
Array of invalid page redirect targets.
Eingeführt in Version:1.15.0
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array)
Standardwert:[ 'Filepath', 'Mypage', 'Mytalk', 'Redirect', 'Mylog' ] (1.40+)

[ 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ] (1.22-1.39)

array( 'Filepath', 'Mypage', 'Mytalk' ) (1.15-1.21)

Details

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.