راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده‌است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=alltransclusions (at)

(main | query | alltransclusions)
  • این پودمان نیازمند اختیارات خواندن است.
  • This module can be used as a generator.
  • منبع: MediaWiki
  • مجوز: GPL-2.0-or-later

List all transclusions (pages embedded using {{x}}), including non-existing.

پارامترها:
atcontinue

When more results are available, use this to continue.

atfrom

The title of the transclusion to start enumerating from.

atto

The title of the transclusion to stop enumerating at.

atprefix

Search for all transcluded titles that begin with this value.

atunique

Only show distinct transcluded titles. Cannot be used with atprop=ids. When used as a generator, yields target pages instead of source pages.

نوع: بولی (جزئیات)
atprop

Which pieces of information to include:

ids
Adds the page ID of the transcluding page (cannot be used with atunique).
title
Adds the title of the transclusion.
مقدارهای (جداشده با | یا جایگزین‌های آن): ids، title
پیش‌فرض: title
atnamespace

The namespace to enumerate.

یکی از مقدارهای زیر: -1، -2، 0، 1، 2، 3، 4، 5، 6، 7، 8، 9، 10، 11، 12، 13، 14، 15، 100، 101، 102، 103
پیش‌فرض: 10
atlimit

How many total items to return.

نوع: عدد صحیح یا max
The value must be between ۱ and ۵۰۰.
پیش‌فرض: 10
atdir

The direction in which to list.

یکی از مقدارهای زیر: ascending، descending
پیش‌فرض: ascending