Weiterleitung

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen

Weiterleitungen werden verwendet, um Benutzer von einem Seitentitel zum nächsten weiterzuleiten. Sie können nützlich sein, wenn ein Artikel mit mehreren Titeln bezeichnet werden kann oder alternative Zeichensetzungen oder Schreibweisen aufweist.

Weiterleitung anlegen

Du kannst eine neue Seite erstellen mit dem Seitentitel, von dem aus du weiterleiten möchtest. Du kannst auch eine bestehende Seite verwenden und diese als Seite deaktiveren, indem du auf der Seite oben den Reiter "Bearbeiten" verwendest. In jedem Fall gibst du den folgenden Code an allererster Stelle im Bearbeitungsfenster der Seite ein:

#REDIRECT [["Seitentitel"]]

"Seitentitel" ist der Name der Zielseite. Im Wort "redirect" ist die Groß- und Kleinschreibung nicht wichtig, jedoch darf vor dem "#"-Symbol kein Leerzeichen oder anderes Zeichen stehen. Jeder Text vor dem Code macht den Code unwirksam und verhindert eine Weiterleitung. Jeder Text oder normale Inhalt nach dem Code wird ignoriert (und sollte von der Seite gelöscht werden). Wenn hingegen die Seite noch in einer Kategorie aufscheinen soll, kann der Code für die Kategorie eine Zeile unterhalb des Weiterleitungscodes stehen bleiben.

You should 'preview' (using the button below the Edit window, or use Alt-P) to check that you have entered the correct destination page name. The preview page will not look like the resulting redirect page, it will look like a numbered list, with the destination page in blue:

1. REDIRECT  Seitentitel

Wenn der Seitentitel, den du angegeben hast, keine gültige Seite ist, erscheint der Link rot. Wenn noch keine gültige Zielseite vorhanden ist, solltest du keine Weiterleitung erstellen.

Weiterleitung ansehen

After making a redirect at a page, you can no longer get to that page by using its name or by any link using that name. However, near the top of the destination page, a notice that you have been forwarded appears, with the source pagename as an active link to it. Click this to get back to the redirected page, showing the large bent arrow symbol and the destination for the redirect.

By doing this, you can do all the things that any wiki page allows. You can go to the associated discussion page to discuss the redirect. You can view the history of the page, including a record of the redirect. You can edit the page if the redirect is wrong, and you can revert to an older version to remove the redirect.

Weiterleitung löschen

There's generally no need to delete redirects. They do not occupy a significant amount of database space. If a page name is vaguely meaningful, there's no harm, and some benefit, in having it as a redirect to the more relevant or current page.

If you do need to delete a redirect, e.g. if the page name is offensive, or you wish to discourage people from referring to a concept by that name, then you simply go to the redirect page as mentioned above, and follow the procedures at Vorlage:Ll.

Doppelte Weiterleitungen

A double redirect is a page redirecting to a page which is itself a redirect, and it will not work. Instead, people will be presented with a view of the next redirect page. This is a deliberate restriction, partly to prevent infinite loops, and partly to keep things simple.

However, you could look out for double redirects and eliminate them by changing them to be 1-step redirects instead. You are most likely to need to do this after a significant https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Moving_a_page. Use the "what links here" toolbox link to find double redirects to a particular page, or use Special:DoubleRedirects to find them throughout the whole wiki.

There is an option, https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgFixDoubleRedirects, to automatically fix double redirects with a https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Job_queue. However, it tends to aggravate page move vandalism, so it is disabled by default. The __STATICREDIRECT__ https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Magic_words#Behavior_switches can be used to skip the double-redirect fix on a particular page.

Weiterleitung zu einer Seite im Kategorien-Namensraum

Um auf eine Kategorienseite weiterzuleiten und zu verhindern, dass die Weiterleitung in dieser Kategorie aufscheint, stell dem Wort "Kategorie" einen Doppelpunkt voran, ansonsten wird die Weiterleitungsseite selbst in die Kategorie eingeordnet:

#REDIRECT [[:Category:Glossary]]

Weiterleitung unterdrücken

Users with the suppressredirect https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:User_rights may move a page without creating a redirect. By default this right is assigned to sysops and bots.

Siehe auch