Help:Redirects/hu

Az átirányítások az olvasókat egyik lapról a másikra navigálják. Akkor lehetnek hasznosak, ha egy szócikknek alternatív névváltozatai vagy kiejtései vannak.



Átirányítások típusai
Az átirányításoknak két típusa létezik:

Only hard redirection is described in this current article. Usually this is achieved via a template; see corresponding article on Meta.
 * Hard redirection: Readers navigated to the redirect page are taken directly to the target page (usually other pages of the same wiki).
 * Soft redirection: Readers are left on the redirect page but given the option of clicking the link to the target page.

Megjelenése
For hard redirects, you immediately get the target page. However, it shows a small notice after the top title to indicate you arrived here indirectly.





Átirányítás létrehozása
Egy lap átnevezésekor a régi névalakról automatikusan átirányítás készül az újra.

Users with the " " right may move a page without creating a redirect. By default this right is assigned to sysops and bots.

You may start a new page with the name you want to direct from (see ). You can also use an existing page that you are making inactive as a page by going to that page and using the "edit" tab at the top. In either case, you will be inserting the following code at the very first text position of the Edit window for the page:


 * 1) REDIRECT pagename

where pagename is the name of the destination page. The word "redirect" is not case-sensitive, but there must be no space before the " " symbol. Any text before the code will disable the code and prevent a redirect. Any text or regular content code after the redirect code will be ignored (and should be deleted from an existing page). However, to put or keep the current page name listed in a Category, the usual tag for that category is entered or kept on a line after the redirect code entry.

Redirections can be simple page names or specified using a namespace. They can be suffixed with a section name if you have the corresponding anchor defined on the target page.

Examples of valid operational redirections:


 * #REDIRECTHelp:Magic_words
 * #redirect Help:Magic_words
 * #Redirect Manual:$wgConf
 * #REDIRECT MediaWiki/fr the translated page is imposed

You should 'preview' (using the button below the Edit window, or use Alt) to check that you have entered the correct destination page name.

When redirection is valid (and operational) you will see in the previewed text the name of the target you have provided, following a 'next line' icon (image) for example as follows: &#x021B3; Help:Magic words#URL encoded page names This is what you must get.

When redirection is not valid, the previewed text looks like a numbered list item with the destination page in blue: (it will also be the contents of the redirection page if you save as it is):

1. REDIRECT  pagename

If the pagename as you typed it is not a valid page, it will show in red. If there is no valid destination page, you should not create the redirect.

Korlátok
A redirect target cannot depend on a variable, template, or parser function. If that is the case, the browser will not be automatically redirected on visiting the page.

Example of redirection not allowed (not operational):
 * #REDIRECT although  is operational.



JavaScript-átirányítások
In order to avoid JavaScript functionality from breaking, all JavaScript pages have a different redirect syntax from regular pages. This syntax allows for proper execution of the page by the browser's JavaScript engine, as well as being recognised by MediaWiki as a redirect. To create a JavaScript page redirect, the format that must be used is as follows:

/* #REDIRECT */mw.loader.load( "" );

Where  is the target page name.



Átirányítások megtekintése
Az átirányítás létrejötte után a lapot nem nézheted meg sem a nevére kereséssel, sem az arra mutató linkekkel. Ilyenkor a céllap címe alatt megjelenik az átirányítólapra mutató hivatkozás. Erre kattintva az átirányításra jutsz, ahol egy nyilat és a céllap címét látod (a hivatkozás hozzáadja az URL-hez a  paramétert).



Help: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.



Átirányítás törlése
Általában nem szükséges az átirányítások törlése. 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 want to move a page over a redirect that has only one edit in its history and targeted to the old page name, there is no need to delete the redirect: it is overwritted. If the redirect has more than one history entry, or the redirect target is somewhere else, then it can only be deleted-and-moved by an administrator.

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.



Mikor ne használjunk átirányítást?


Dupla átirányítások
Dupla átirányításkor a céllap maga is átirányítás, ami nem fog működni. 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 page move. 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,, to automatically fix double redirects with a job queue. However, it tends to aggravate page move vandalism, so it is disabled by default. The __STATICREDIRECT__ magic word can be used to skip the double-redirect fix on a particular page.



Hiányzik a céllap
Ha az átirányítás célja nem létezik, az átirányítás nem fog működni. A hibás átirányításokat a Special:BrokenRedirects lapon láthatod.



Átirányítás kategóriára
Kategóriára való átirányításhoz a „Kategória” elé kettőspontot kell írni, különben az átirányítólap meg fog jelenni a kategóriában.


 * 1) REDIRECT Category:Glossary

Transcluding a redirect
When a page called for inclusion is a redirect page, the redirect target is included instead, with the same parameters, without any redirect message. A double redirect does not work.

This allows to create several names for the same template.

Links to redirect
An internal link to a redirect page has CSS class . This can be useful to make them stand out, for clean-up work involving bypassing redirects.