Помош со Извршникот на МедијаВики
Ова е самосоздадена документациска страница за извршникот на МедијаВики.
Документација и примери: https://www.mediawiki.org/wiki/API
list=allredirects (ar)
- За овој модул се потребни права на читање.
- Овој модул може да се користи како создавач.
- Извор: MediaWiki
- Лиценца: GPL-2.0-or-later
List all redirects to a namespace.
Параметри:
- arcontinue
Употребете го ова за да продолжите кога има повеќе расположиви ставки.
- arfrom
The title of the redirect to start enumerating from.
- arto
The title of the redirect to stop enumerating at.
- arprefix
Search for all target pages that begin with this value.
- arunique
Only show distinct target pages. Cannot be used with arprop=ids|fragment|interwiki. When used as a generator, yields target pages instead of source pages.
- Type: boolean (details)
- arprop
Кои информации да се вклучат:
- ids
- Adds the page ID of the redirecting page (cannot be used with arunique).
- title
- Го додава насловот на пренасочувањето.
- fragment
- Adds the fragment from the redirect, if any (cannot be used with arunique).
- interwiki
- Adds the interwiki prefix from the redirect, if any (cannot be used with arunique).
- Вредности (одделете ги со | или алтернатива): fragment, ids, interwiki, title
- По основно: title
- arnamespace
Именскиот простор што се набројува.
- Една од следниве вредности: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 2300, 2301, 2302, 2303
- По основно: 0
- arlimit
Колку вкупно ставки да се дадат.
- Тип: цел број или max
- Вредноста мора да изнесува помеѓу 1 и 500.
- По основно: 10
- ardir
Насока на исписот.
- Една од следниве вредности: ascending, descending
- По основно: ascending
Примери:
- List target pages, including missing ones, with page IDs they are from, starting at B.
- api.php?action=query&list=allredirects&arfrom=B&arprop=ids|title [open in sandbox]
- List unique target pages.
- api.php?action=query&list=allredirects&arunique=&arfrom=B [open in sandbox]
- Ги дава сите целни страници, означувајќи ги отсутните.
- api.php?action=query&generator=allredirects&garunique=&garfrom=B [open in sandbox]
- Gets pages containing the redirects.
- api.php?action=query&generator=allredirects&garfrom=B [open in sandbox]