Амодуль:Redirect/doc
Это страница документации Амодуль:Redirect.
Ахәҭаҷ/асекциа адырра апроцесс аԥсуа бызшәа аиҭагара ахь. Абызшәа адырра шәазҟазазар, ишәылшоит шәхы алашәырхәыр. |
| This module depends on the following other modules: |
This module contains functions to find the target of a redirect page.
The main function accepts the name of a single page. It determines if the page is a redirect; if so it looks up the page, extracts the target, and returns the target name as text. Its usage is Page-name. If page-name does not exist or is not a redirect then page-name is returned. If page-name is blank then blank is returned.
The function normally neither takes nor gives square brackets, so to show the result as a link use Page-name.
If the parameter bracket is given a nonblank value, brackets will be passed on if present.
Аҿырԥштәқәа
[акод аредакциазура]{{#invoke:redirect|main|WP:AFC}}→ Авикипедиа:AFC{{#invoke:redirect|main|[[WP:AFD]]|bracket=yes}}→ Авикипедиа:AFD{{#invoke:redirect|main|Wikipedia:Articles for deletion}}→ Авикипедиа:Articles for deletion{{#invoke:redirect|main|Wikipedia:Articles for rumination}}→ Авикипедиа:Articles for rumination
Note: WP:AFC and WP:AFD are both redirects, but Wikipedia:Articles for deletion is not, and Wikipedia:Articles for rumination does not exist.
Шәахә. иара убас
[акод аредакциазура]