Помош со Извршникот на МедијаВики

Ова е самосоздадена документациска страница за извршникот на МедијаВики.

Документација и примери: https://www.mediawiki.org/wiki/API

Главен модул

  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Статус: Сите ставки на страницава би требало да работат, но Извршникот сепак е во активна разработка, што значи дека може да се смени во секое време. Објавите за измени можете да ги дознавате ако се пријавите на поштенскиот список „the mediawiki-api-announce“.

Погрешни барања: Кога Извршникот ќе добие погрешни барања, ќе се испрати HTTP-заглавие со клучот „MediaWiki-API-Error“ и потоа на вредностите на заглавието и шифрата на грешката што ќе се појават ќе им биде зададена истата вредност. ПОвеќе информации ќе најдете на Извршник: Грешки и предупредувања.

Параметри:
action

Кое дејство да се изврши.

antispoof
Проверете го корисничко име со нормализациската проверка на AntiSpoof.
block
Блокирај корисник.
changeauthenticationdata
Change authentication data for the current user.
checktoken
Проверка на полноважноста на шифрата од action=query&meta=tokens.
clearhasmsg
Ја отстранува ознаката „hasmsg“ од тековниот корисник.
clientlogin
Log in to the wiki using the interactive flow.
compare
Добивање на разлика помеѓу две страници.
createaccount
Создај нова корисничка сметка.
cspreport
Used by browsers to report violations of the Content Security Policy. This module should never be used, except when used automatically by a CSP compliant web browser.
delete
Избриши страница.
edit
Создај или уреди страници.
emailuser
Испрати е-пошта на корисник.
expandtemplates
Ги проширува сите шаблони во викитекст.
feedcontributions
Дава канал со придонеси на корисник.
feedrecentchanges
Дава канал со скорешни промени.
feedwatchlist
Дава канал од набљудуваните.
filerevert
Врати податотека на претходна верзија.
help
Прикажувај помош за укажаните модули.
imagerotate
Сврти една или повеќе слики.
import
Увези страница од друго вики или од XML-податотека.
linkaccount
Link an account from a third-party provider to the current user.
login
Најавете се и добијте колачиња за заверка.
logout
Одјави се и исчисти ги податоците на седницата.
managetags
Perform management tasks relating to change tags.
mergehistory
Merge page histories.
mobileview
Дава податоци потребни за мобилен приказ.
move
Премести страница.
opensearch
Пребарување на викито со протоколот OpenSearch.
options
Смени ги нагодувањата на тековниот корисник.
paraminfo
Набави информации за извршнички (API) модули.
parse
Parses content and returns parser output.
patrol
Испатролирај страница или преработка.
protect
Смени го степенот на заштита на страница.
purge
Purge the cache for the given titles.
query
Fetch data from and about MediaWiki.
removeauthenticationdata
Remove authentication data for the current user.
resetpassword
Send a password reset email to a user.
revisiondelete
Delete and undelete revisions.
rollback
Undo the last edit to the page.
rsd
Export an RSD (Really Simple Discovery) schema.
setnotificationtimestamp
Update the notification timestamp for watched pages.
setpagelanguage
Change the language of a page.
stashedit
Prepare an edit in shared cache.
tag
Add or remove change tags from individual revisions or log entries.
unblock
Unblock a user.
undelete
Restore revisions of a deleted page.
unlinkaccount
Remove a linked third-party account from the current user.
upload
Upload a file, or get the status of pending uploads.
userrights
Change a user's group membership.
validatepassword
Validate a password against the wiki's password policies.
watch
Додај или отстрани страници од набљудуваните на тековниот корисник.
webapp-manifest
Дава манифест на семрежиот прилог.
tokens
Застарен. Get tokens for data-modifying actions.
Една вредност: antispoof, block, changeauthenticationdata, checktoken, clearhasmsg, clientlogin, compare, createaccount, cspreport, delete, edit, emailuser, expandtemplates, feedcontributions, feedrecentchanges, feedwatchlist, filerevert, help, imagerotate, import, linkaccount, login, logout, managetags, mergehistory, mobileview, move, opensearch, options, paraminfo, parse, patrol, protect, purge, query, removeauthenticationdata, resetpassword, revisiondelete, rollback, rsd, setnotificationtimestamp, setpagelanguage, stashedit, tag, unblock, undelete, unlinkaccount, upload, userrights, validatepassword, watch, webapp-manifest, tokens
По основно: help
format

Формат на изводот.

json
Давај го изводот во JSON-формат.
jsonfm
Давај го изводот во JSON-формат (подобрен испис во HTML).
none
Де давај извод.
php
Давај го изводот во серијализиран PHP-формат.
phpfm
Давај го изводот во серијализиран PHP-формат (подобрен испис во HTML).
rawfm
Давај го изводот со елементи за отстранување грешки во JSON-формат (подобрен испис во HTML).
xml
Давај го изводот во XML-формат.
xmlfm
Давај го изводот во XML-формат (подобрен испис во HTML).
Една вредност: json, jsonfm, none, php, phpfm, rawfm, xml, xmlfm
По основно: jsonfm
maxlag

Најголемиот допуштен заостаток може да се користи кога МедијаВики е воспоставен на грозд умножен од базата. За да спречите дополнителни заостатоци од дејства, овој параметар му наложува на клиентот да почека додека заостатокот не се намали под укажаната вредност. Во случај на преголем заостаток, системт ја дава грешката со код maxlag со порака од обликот Го чекам $host: има заостаток од $lag секунди.
Погл. Прирачник: Параметар Maxlag

Тип: цел број
smaxage

Задајте му олку секунди на заглавието за контрола HTTP-меѓускладот s-maxage. Грешките никогаш не се чуваат во меѓускладот.

Тип: цел број
По основно: 0
maxage

Задајте му олку секунди на заглавието за контрола HTTP-меѓускладот s-maxage. Грешките никогаш не се чуваат во меѓускладот.

Тип: цел број
По основно: 0
assert

Провери дали корисникот е најавен ако е зададено user или дали го има корисничкото право на бот, ако е зададено bot.

Една вредност: user, bot
assertuser

Verify the current user is the named user.

Тип: корисничко име
requestid

Тука внесената вредност ќе биде вклучена во извештајот. Може да се користи за разликување на барањата.

servedby

Вклучи го домаќинското име што го услужило барањето во исходот.

Тип: булов (подробно)
curtimestamp

Вклучи тековно време и време и датум во исходот.

Тип: булов (подробно)
responselanginfo

Include the languages used for uselang and errorlang in the result.

Тип: булов (подробно)
origin

Кога му пристапувате на Пирлогот користејќи повеќедоменско AJAX-барање (CORS), задајте му го на ова изворниот домен. Ова мора да се вклучи во секое подготвително барање и затоа мора да биде дел од URI на барањето (не главната содржина во POST). Ова мора точно да се совпаѓа со еден од изворниците на заглавието Origin:, така што мора да е зададен на нешто како https://mk.wikipedia.org or https://meta.wikimedia.org. Ако овој параметар не се совпаѓа со заглавието Origin:, ќе се појави одговор 403. Ако се совпаѓа, а изворникот е на бел список (на допуштени), тогаш ќе се зададе заглавието Access-Control-Allow-Origin.

uselang

Јазик за преведување на пораките. Список на јазични кодови ќе најдете на action=query&meta=siteinfo со siprop=languages или укажете user за да го користите тековно зададениот јазик корисникот, или пак укажете content за да го користите јазикот на содржината на ова вики.

По основно: user
errorformat

Format to use for warning and error text output.

plaintext
Wikitext with HTML tags removed and entities replaced.
wikitext
Unparsed wikitext.
html
HTML.
raw
Message key and parameters.
none
No text output, only the error codes.
bc
Format used prior to MediaWiki 1.29. errorlang and errorsuselocal are ignored.
Една вредност: plaintext, wikitext, html, raw, none, bc
По основно: bc
errorlang

Language to use for warnings and errors. action=query&meta=siteinfo with siprop=languages returns a list of language codes, or specify content to use this wiki's content language, or specify uselang to use the same value as the uselang parameter.

По основно: uselang
errorsuselocal

If given, error texts will use locally-customized messages from the МедијаВики namespace.

Тип: булов (подробно)
Примери:
Помош за главниот модул
api.php?action=help [open in sandbox]
Сета помош на една страница
api.php?action=help&recursivesubmodules=1 [open in sandbox]
Дозволи:
writeapi
Можност за запишување во извршникот
{{PLURAL:3|Доделена на}: all, user и bot
apihighlimits
Уоптреба на повисоки ограничувања за приложни барања (бавни барања: 500; брзи барања: 5000). Ограничувањата за бавни барања важат и за повеќевредносни параметри.
{{PLURAL:2|Доделена на}: bot и sysop

action=antispoof

  • За овој модул се потребни права на читање.
  • Извор: AntiSpoof
  • Лиценца: GPL-2.0+

Проверете го корисничко име со нормализациската проверка на AntiSpoof.

Параметар:
username

Корисничко име за проверка со AntiSpoof.

Овој параметар е задолжителен.
Пример:
Провери го корисничкото име „Foo“ со AntiSpoof
api.php?action=antispoof&username=Foo [open in sandbox]

action=block

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Блокирај корисник.

Параметри:
user

Корисничко име, IP-адреса или IP-опсег ако сакате да блокирате.

Тип: корисничко име
userid

User ID to block. Cannot be used together with user.

Тип: цел број
expiry

Време на истек. Може да биде релативно (на пр. 5 months или „2 недели“) или пак апсолутно (на пр. 2014-09-18T12:34:56Z). Ако го зададете infinite, indefinite или never, блокот ќе трае засекогаш.

По основно: never
reason

Причина за блокирање.

По основно: (празно)
anononly

Блокирај само анонимни корисници (т.е. оневозможи анонимно уредување од оваа IP-адреса).

Тип: булов (подробно)
nocreate

Оневозможи создавање кориснички сметки.

Тип: булов (подробно)
autoblock

Автоматски блокирај ја последно употребената IP-адреса и сите понатамошни IP-адреси од кои лицето ќе се обиде да се најави.

Тип: булов (подробно)
noemail

Оневозможи му на корисникот да испаќа е-пошта преку викито. (Го бара правото code>blockemail</code>).

Тип: булов (подробно)
hidename

Скриј го корисничкото име од дневникот на блокирања. (Го бара правото hideuser)

Тип: булов (подробно)
allowusertalk

Овозможи му на корисникот да си ја уредува сопствената страница за разговор (зависи од $wgBlockAllowsUTEdit).

Тип: булов (подробно)
reblock

Ако корисникот е веќе блокиран, наметни врз постоечкиот блок.

Тип: булов (подробно)
watchuser

Набљудувај ја корисничката страница и страницата за разговор на овој корисник или IP-адреса

Тип: булов (подробно)
tags

Change tags to apply to the entry in the block log.

Вредности (одделете ги со |):
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Блокирај ја IP-адресата 192.0.2.5 три дена со причината Прва опомена.
api.php?action=block&user=192.0.2.5&expiry=3%20days&reason=First%20strike&token=123ABC [open in sandbox]
Блокирај го корисникот Vandal (Вандал) бесконечно со причината Vandal (Вандализам) и оневозможи создавање на нови сметки и праќање е-пошта.
api.php?action=block&user=Vandal&expiry=never&reason=Vandalism&nocreate=&autoblock=&noemail=&token=123ABC [open in sandbox]

action=changeauthenticationdata (changeauth)

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Change authentication data for the current user.

Параметри:
changeauthrequest

Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=change.

Овој параметар е задолжителен.
changeauthtoken

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
*
This module accepts additional parameters depending on the available authentication requests. Use action=query&meta=authmanagerinfo with amirequestsfor=change (or a previous response from this module, if applicable) to determine the requests available and the fields that they use.

action=checktoken

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Проверка на полноважноста на шифрата од action=query&meta=tokens.

Параметри:
type

Тип на шифра што се испробува.

Овој параметар е задолжителен.
Една вредност: createaccount, csrf, login, patrol, rollback, userrights, watch
token

Шифра што се испробува.

Овој параметар е задолжителен.
maxtokenage

Најголема допуштена старост на шифрата, во секунди.

Тип: цел број
Пример:
Испробај ја полноважноста на csrf-шифрата.
api.php?action=checktoken&type=csrf&token=123ABC [open in sandbox]

action=clearhasmsg

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Ја отстранува ознаката „hasmsg“ од тековниот корисник.

Пример:
Отстрани ја ознаката „hasmsg“ од тековниот корисник
api.php?action=clearhasmsg [open in sandbox]

action=clientlogin (login)

  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Log in to the wiki using the interactive flow.

The general procedure to use this module is:

  1. Fetch the fields available from action=query&meta=authmanagerinfo with amirequestsfor=login, and a login token from action=query&meta=tokens.
  2. Present the fields to the user, and obtain their submission.
  3. Post to this module, supplying loginreturnurl and any relevant fields.
  4. Check the status in the response.
    • If you received PASS or FAIL, you're done. The operation either succeeded or it didn't.
    • If you received UI, present the new fields to the user and obtain their submission. Then post to this module with logincontinue and the relevant fields set, and repeat step 4.
    • If you received REDIRECT, direct the user to the redirecttarget and wait for the return to loginreturnurl. Then post to this module with logincontinue and any fields passed to the return URL, and repeat step 4.
    • If you received RESTART, that means the authentication worked but we don't have a linked user account. You might treat this as UI or as FAIL.
Параметри:
loginrequests

Only use these authentication requests, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=login or from a previous response from this module.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
loginmessageformat

Format to use for returning messages.

Една вредност: html, wikitext, raw, none
По основно: wikitext
loginmergerequestfields

Merge field information for all authentication requests into one array.

Тип: булов (подробно)
loginpreservestate

Preserve state from a previous failed login attempt, if possible.

Тип: булов (подробно)
loginreturnurl

Return URL for third-party authentication flows, must be absolute. Either this or logincontinue is required.

Upon receiving a REDIRECT response, you will typically open a browser or web view to the specified redirecttarget URL for a third-party authentication flow. When that completes, the third party will send the browser or web view to this URL. You should extract any query or POST parameters from the URL and pass them as a logincontinue request to this API module.

logincontinue

This request is a continuation after an earlier UI or REDIRECT response. Either this or loginreturnurl is required.

Тип: булов (подробно)
logintoken

Шифра „login“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
*
This module accepts additional parameters depending on the available authentication requests. Use action=query&meta=authmanagerinfo with amirequestsfor=login (or a previous response from this module, if applicable) to determine the requests available and the fields that they use.
Примери:
Start the process of logging in to the wiki as user Example with password ExamplePassword.
api.php?action=clientlogin&username=Example&password=ExamplePassword&loginreturnurl=http://example.org/&logintoken=123ABC [open in sandbox]
Continue logging in after a UI response for two-factor auth, supplying an OATHToken of 987654.
api.php?action=clientlogin&logincontinue=1&OATHToken=987654&logintoken=123ABC [open in sandbox]

action=compare

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Добивање на разлика помеѓу две страници.

Мора да се даде бројот на преработката, насловот на страницата или пак нејзина назнака за „од“ и за „на“.

Параметри:
fromtitle

Прв наслов за споредба.

fromid

Прва назнака на страница за споредба.

Тип: цел број
fromrev

Прва преработка за споредба.

Тип: цел број
fromtext

Use this text instead of the content of the revision specified by fromtitle, fromid or fromrev.

frompst

Do a pre-save transform on fromtext.

Тип: булов (подробно)
fromcontentformat

Content serialization format of fromtext.

Една вредност: text/x-wiki, text/javascript, application/json, text/css, text/plain
fromcontentmodel

Content model of fromtext. If not supplied, it will be guessed based on the other parameters.

Една вредност: wikitext, javascript, json, css, text
totitle

Втор наслов за споредба.

toid

Втора назнака на страница за споредба.

Тип: цел број
torev

Бтора преработка за споредба.

Тип: цел број
torelative

Use a revision relative to the revision determined from fromtitle, fromid or fromrev. All of the other 'to' options will be ignored.

Една вредност: prev, next, cur
totext

Use this text instead of the content of the revision specified by totitle, toid or torev.

topst

Do a pre-save transform on totext.

Тип: булов (подробно)
tocontentformat

Content serialization format of totext.

Една вредност: text/x-wiki, text/javascript, application/json, text/css, text/plain
tocontentmodel

Content model of totext. If not supplied, it will be guessed based on the other parameters.

Една вредност: wikitext, javascript, json, css, text
prop

Which pieces of information to get.

diff
The diff HTML.
diffsize
The size of the diff HTML, in bytes.
rel
The revision IDs of the revision previous to 'from' and after 'to', if any.
ids
The page and revision IDs of the 'from' and 'to' revisions.
title
The page titles of the 'from' and 'to' revisions.
user
The user name and ID of the 'from' and 'to' revisions.
comment
The comment on the 'from' and 'to' revisions.
parsedcomment
The parsed comment on the 'from' and 'to' revisions.
size
The size of the 'from' and 'to' revisions.
Вредности (одделете ги со |): diff, diffsize, rel, ids, title, user, comment, parsedcomment, size
По основно: diff|ids|title
Пример:
Дај разлика помеѓу преработките 1 и 2
api.php?action=compare&fromrev=1&torev=2 [open in sandbox]

action=createaccount (create)

  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Создај нова корисничка сметка.

The general procedure to use this module is:

  1. Fetch the fields available from action=query&meta=authmanagerinfo with amirequestsfor=create, and a createaccount token from action=query&meta=tokens.
  2. Present the fields to the user, and obtain their submission.
  3. Post to this module, supplying createreturnurl and any relevant fields.
  4. Check the status in the response.
    • If you received PASS or FAIL, you're done. The operation either succeeded or it didn't.
    • If you received UI, present the new fields to the user and obtain their submission. Then post to this module with createcontinue and the relevant fields set, and repeat step 4.
    • If you received REDIRECT, direct the user to the redirecttarget and wait for the return to createreturnurl. Then post to this module with createcontinue and any fields passed to the return URL, and repeat step 4.
    • If you received RESTART, that means the authentication worked but we don't have a linked user account. You might treat this as UI or as FAIL.
Параметри:
createrequests

Only use these authentication requests, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=create or from a previous response from this module.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
createmessageformat

Format to use for returning messages.

Една вредност: html, wikitext, raw, none
По основно: wikitext
createmergerequestfields

Merge field information for all authentication requests into one array.

Тип: булов (подробно)
createpreservestate

Preserve state from a previous failed login attempt, if possible.

If action=query&meta=authmanagerinfo returned true for hasprimarypreservedstate, requests marked as primary-required should be omitted. If it returned a non-empty value for preservedusername, that username must be used for the username parameter.

Тип: булов (подробно)
createreturnurl

Return URL for third-party authentication flows, must be absolute. Either this or createcontinue is required.

Upon receiving a REDIRECT response, you will typically open a browser or web view to the specified redirecttarget URL for a third-party authentication flow. When that completes, the third party will send the browser or web view to this URL. You should extract any query or POST parameters from the URL and pass them as a createcontinue request to this API module.

createcontinue

This request is a continuation after an earlier UI or REDIRECT response. Either this or createreturnurl is required.

Тип: булов (подробно)
createtoken

Шифра „createaccount“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
*
This module accepts additional parameters depending on the available authentication requests. Use action=query&meta=authmanagerinfo with amirequestsfor=create (or a previous response from this module, if applicable) to determine the requests available and the fields that they use.

action=cspreport

  • Овој модул е внатрешен или нестабилен. Работењето може да му се промени без предупредување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Used by browsers to report violations of the Content Security Policy. This module should never be used, except when used automatically by a CSP compliant web browser.

Параметри:
reportonly

Mark as being a report from a monitoring policy, not an enforced policy

Тип: булов (подробно)
source

What generated the CSP header that triggered this report

По основно: internal

action=delete

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Избриши страница.

Параметри:
title

Наслов на страницата што сакате да ја избришете. Не може да се користи заедно со pageid.

pageid

Назнака на страницата што сакате да ја избришете. Не може да се користи заедно со title.

Тип: цел број
reason

Причина за бришење. Ако не се зададе, ќе се наведе автоматска причина.

tags

Change tags to apply to the entry in the deletion log.

Вредности (одделете ги со |):
watch
Застарен.

Додај ја страницата во набљудуваните на тековниот корисник.

Тип: булов (подробно)
watchlist

Безусловно додај или отстрани ја страницата од набљудуваните на тековниот корисник, користете ги нагодувањата или не ги менувајте набљудуваните.

Една вредност: watch, unwatch, preferences, nochange
По основно: preferences
unwatch
Застарен.

Отстрани ја страницата од набљудуваните на тековниот корисник.

Тип: булов (подробно)
oldimage

Името на страта слика за бришење според добиеното од action=query&prop=imageinfo&iiprop=archivename.

token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Избриши ја Main Page.
api.php?action=delete&title=Main%20Page&token=123ABC [open in sandbox]
Избриши ја Main Page со причината Preparing for move.
api.php?action=delete&title=Main%20Page&token=123ABC&reason=Preparing%20for%20move [open in sandbox]

action=edit

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Создај или уреди страници.

Параметри:
title

Наслов на страницата што сакате да ја уредите. Не може да се користи заедно со pageid.

pageid

Назнака на страницата што сакате да ја уредите. Не може да се користи заедно со title.

Тип: цел број
section

Број на поднасловот. 0 за првиот, new за нов.

sectiontitle

Назив на новиот поднаслов

text

Содржина на страницата.

summary

Опис на уредувањето. Ова е и назив на поднасловот кога не се зададени section=new и sectiontitle.

tags

Ознаки за измена што се однесуваат на преработката.

Вредности (одделете ги со |):
minor

Ситно уредување.

Тип: булов (подробно)
notminor

Неситно уредување.

Тип: булов (подробно)
bot

Означи го уредувањево како ботовско.

Тип: булов (подробно)
basetimestamp

Датум и време на преработката на базата, кои се користат за утврдување на спротиставености во уредувањето. Може да се добие преку action=query&prop=revisions&rvprop=timestamp.

Тип: време и датум (допуштени формати)
starttimestamp

Датум и време кога сте почнало уредувањето, кои се користат за утврдување на спротиставености во уредувањата. Соодветната вредност се добива користејќи curtimestamp кога ќе почнете со уредување (на пр. кога ќе се вчита содржината што ќе ја уредувате).

Тип: време и датум (допуштени формати)
recreate

Занемари ги грешките што се појавуваат во врска со страницата што е избришана во меѓувреме.

Тип: булов (подробно)
createonly

Не ја уредувај страницата ако веќе постои.

Тип: булов (подробно)
nocreate

Дај грешка ако страницата не постои.

Тип: булов (подробно)
watch
Застарен.

Додај ја страницата во набљудуваните на тековниот корисник.

Тип: булов (подробно)
unwatch
Застарен.

Отстрани ја страницата од набљудуваните на тековниот корисник.

Тип: булов (подробно)
watchlist

Безусловно додај или отстрани ја страницата од набљудуваните на тековниот корисник, користете ги нагодувањата или не ги менувајте набљудуваните.

Една вредност: watch, unwatch, preferences, nochange
По основно: preferences
md5

MD5-тарабата на параметарот text, или параметрите prependtext и appendtext поврзани. Ако е зададено, уредувањето нема да се изврши без тарабата да биде исправна.

prependtext

Ставете го текстов на почетокот од страницата. Го заменува text.

appendtext

Ставете го текстов на крајот од страницата. Го заменува text.

Користете section=new наместо овој параметар за да приложите кон новиот поднаслов.

undo

Отповикај ја преработкава. Ги заменува text, prependtext и appendtext.

Тип: цел број
undoafter

Отповикај ги преработките од undo до оваа. Ако не е зададено, отповикај само една.

Тип: цел број
redirect

Автоматски решавај пренасочувања.

Тип: булов (подробно)
contentformat

Форматот за серијализација на содржината што се користи во вносниот текст.

Една вредност: text/x-wiki, text/javascript, application/json, text/css, text/plain
contentmodel

Содржински модел на новата содржина.

Една вредност: wikitext, javascript, json, css, text
token

Шифра „csrf“ добиена од action=query&meta=tokens

Шифрата треба секогаш да се испраќа како последниот параметар, или барем по параметарот text.

Овој параметар е задолжителен.
captchaword

Одговор на сликичката

captchaid

Назнака на сликичката од претходно барање

action=emailuser

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Испрати е-пошта на корисник.

Параметри:
target

На кој корисник да му се испрати е-поштата.

Овој параметар е задолжителен.
subject

Наслов.

text

Содржина.

Овој параметар е задолжителен.
ccme

Прати ми примерок и мене.

Тип: булов (подробно)
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Пример:
Испрати е-пошта на корисникот WikiSysop со текстот Content.
api.php?action=emailuser&target=WikiSysop&text=Content&token=123ABC [open in sandbox]

action=expandtemplates

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Ги проширува сите шаблони во викитекст.

Параметри:
title

Наслов на страница.

text

Викитекст за претворање.

Овој параметар е задолжителен.
revid

Назнака на преработката, за {{REVISIONID}} и слични променливи.

Тип: цел број
prop

Кои информации треба да ги добиете:

Имајте на ум дека ако не изберете никаква вредност, исходот ќе го содржи викитекстот, но изводот ќе биде во застарен формат.

wikitext
Проширениот викитекст.
categories
Any categories present in the input that are not represented in the wikitext output.
properties
Page properties defined by expanded magic words in the wikitext.
volatile
Whether the output is volatile and should not be reused elsewhere within the page.
ttl
The maximum time after which caches of the result should be invalidated.
modules
Any ResourceLoader modules that parser functions have requested be added to the output. Either jsconfigvars or encodedjsconfigvars must be requested jointly with modules.
jsconfigvars
Gives the JavaScript configuration variables specific to the page.
encodedjsconfigvars
Gives the JavaScript configuration variables specific to the page as a JSON string.
parsetree
The XML parse tree of the input.
Вредности (одделете ги со |): wikitext, categories, properties, volatile, ttl, modules, jsconfigvars, encodedjsconfigvars, parsetree
includecomments

Дали во изводот да се вклучени HTML-коментари.

Тип: булов (подробно)
generatexml
Застарен.

Создај XML-дрво на расчленување (заменето со prop=parsetree).

Тип: булов (подробно)
Пример:
Прошири го викитекстот {{Project:Sandbox}}.
api.php?action=expandtemplates&text={{Project:Sandbox}} [open in sandbox]

action=feedcontributions

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Дава канал со придонеси на корисник.

Параметар:
feedformat

Формат на каналот.

Една вредност: rss, atom
По основно: rss
user

За кои корисници да се прикажуваат придонесите.

Овој параметар е задолжителен.
Тип: корисничко име
namespace

По кој именски простор да се филтрираат придонесите:

Една вредност: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
year

Од година (и порано):

Тип: цел број
month

Од месец (и порано):

Тип: цел број
tagfilter

Филтрирај придонеси што имаат ознаки.

Вредности (одделете ги со |): mw-contentmodelchange, mobile edit, mobile web edit
По основно: (празно)
deletedonly

Прикажувај само избришани придонеси.

Тип: булов (подробно)
toponly

Прикажувај само последни преработки.

Тип: булов (подробно)
newonly

Прикажувај само новосоздадени страници

Тип: булов (подробно)
hideminor

Сокриј ситни уредувања.

Тип: булов (подробно)
showsizediff

Покажувај ја големинската разлика меѓу преработките.

Тип: булов (подробно)
Пример:
Покажувај придонеси на Пример.
api.php?action=feedcontributions&user=Example [open in sandbox]

action=feedrecentchanges

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Дава канал со скорешни промени.

Параметри:
feedformat

Форматот на каналот.

Една вредност: rss, atom
По основно: rss
namespace

На кој именски простор да се ограничи исходот.

Една вредност: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
invert

Сите именски простори освен избраниот.

Тип: булов (подробно)
associated

Вклучи придружни именски простори (разговор или главен).

Тип: булов (подробно)
days

На кои денови да се ограничат ставките.

Вредноста не може да изнесува помалку од 1.
Тип: цел број
По основно: 7
limit

Највеќе ставки во исходот за прикажување.

Вредноста мора да изнесува помеѓу 1 и 50.
Тип: цел број
По основно: 50
from

Прикажи ги промените оттогаш.

Тип: време и датум (допуштени формати)
hideminor

Скриј ги ситните промени.

Тип: булов (подробно)
hidebots

Скриј ги промените напарвени од ботови.

Тип: булов (подробно)
hideanons

Скриј ги промените направени од анонимни корисници.

Тип: булов (подробно)
hideliu

Скриј ги промените направени од регистрирани корисници.

Тип: булов (подробно)
hidepatrolled

Скриј ги испатролираните промени.

Тип: булов (подробно)
hidemyself

Скриј ги промените на тековниот корисник.

Тип: булов (подробно)
hidecategorization

Сокриј префрлања во други категории.

Тип: булов (подробно)
tagfilter

Филтрирање по ознака.

target

Прикажи само промени на страници што водат од оваа.

showlinkedto

Наместо тоа, прикажи ги промените на страниците поврзани со избраната страница.

Тип: булов (подробно)
Примери:
Прикажи скорешни промени
api.php?action=feedrecentchanges [open in sandbox]
Прикажувај скорешни промени 30 дена
api.php?action=feedrecentchanges&days=30 [open in sandbox]

action=feedwatchlist

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Дава канал од набљудуваните.

Параметри:
feedformat

Форматот на каналот.

Една вредност: rss, atom
По основно: rss
hours

Испиши страници изменети во рок од олку часови отсега.

Вредноста мора да изнесува помеѓу 1 и 72.
Тип: цел број
По основно: 24
linktosections

Давај ме право на изменетите делови, ако е можно.

Тип: булов (подробно)
allrev

Include multiple revisions of the same page within given timeframe.

Тип: булов (подробно)
wlowner

Used along with token to access a different user's watchlist.

Тип: корисничко име
wltoken

A security token (available in the user's preferences) to allow access to another user's watchlist.

wlshow

Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set show=minor|!anon.

Вредности (одделете ги со |): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled, unread, !unread
wltype

Which types of changes to show:

edit
Regular page edits.
new
Page creations.
log
Log entries.
external
External changes.
categorize
Category membership changes.
Вредности (одделете ги со |): edit, new, log, external, categorize
По основно: edit|new|log|categorize
wlexcludeuser

Don't list changes by this user.

Тип: корисничко име
Примери:
Прикажи го каналот од набљудуваните.
api.php?action=feedwatchlist [open in sandbox]
Прикажи ги сите промени во набљудуваните во последните 6 часа
api.php?action=feedwatchlist&allrev=&hours=6 [open in sandbox]

action=filerevert

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Врати податотека на претходна верзија.

Параметри:
filename

Име на целната податотека, без претставката „Податотека:“.

Овој параметар е задолжителен.
comment

Коментар за подигањето.

По основно: (празно)
archivename

Архивски назив на преработката што ја повраќате.

Овој параметар е задолжителен.
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Пример:
Врати ја Wiki.png на верзијата од 2011-03-05T15:27:40Z.
api.php?action=filerevert&filename=Wiki.png&comment=Revert&archivename=20110305152740!Wiki.png&token=123ABC [open in sandbox]

action=help

  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Прикажувај помош за укажаните модули.

Параметри:
modules

Модули за приказ на помош за (вредности на параметрите action и format, или пак main). Може да се укажат подмодули со +.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
По основно: main
submodules

Прикажувај и помош за подмодули на именуваниот модул.

Тип: булов (подробно)
recursivesubmodules

Прикажувај и помош за подмодули рекурзивно.

Тип: булов (подробно)
wrap

Обвиткај го изводот како станрадна одѕивна структура од прилотот.

Тип: булов (подробно)
toc

Вклучи табела со содржина во HTML-изводот.

Тип: булов (подробно)
Примери:
Помош за главниот модул
api.php?action=help [open in sandbox]
Помош за action=query и сите негови подмодули.
api.php?action=help&modules=query&submodules=1 [open in sandbox]
Сета помош на една страница
api.php?action=help&recursivesubmodules=1 [open in sandbox]
Помош за самиот помошен модул
api.php?action=help&modules=help [open in sandbox]
Помош за два подмодула за барања
api.php?action=help&modules=query+info|query+categorymembers [open in sandbox]

action=imagerotate

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Сврти една или повеќе слики.

Параметри:
rotation

За колку степени да се сврти надесно.

Овој параметар е задолжителен.
Една вредност: 90, 180, 270
continue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

tags

Ознаки за примена врз ставката во дневникот на подигања.

Вредности (одделете ги со |):
titles

Список на наслови на кои ќе се работи

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
pageids

Список на назнаки за страници на кои ќе се работи

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
revids

Список на назнаки на преработки на кои ќе се работи

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
generator

Дај го списокот на страници на кои ќе се работи исполнувајќи го укажаниот модул за барање.

Напомена: називите на создавачките параметри мора да ја имаат претставката „g“. Погледајте ги примерите.

allcategories
Наброј ги сите категории.
alldeletedrevisions
List all deleted revisions by a user or in a namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Наброј ги сите врски што водат кон даден именски простор.
allpages
Наброј ги сите страници последователно во даден именски простор.
allredirects
List all redirects to a namespace.
allrevisions
List all revisions.
alltransclusions
List all transclusions (pages embedded using {{x}}), including non-existing.
backlinks
Find all pages that link to the given page.
categories
List all categories the pages belong to.
categorymembers
List all pages in a given category.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Find all pages that embed (transclude) the given title.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Find all pages that use the given files.
images
Returns all files contained on the given pages.
imageusage
Find all pages that use the given image title.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Find all pages that link to the given pages.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
List all titles protected from creation.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Enumerate recent changes.
redirects
Returns all redirects to the given pages.
revisions
Get revision information.
search
Perform a full text search.
templates
Returns all pages transcluded on the given pages.
transcludedin
Find all pages that transclude the given pages.
watchlist
Get recent changes to pages in the current user's watchlist.
watchlistraw
Get all pages on the current user's watchlist.
Една вредност: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw
redirects

Автоматски решавај пренасочувања во titles, pageids и revids, како и во страниците што ги дава generator.

Тип: булов (подробно)
converttitles

Ако е потребно, претворај ги насловите во други варијанти. Работи само ако јазикот на викито поддржува претворање на варијанти. Такви се en, gan, iu, kk, ku, shi, sr, tg, uz и zh.

Тип: булов (подробно)
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Сврти ја Податотека:Пример.png за 90 степени.
api.php?action=imagerotate&titles=File:Example.jpg&rotation=90&token=123ABC [open in sandbox]
Сврти ги сите слики во Категорија:Некоја за 180 степени.
api.php?action=imagerotate&generator=categorymembers&gcmtitle=Category:Flip&gcmtype=file&rotation=180&token=123ABC [open in sandbox]

action=import

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Увези страница од друго вики или од XML-податотека.

Имајте на ум дека POST на HTTP мора да се изведе како подигање на податотеката (т.е. користејќи повеќеделни податоци/податоци од образец) кога ја испраќате податотеката за параметарот xml.

Параметри:
summary

Опис на увозот на дневнички запис.

xml

Подигната XML-податотека.

Мора да биде објавено како податотечно подигање користејќи податоци кои се повеќеделни или од образец.
interwikisource

За меѓујазични увози: од кое вики да се увезе.

Една вредност:
interwikipage

За меѓујазични увози: страница за увоз.

fullhistory

За меѓујазични увози:: увези ја целата историја, а не само тековната верзија.

Тип: булов (подробно)
templates

За меѓујазични увози: увези ги и сите вклучени шаблони.

Тип: булов (подробно)
namespace

Увези во овој именски простор. Не може да се користи заедно со rootpage.

Една вредност: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
rootpage

Увези како потстраница на страницава. Не може да се користи заедно со namespace.

tags

Change tags to apply to the entry in the import log and to the null revision on the imported pages.

Вредности (одделете ги со |):
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.

action=linkaccount (link)

  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Link an account from a third-party provider to the current user.

The general procedure to use this module is:

  1. Fetch the fields available from action=query&meta=authmanagerinfo with amirequestsfor=link, and a csrf token from action=query&meta=tokens.
  2. Present the fields to the user, and obtain their submission.
  3. Post to this module, supplying linkreturnurl and any relevant fields.
  4. Check the status in the response.
    • If you received PASS or FAIL, you're done. The operation either succeeded or it didn't.
    • If you received UI, present the new fields to the user and obtain their submission. Then post to this module with linkcontinue and the relevant fields set, and repeat step 4.
    • If you received REDIRECT, direct the user to the redirecttarget and wait for the return to linkreturnurl. Then post to this module with linkcontinue and any fields passed to the return URL, and repeat step 4.
    • If you received RESTART, that means the authentication worked but we don't have a linked user account. You might treat this as UI or as FAIL.
Параметри:
linkrequests

Only use these authentication requests, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=link or from a previous response from this module.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
linkmessageformat

Format to use for returning messages.

Една вредност: html, wikitext, raw, none
По основно: wikitext
linkmergerequestfields

Merge field information for all authentication requests into one array.

Тип: булов (подробно)
linkreturnurl

Return URL for third-party authentication flows, must be absolute. Either this or linkcontinue is required.

Upon receiving a REDIRECT response, you will typically open a browser or web view to the specified redirecttarget URL for a third-party authentication flow. When that completes, the third party will send the browser or web view to this URL. You should extract any query or POST parameters from the URL and pass them as a linkcontinue request to this API module.

linkcontinue

This request is a continuation after an earlier UI or REDIRECT response. Either this or linkreturnurl is required.

Тип: булов (подробно)
linktoken

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
*
This module accepts additional parameters depending on the available authentication requests. Use action=query&meta=authmanagerinfo with amirequestsfor=link (or a previous response from this module, if applicable) to determine the requests available and the fields that they use.

action=login (lg)

  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Најавете се и добијте колачиња за заверка.

Во случај кога ќе се најавите успешно, потребните колачиња ќе се придодадат кон заглавијата на HTTP-одѕивот. Во случај да не успеете да се најавите, понатамошните обиди може да се ограничат за да се ограничат нападите со автоматизирано погодување на лозинката.

Параметри:
lgname

Корисничко име.

lgpassword

Лозинка.

lgdomain

Домен (незадолжително).

lgtoken

Шифра „login“ добиена од action=query&meta=tokens

action=logout

  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Одјави се и исчисти ги податоците на седницата.

Пример:
Одјави го тековниот корисник
api.php?action=logout [open in sandbox]

action=managetags

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Perform management tasks relating to change tags.

Параметри:
operation

Which operation to perform:

create
Create a new change tag for manual use.
delete
Remove a change tag from the database, including removing the tag from all revisions, recent change entries and log entries on which it is used.
activate
Activate a change tag, allowing users to apply it manually.
deactivate
Deactivate a change tag, preventing users from applying it manually.
Овој параметар е задолжителен.
Една вредност: create, delete, activate, deactivate
tag

Tag to create, delete, activate or deactivate. For tag creation, the tag must not exist. For tag deletion, the tag must exist. For tag activation, the tag must exist and not be in use by an extension. For tag deactivation, the tag must be currently active and manually defined.

Овој параметар е задолжителен.
reason

An optional reason for creating, deleting, activating or deactivating the tag.

ignorewarnings

Whether to ignore any warnings that are issued during the operation.

Тип: булов (подробно)
tags

Change tags to apply to the entry in the tag management log.

Вредности (одделете ги со |):
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.

action=mergehistory

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Merge page histories.

Параметри:
from

Title of the page from which history will be merged. Cannot be used together with fromid.

fromid

Page ID of the page from which history will be merged. Cannot be used together with from.

Тип: цел број
to

Title of the page to which history will be merged. Cannot be used together with toid.

toid

Page ID of the page to which history will be merged. Cannot be used together with to.

Тип: цел број
timestamp

Timestamp up to which revisions will be moved from the source page's history to the destination page's history. If omitted, the entire page history of the source page will be merged into the destination page.

Тип: време и датум (допуштени формати)
reason

Reason for the history merge.

По основно: (празно)
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.

action=mobileview

  • За овој модул се потребни права на читање.
  • Извор: MobileFrontend
  • Лиценца: GPL-2.0+

Дава податоци потребни за мобилен приказ.

Параметри:
page

Наслов на страницата за обработка.

Овој параметар е задолжителен.
redirect

Дали да се проследуваат пренасочувањата.

Една вредност: yes, no
По основно: yes
sections

Список на броеви на поданслови за кои да се даде текст. Треба да се одделени со исправени црти. Ако сакате да ги добиете сите, употребете „all“. Ако ставите опсег во форматот „1-4“, ги добивате поднасловите 1,2,3,4. Ако ставите опсег без нареден број (на пр. „1-“), ги добивате сите до крај. Укажувајќи „references“ ќе ги добиете сите поднаслови што содржат наводи.

prop

Кои информации да се добијат:

text
HTML на избрани поднаслови.
sections
Информации за сите поднаслови на страницата.
normalizedtitle
Нормализиран наслов на страницата.
lastmodified
Датум и време во форматот ISO 8601 на најновата измена на страницата (на пр. „2014-04-13T22:42:14Z“).
lastmodifiedby
Информации за корисникот што ја направил најновата измена.
revision
Дај ја назнаката на најновата измена на страницата.
protection
Информации за степенот на заштита.
editable
Дали тековниот корисник може да ја уредува оваа страница. Тука спаѓаат сите чинители за најавени корисници, освен анонимните корисници со забрана за уредување.
languagecount
На колку јазици е достапна страницата.
hasvariants
Дали страницата е достапна на други јазични варијанти.
displaytitle
Испишаниот наслов на страницата со применет {{DISPLAYTITLE}} и сл.
pageprops
Својства на страницата.
Вредности (одделете ги со |): id, text, sections, normalizedtitle, lastmodified, lastmodifiedby, revision, protection, editable, languagecount, hasvariants, displaytitle, pageprops, description, contentmodel, namespace
По основно: text|sections|normalizedtitle
sectionprop

Кои информации за поднасловите да се дадат.

Вредности (одделете ги со |): toclevel, level, line, number, index, fromtitle, anchor
По основно: toclevel|line
pageprops

Кои својства на страница да се дадат. Напишете ги во список одделен со исправени црти („|“) или внесете „*“ за сите својства.

По основно: notoc|noeditsection|wikibase_item
variant

Претвори ја содржината во оваа јазична варијанта.

noimages

Дај HTML без слики.

Тип: булов (подробно)
noheadings

Не ставај заглавија во изводот.

Тип: булов (подробно)
notransform

Не преобразувај HTML во мобилна верзија.

Тип: булов (подробно)
onlyrequestedsections

Дај ги само побараните поднаслови дури и со prop=sections.

Тип: булов (подробно)
offset

Преправај се дека сиот текстуален исход е една низа и дај ја поднизата што почнува од ова место.

Вредноста не може да изнесува помалку од 0.
Тип: цел број
По основно: 0
maxlen

Преправај се дека сиот текстуален исход е една низа и ограничи го на оваа должина.

Вредноста не може да изнесува помалку од 0.
Тип: цел број
По основно: 0
revision

Побарај извесна преработка.

Вредноста не може да изнесува помалку од 0.
Тип: цел број
По основно: 0
Примери:
Дај информации за поднасовот 0 на Doom metal
api.php?action=mobileview&page=Doom_metal&sections=0 [open in sandbox]
Дај информации за поднасловот 0 и поднасловите што го спомнуваат Candlemass
api.php?action=mobileview&page=Candlemass&sections=0|references [open in sandbox]
Дај информации за поднасловот 1 и понатамошните, како и поднасловите што го спомнуваат Candlemass
api.php?action=mobileview&page=Candlemass&sections=1-|references [open in sandbox]

action=move

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Премести страница.

Параметри:
from

Наслов на страницата што треба да се премести. Не може да се користи заедно со fromid.

fromid

Назнака на страницата што треба да се премести. Не може да се користи заедно со from.

Тип: цел број
to

Како да гласи новата страница.

Овој параметар е задолжителен.
reason

Причина за преименувањето.

По основно: (празно)
movetalk

Преименувај ја и страницата за разговор, ако ја има.

Тип: булов (подробно)
movesubpages

Преименувај потстраници, ако има.

Тип: булов (подробно)
noredirect

Не прави пренасочување.

Тип: булов (подробно)
watch
Застарен.

Додај ги страницата и пренасочувањето во набљудуваните на тековниот корисник.

Тип: булов (подробно)
unwatch
Застарен.

Отстрани ги страницата и пренасочувањето од набљудуваните на тековниот корисник.

Тип: булов (подробно)
watchlist

Безусловно додај или отстрани ја страницата од набљудуваните на тековниот корисник, користете ги нагодувањата или не ги менувајте набљудуваните.

Една вредност: watch, unwatch, preferences, nochange
По основно: preferences
ignorewarnings

Занемари предупредувања.

Тип: булов (подробно)
tags

Change tags to apply to the entry in the move log and to the null revision on the destination page.

Вредности (одделете ги со |):
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Пример:
Премести го Badtitle на Goodtitle, неоставајќи пренасочување
api.php?action=move&from=Badtitle&to=Goodtitle&token=123ABC&reason=Misspelled%20title&movetalk=&noredirect= [open in sandbox]

action=opensearch

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Пребарување на викито со протоколот OpenSearch.

Параметри:
search

Низа за пребарување.

Овој параметар е задолжителен.
namespace

Именски простори за пребарување.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
По основно: 0
limit

Највеќе ставки за прикажување.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
suggest

Не прави ништо ако $wgEnableOpenSearchSuggest е неточно.

Тип: булов (подробно)
redirects

Како да се работи со пренасочувања:

return
Дај го самото пренасочување.
resolve
Дај ја целната страница. Може да даде помалку од limit ставки.

Од историски причини, по основно е „return“ за format=json и „resolve“ за други формати.

Една вредност: return, resolve
format

Формат на изводот.

Една вредност: json, jsonfm, xml, xmlfm
По основно: json
warningsaserror

If warnings are raised with format=json, return an API error instead of ignoring them.

Тип: булов (подробно)
Пример:
Најди страници што почнуваат со Те.
api.php?action=opensearch&search=Te [open in sandbox]

action=options

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Смени ги нагодувањата на тековниот корисник.

Можат да се зададат само можностите заведени во јадрото или во едно од воспоставените додатоци, или пак можности со клуч кој ја има претставката userjs- (предвиден за употреба од кориснички скрипти).

Параметри:
reset

Ги враќа поставките по основно.

Тип: булов (подробно)
resetkinds

Писок на типови можности за повраток кога е зададена можноста reset.

Вредности (одделете ги со |): registered, registered-multiselect, registered-checkmatrix, userjs, special, unused, all
По основно: all
change

Список на промени во форматот name=value (на пр. skin=vector). Вредностите не треба да содржат исправени црти. Ако не зададете вредност (дури ни знак за равенство), на пр., можност|другаможност|..., ќе биде зададена вредноста на можноста по основно.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
optionname

Назив на можноста што треба да ѝ се зададе на вредноста дадена од optionvalue.

optionvalue

Вредноста на можноста укажана од optionname. Може да содржи исправени црти.

token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Врати ги сите поставки по основно
api.php?action=options&reset=&token=123ABC [open in sandbox]
Смени ги поставките skin</kbd и hideminor.
api.php?action=options&change=skin=vector|hideminor=1&token=123ABC [open in sandbox]
Врати ги сите нагодувања по основно, а потоа задај ги skin и nickname.
api.php?action=options&reset=&change=skin=monobook&optionname=nickname&optionvalue=[[User:Beau|Beau]]%20([[User_talk:Beau|talk]])&token=123ABC [open in sandbox]

action=paraminfo

  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Набави информации за извршнички (API) модули.

Параметри:
modules

Список на називи на модули (вредности на параметрите action и format, или пак main). Може да се укажат подмодули со +.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
helpformat

Формат на помошните низи.

Една вредност: html, wikitext, raw, none
По основно: none
querymodules
Застарен.

Список на називи на модули за барања (вредност на параметарот prop, meta или list). Користете го modules=query+foo наместо querymodules=foo.

Вредности (одделете ги со |): allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allmessages, allpages, allredirects, allrevisions, alltransclusions, allusers, authmanagerinfo, backlinks, blocks, categories, categoryinfo, categorymembers, checkuser, checkuserlog, contributors, deletedrevisions, deletedrevs, duplicatefiles, embeddedin, extlinks, exturlusage, filearchive, filerepoinfo, fileusage, imageinfo, images, imageusage, info, iwbacklinks, iwlinks, langbacklinks, langlinks, links, linkshere, logevents, mystashedfiles, pagepropnames, pageprops, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, references, revisions, search, siteinfo, stashimageinfo, tags, templates, tokens, transcludedin, usercontribs, userinfo, users, watchlist, watchlistraw
Највеќе допуштени вредности: 50 (500 за ботови).
mainmodule
Застарен.

Добави информации и за главниот (врховен) модул. Користете го modules=main наместо тоа.

pagesetmodule
Застарен.

Дај ги сите информации и за модулот на збирот страници (укажувајќи titles= и сродни).

formatmodules
Застарен.

Список на називи на форматни модули (вредностза параметарот format). Наместо тоа, користете го modules.

Вредности (одделете ги со |): json, jsonfm, none, php, phpfm, rawfm, xml, xmlfm

action=parse

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Parses content and returns parser output.

See the various prop-modules of action=query to get information from the current version of a page.

There are several ways to specify the text to parse:

  1. Specify a page or revision, using page, pageid, or oldid.
  2. Specify content explicitly, using text, title, revid, and contentmodel.
  3. Specify only a summary to parse. prop should be given an empty value.
Параметри:
title

Title of page the text belongs to. If omitted, contentmodel must be specified, and API will be used as the title.

text

Text to parse. Use title or contentmodel to control the content model.

revid

Revision ID, for {{REVISIONID}} and similar variables.

Тип: цел број
summary

Опис за расчленување.

page

Parse the content of this page. Cannot be used together with text and title.

pageid

Parse the content of this page. Overrides page.

Тип: цел број
redirects

If page or pageid is set to a redirect, resolve it.

Тип: булов (подробно)
oldid

Parse the content of this revision. Overrides page and pageid.

Тип: цел број
prop

Which pieces of information to get:

text
Gives the parsed text of the wikitext.
langlinks
Gives the language links in the parsed wikitext.
categories
Gives the categories in the parsed wikitext.
categorieshtml
Gives the HTML version of the categories.
links
Gives the internal links in the parsed wikitext.
templates
Gives the templates in the parsed wikitext.
images
Gives the images in the parsed wikitext.
externallinks
Gives the external links in the parsed wikitext.
sections
Gives the sections in the parsed wikitext.
revid
Adds the revision ID of the parsed page.
displaytitle
Adds the title of the parsed wikitext.
headhtml
Gives parsed <head> of the page.
modules
Gives the ResourceLoader modules used on the page. To load, use mw.loader.using(). Either jsconfigvars or encodedjsconfigvars must be requested jointly with modules.
jsconfigvars
Gives the JavaScript configuration variables specific to the page. To apply, use mw.config.set().
encodedjsconfigvars
Gives the JavaScript configuration variables specific to the page as a JSON string.
indicators
Gives the HTML of page status indicators used on the page.
iwlinks
Gives interwiki links in the parsed wikitext.
wikitext
Gives the original wikitext that was parsed.
properties
Gives various properties defined in the parsed wikitext.
limitreportdata
Gives the limit report in a structured way. Gives no data, when disablelimitreport is set.
limitreporthtml
Gives the HTML version of the limit report. Gives no data, when disablelimitreport is set.
parsetree
The XML parse tree of revision content (requires content model wikitext)
parsewarnings
Gives the warnings that occurred while parsing content.
headitems
Застарен. Gives items to put in the <head> of the page.
Вредности (одделете ги со |): text, langlinks, categories, categorieshtml, links, templates, images, externallinks, sections, revid, displaytitle, headhtml, modules, jsconfigvars, encodedjsconfigvars, indicators, iwlinks, wikitext, properties, limitreportdata, limitreporthtml, parsetree, parsewarnings, headitems
По основно: text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle|iwlinks|properties|parsewarnings
wrapoutputclass

CSS class to use to wrap the parser output.

По основно: mw-parser-output
pst

Do a pre-save transform on the input before parsing it. Only valid when used with text.

Тип: булов (подробно)
onlypst

Do a pre-save transform (PST) on the input, but don't parse it. Returns the same wikitext, after a PST has been applied. Only valid when used with text.

Тип: булов (подробно)
effectivelanglinks
Застарен.

Includes language links supplied by extensions (for use with prop=langlinks).

Тип: булов (подробно)
section

Only parse the content of this section number.

When new, parse text and sectiontitle as if adding a new section to the page.

new is allowed only when specifying text.

sectiontitle

New section title when section is new.

Unlike page editing, this does not fall back to summary when omitted or empty.

disablepp
Застарен.

Use disablelimitreport instead.

Тип: булов (подробно)
disablelimitreport

Omit the limit report ("NewPP limit report") from the parser output.

Тип: булов (подробно)
disableeditsection

Omit edit section links from the parser output.

Тип: булов (подробно)
disabletidy

Do not run HTML cleanup (e.g. tidy) on the parser output.

Тип: булов (подробно)
generatexml
Застарен.

Generate XML parse tree (requires content model wikitext; replaced by prop=parsetree).

Тип: булов (подробно)
preview

Расчлени во прегледен режим.

Тип: булов (подробно)
sectionpreview

Расчлени во прегледен режим на поднасловот (го овозможува и прегледниот режим).

Тип: булов (подробно)
disabletoc

Изземи го преглед на содржината во изводот.

Тип: булов (подробно)
useskin

Apply the selected skin to the parser output. May affect the following properties: langlinks, headitems, modules, jsconfigvars, indicators.

Една вредност: vector, minervaneue, minerva
contentformat

Формат на серијализацијата на содржината во вносниот текст. Важи само кога се користи со text.

Една вредност: text/x-wiki, text/javascript, application/json, text/css, text/plain
contentmodel

Content model of the input text. If omitted, title must be specified, and default will be the model of the specified title. Only valid when used with text.

Една вредност: wikitext, javascript, json, css, text
mobileformat

Дај расчленувачки извод во формат погоден за мобилни уреди.

Тип: булов (подробно)
noimages

Оневозможи слики во мобилниот извод.

Тип: булов (подробно)
mainpage

Примени преобразби на главната мобилна страница.

Тип: булов (подробно)
Примери:
Расчлени страница.
api.php?action=parse&page=Project:Sandbox [open in sandbox]
Расчлени викитекст.
api.php?action=parse&text={{Project:Sandbox}}&contentmodel=wikitext [open in sandbox]
Расчлени страница, укажувајќи го насловот на страницата.
api.php?action=parse&text={{PAGENAME}}&title=Test [open in sandbox]
Расчлени опис.
api.php?action=parse&summary=Some+[[link]]&prop= [open in sandbox]

action=patrol

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Испатролирај страница или преработка.

Параметри:
rcid

Назнака на спорешните промени за патролирање.

Тип: цел број
revid

Назнака на преработката за патролирање.

Тип: цел број
tags

Change tags to apply to the entry in the patrol log.

Вредности (одделете ги со |):
token

Шифра „patrol“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Испатролирај скорешна промена
api.php?action=patrol&token=123ABC&rcid=230672766 [open in sandbox]
Патролирај праработка
api.php?action=patrol&token=123ABC&revid=230672766 [open in sandbox]

action=protect

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Смени го степенот на заштита на страница.

Параметри:
title

Наслов на страница што се (од)заштитува. Не може да се користи заедно со pageid.

pageid

Назнака на страница што се (од)заштитува. Не може да се користи заедно со title.

Тип: цел број
protections

List of protection levels, formatted action=level (e.g. edit=sysop). A level of all means everyone is allowed to take the action, i.e. no restriction.

Note: Any actions not listed will have restrictions removed.

Овој параметар е задолжителен.
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
expiry

Expiry timestamps. If only one timestamp is set, it'll be used for all protections. Use infinite, indefinite, infinity, or never, for a never-expiring protection.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
По основно: infinite
reason

Причиина за (од)заштитување

По основно: (празно)
tags

Change tags to apply to the entry in the protection log.

Вредности (одделете ги со |):
cascade

Enable cascading protection (i.e. protect transcluded templates and images used in this page). Ignored if none of the given protection levels support cascading.

Тип: булов (подробно)
watch
Застарен.

If set, add the page being (un)protected to the current user's watchlist.

Тип: булов (подробно)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.

Една вредност: watch, unwatch, preferences, nochange
По основно: preferences
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.

action=purge

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Purge the cache for the given titles.

Параметри:
forcelinkupdate

Поднови ги табелите со врски.

Тип: булов (подробно)
forcerecursivelinkupdate

Update the links table, and update the links tables for any page that uses this page as a template.

Тип: булов (подробно)
continue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

titles

Список на наслови на кои ќе се работи

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
pageids

Список на назнаки за страници на кои ќе се работи

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
revids

Список на назнаки на преработки на кои ќе се работи

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
generator

Дај го списокот на страници на кои ќе се работи исполнувајќи го укажаниот модул за барање.

Напомена: називите на создавачките параметри мора да ја имаат претставката „g“. Погледајте ги примерите.

allcategories
Наброј ги сите категории.
alldeletedrevisions
List all deleted revisions by a user or in a namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Наброј ги сите врски што водат кон даден именски простор.
allpages
Наброј ги сите страници последователно во даден именски простор.
allredirects
List all redirects to a namespace.
allrevisions
List all revisions.
alltransclusions
List all transclusions (pages embedded using {{x}}), including non-existing.
backlinks
Find all pages that link to the given page.
categories
List all categories the pages belong to.
categorymembers
List all pages in a given category.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Find all pages that embed (transclude) the given title.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Find all pages that use the given files.
images
Returns all files contained on the given pages.
imageusage
Find all pages that use the given image title.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Find all pages that link to the given pages.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
List all titles protected from creation.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Enumerate recent changes.
redirects
Returns all redirects to the given pages.
revisions
Get revision information.
search
Perform a full text search.
templates
Returns all pages transcluded on the given pages.
transcludedin
Find all pages that transclude the given pages.
watchlist
Get recent changes to pages in the current user's watchlist.
watchlistraw
Get all pages on the current user's watchlist.
Една вредност: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw
redirects

Автоматски решавај пренасочувања во titles, pageids и revids, како и во страниците што ги дава generator.

Тип: булов (подробно)
converttitles

Ако е потребно, претворај ги насловите во други варијанти. Работи само ако јазикот на викито поддржува претворање на варијанти. Такви се en, gan, iu, kk, ku, shi, sr, tg, uz и zh.

Тип: булов (подробно)
Примери:
Превчитај ги Main Page и API.
api.php?action=purge&titles=Main_Page|API [open in sandbox]
Purge the first 10 pages in the main namespace.
api.php?action=purge&generator=allpages&gapnamespace=0&gaplimit=10 [open in sandbox]

action=query

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Fetch data from and about MediaWiki.

All data modifications will first have to use query to acquire a token to prevent abuse from malicious sites.

Параметри:
prop

Which properties to get for the queried pages.

categories
List all categories the pages belong to.
categoryinfo
Returns information about the given categories.
contributors
Get the list of logged-in contributors and the count of anonymous contributors to a page.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
extlinks
Returns all external URLs (not interwikis) from the given pages.
fileusage
Find all pages that use the given files.
imageinfo
Returns file information and upload history.
images
Returns all files contained on the given pages.
info
Get basic page information.
iwlinks
Returns all interwiki links from the given pages.
langlinks
Returns all interlanguage links from the given pages.
links
Returns all links from the given pages.
linkshere
Find all pages that link to the given pages.
pageprops
Get various page properties defined in the page content.
redirects
Returns all redirects to the given pages.
references
Дај податочно претставување на наводите поврзани со дадени страници.
revisions
Get revision information.
stashimageinfo
Returns file information for stashed files.
templates
Returns all pages transcluded on the given pages.
transcludedin
Find all pages that transclude the given pages.
Вредности (одделете ги со |): categories, categoryinfo, contributors, deletedrevisions, duplicatefiles, extlinks, fileusage, imageinfo, images, info, iwlinks, langlinks, links, linkshere, pageprops, redirects, references, revisions, stashimageinfo, templates, transcludedin
list

Кои списоци да се набават.

allcategories
Наброј ги сите категории.
alldeletedrevisions
List all deleted revisions by a user or in a namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Наброј ги сите врски што водат кон даден именски простор.
allpages
Наброј ги сите страници последователно во даден именски простор.
allredirects
List all redirects to a namespace.
allrevisions
List all revisions.
alltransclusions
List all transclusions (pages embedded using {{x}}), including non-existing.
allusers
Enumerate all registered users.
backlinks
Find all pages that link to the given page.
blocks
Список на сите блокирани корисници и IP-адреси
categorymembers
List all pages in a given category.
checkuser
Провери кои IP-адреси ги користи дадено корисничко име или пак кои кориснички имиња ги користи дадена IP-адреса.
checkuserlog
Дај ставки од записникот на CheckUser.
embeddedin
Find all pages that embed (transclude) the given title.
exturlusage
Enumerate pages that contain a given URL.
filearchive
Enumerate all deleted files sequentially.
imageusage
Find all pages that use the given image title.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
logevents
Get events from logs.
mystashedfiles
Get a list of files in the current user's upload stash.
pagepropnames
List all page property names in use on the wiki.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
List all titles protected from creation.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Enumerate recent changes.
search
Perform a full text search.
tags
List change tags.
usercontribs
Get all edits by a user.
users
Get information about a list of users.
watchlist
Get recent changes to pages in the current user's watchlist.
watchlistraw
Get all pages on the current user's watchlist.
deletedrevs
Застарен. List deleted revisions.
Вредности (одделете ги со |): allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, allusers, backlinks, blocks, categorymembers, checkuser, checkuserlog, embeddedin, exturlusage, filearchive, imageusage, iwbacklinks, langbacklinks, logevents, mystashedfiles, pagepropnames, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, search, tags, usercontribs, users, watchlist, watchlistraw, deletedrevs
meta

Кои метаподатоци да се набават.

allmessages
Дава пораки од ова мрежно место.
authmanagerinfo
Retrieve information about the current authentication status.
filerepoinfo
Return meta information about image repositories configured on the wiki.
siteinfo
Дај општи информации за мрежното место.
tokens
Gets tokens for data-modifying actions.
userinfo
Get information about the current user.
Вредности (одделете ги со |): allmessages, authmanagerinfo, filerepoinfo, siteinfo, tokens, userinfo
indexpageids

Include an additional pageids section listing all returned page IDs.

Тип: булов (подробно)
export

Export the current revisions of all given or generated pages.

Тип: булов (подробно)
exportnowrap

Return the export XML without wrapping it in an XML result (same format as Special:Export). Can only be used with query+export.

Тип: булов (подробно)
iwurl

Whether to get the full URL if the title is an interwiki link.

Тип: булов (подробно)
continue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

rawcontinue

Return raw query-continue data for continuation.

Тип: булов (подробно)
titles

Список на наслови на кои ќе се работи

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
pageids

Список на назнаки за страници на кои ќе се работи

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
revids

Список на назнаки на преработки на кои ќе се работи

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
generator

Дај го списокот на страници на кои ќе се работи исполнувајќи го укажаниот модул за барање.

Напомена: називите на создавачките параметри мора да ја имаат претставката „g“. Погледајте ги примерите.

allcategories
Наброј ги сите категории.
alldeletedrevisions
List all deleted revisions by a user or in a namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Наброј ги сите врски што водат кон даден именски простор.
allpages
Наброј ги сите страници последователно во даден именски простор.
allredirects
List all redirects to a namespace.
allrevisions
List all revisions.
alltransclusions
List all transclusions (pages embedded using {{x}}), including non-existing.
backlinks
Find all pages that link to the given page.
categories
List all categories the pages belong to.
categorymembers
List all pages in a given category.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Find all pages that embed (transclude) the given title.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Find all pages that use the given files.
images
Returns all files contained on the given pages.
imageusage
Find all pages that use the given image title.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Find all pages that link to the given pages.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
List all titles protected from creation.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Enumerate recent changes.
redirects
Returns all redirects to the given pages.
revisions
Get revision information.
search
Perform a full text search.
templates
Returns all pages transcluded on the given pages.
transcludedin
Find all pages that transclude the given pages.
watchlist
Get recent changes to pages in the current user's watchlist.
watchlistraw
Get all pages on the current user's watchlist.
Една вредност: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw
redirects

Автоматски решавај пренасочувања во query+titles, query+pageids и query+revids, како и во страниците што ги дава query+generator.

Тип: булов (подробно)
converttitles

Ако е потребно, претворај ги насловите во други варијанти. Работи само ако јазикот на викито поддржува претворање на варијанти. Такви се en, gan, iu, kk, ku, shi, sr, tg, uz и zh.

Тип: булов (подробно)

prop=categories (cl)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List all categories the pages belong to.

Параметри:
clprop

Which additional properties to get for each category:

sortkey
Adds the sortkey (hexadecimal string) and sortkey prefix (human-readable part) for the category.
timestamp
Adds timestamp of when the category was added.
hidden
Tags categories that are hidden with __HIDDENCAT__.
Вредности (одделете ги со |): sortkey, timestamp, hidden
clshow

Which kind of categories to show.

Вредности (одделете ги со |): hidden, !hidden
cllimit

How many categories to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
clcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

clcategories

Only list these categories. Useful for checking whether a certain page is in a certain category.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
cldir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
Примери:
Get a list of categories the page Albert Einstein belongs to.
api.php?action=query&prop=categories&titles=Albert%20Einstein [open in sandbox]
Get information about all categories used in the page Albert Einstein.
api.php?action=query&generator=categories&titles=Albert%20Einstein&prop=info [open in sandbox]

prop=categoryinfo (ci)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns information about the given categories.

Параметар:
cicontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Пример:
Get information about Category:Foo and Category:Bar.
api.php?action=query&prop=categoryinfo&titles=Category:Foo|Category:Bar [open in sandbox]

prop=contributors (pc)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get the list of logged-in contributors and the count of anonymous contributors to a page.

Параметри:
pcgroup

Only include users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.

Вредности (одделете ги со |): bot, sysop, bureaucrat, renameuser, interwiki, checkuser
pcexcludegroup

Exclude users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.

Вредности (одделете ги со |): bot, sysop, bureaucrat, renameuser, interwiki, checkuser
pcrights

Only include users having the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.

Вредности (одделете ги со |): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmywatchlist, editsemiprotected, editusercss, edituserjs, hideuser, import, importupload, ipblock-exempt, managechangetags, markbotedits, mergehistory, minoredit, move, movefile, move-categorypages, move-rootuserpages, move-subpages, nominornewtalk, noratelimit, override-export-depth, pagelang, patrol, patrolmarks, protect, purge, read, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed, writeapi, checkuser, checkuser-log, skipcaptcha, nuke, renameuser, override-antispoof, confirmaccount, requestips, lookupcredentials, interwiki
Највеќе допуштени вредности: 50 (500 за ботови).
pcexcluderights

Exclude users having the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.

Вредности (одделете ги со |): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmywatchlist, editsemiprotected, editusercss, edituserjs, hideuser, import, importupload, ipblock-exempt, managechangetags, markbotedits, mergehistory, minoredit, move, movefile, move-categorypages, move-rootuserpages, move-subpages, nominornewtalk, noratelimit, override-export-depth, pagelang, patrol, patrolmarks, protect, purge, read, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed, writeapi, checkuser, checkuser-log, skipcaptcha, nuke, renameuser, override-antispoof, confirmaccount, requestips, lookupcredentials, interwiki
Највеќе допуштени вредности: 50 (500 за ботови).
pclimit

How many contributors to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
pccontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Пример:
Show contributors to the page Main Page.
api.php?action=query&prop=contributors&titles=Main_Page [open in sandbox]

prop=deletedrevisions (drv)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get deleted revision information.

May be used in several ways:

  1. Get deleted revisions for a set of pages, by setting titles or pageids. Ordered by title and timestamp.
  2. Get data about a set of deleted revisions by setting their IDs with revids. Ordered by revision ID.
Параметри:
drvprop

Which properties to get for each revision:

ids
The ID of the revision.
flags
Revision flags (minor).
timestamp
The timestamp of the revision.
user
User that made the revision.
userid
User ID of the revision creator.
size
Length (bytes) of the revision.
sha1
SHA-1 (base 16) of the revision.
contentmodel
Content model ID of the revision.
comment
Comment by the user for the revision.
parsedcomment
Parsed comment by the user for the revision.
content
Text of the revision.
tags
Tags for the revision.
parsetree
Deprecated. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model wikitext).
Вредности (одделете ги со |): ids, flags, timestamp, user, userid, size, sha1, contentmodel, comment, parsedcomment, content, tags, parsetree
По основно: ids|timestamp|flags|comment|user
drvlimit

Limit how many revisions will be returned.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
drvexpandtemplates
Застарен.

Use action=expandtemplates instead. Expand templates in revision content (requires drvprop=content).

Тип: булов (подробно)
drvgeneratexml
Застарен.

Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires drvprop=content).

Тип: булов (подробно)
drvparse
Застарен.

Use action=parse instead. Parse revision content (requires drvprop=content). For performance reasons, if this option is used, drvlimit is enforced to 1.

Тип: булов (подробно)
drvsection

Only retrieve the content of this section number.

drvdiffto
Застарен.

Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively.

drvdifftotext
Застарен.

Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides drvdiffto. If drvsection is set, only that section will be diffed against this text.

drvdifftotextpst
Застарен.

Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with drvdifftotext.

Тип: булов (подробно)
drvcontentformat

Serialization format used for drvdifftotext and expected for output of content.

Една вредност: text/x-wiki, text/javascript, application/json, text/css, text/plain
drvstart

The timestamp to start enumerating from. Ignored when processing a list of revision IDs.

Тип: време и датум (допуштени формати)
drvend

The timestamp to stop enumerating at. Ignored when processing a list of revision IDs.

Тип: време и датум (допуштени формати)
drvdir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: drvstart мора да биде пред drvend.
постари
Прво најновите (по основно). Напомена: drvstart мора да биде подоцна од drvend.
Една вредност: newer, older
По основно: older
drvtag

Only list revisions tagged with this tag.

drvuser

Only list revisions by this user.

Тип: корисничко име
drvexcludeuser

Don't list revisions by this user.

Тип: корисничко име
drvcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Примери:
List the deleted revisions of the pages Main Page and Talk:Main Page, with content.
api.php?action=query&prop=deletedrevisions&titles=Main%20Page|Talk:Main%20Page&drvprop=user|comment|content [open in sandbox]
List the information for deleted revision 123456.
api.php?action=query&prop=deletedrevisions&revids=123456 [open in sandbox]

prop=duplicatefiles (df)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List all files that are duplicates of the given files based on hash values.

Параметри:
dflimit

How many duplicate files to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
dfcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

dfdir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
dflocalonly

Look only for files in the local repository.

Тип: булов (подробно)
  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns all external URLs (not interwikis) from the given pages.

Параметри:
ellimit

How many links to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
eloffset

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Тип: цел број
elprotocol

Protocol of the URL. If empty and elquery is set, the protocol is http. Leave both this and elquery empty to list all external links.

Една вредност: Може да биде празно или bitcoin, ftp, ftps, geo, git, gopher, http, https, irc, ircs, magnet, mailto, mms, news, nntp, redis, sftp, sip, sips, sms, ssh, svn, tel, telnet, urn, worldwind, xmpp
По основно: (празно)
elquery

Search string without protocol. Useful for checking whether a certain page contains a certain external url.

elexpandurl

Expand protocol-relative URLs with the canonical protocol.

Тип: булов (подробно)
Пример:
Get a list of external links on Main Page.
api.php?action=query&prop=extlinks&titles=Main%20Page [open in sandbox]

prop=fileusage (fu)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Find all pages that use the given files.

Параметри:
fuprop

Which properties to get:

pageid
Page ID of each page.
title
Title of each page.
redirect
Flag if the page is a redirect.
Вредности (одделете ги со |): pageid, title, redirect
По основно: pageid|title|redirect
funamespace

Only include pages in these namespaces.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
fushow

Show only items that meet these criteria:

redirect
Only show redirects.
!redirect
Only show non-redirects.
Вредности (одделете ги со |): redirect, !redirect
fulimit

How many to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
fucontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

prop=imageinfo (ii)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns file information and upload history.

Параметри:
iiprop

Which file information to get:

timestamp
Adds timestamp for the uploaded version.
user
Adds the user who uploaded each file version.
userid
Add the ID of the user that uploaded each file version.
comment
Comment on the version.
parsedcomment
Parse the comment on the version.
canonicaltitle
Adds the canonical title of the file.
url
Gives URL to the file and the description page.
size
Adds the size of the file in bytes and the height, width and page count (if applicable).
dimensions
Alias for size.
sha1
Adds SHA-1 hash for the file.
mime
Adds MIME type of the file.
thumbmime
Adds MIME type of the image thumbnail (requires url and param iiurlwidth).
mediatype
Adds the media type of the file.
metadata
Lists Exif metadata for the version of the file.
commonmetadata
Lists file format generic metadata for the version of the file.
extmetadata
Lists formatted metadata combined from multiple sources. Results are HTML formatted.
archivename
Adds the filename of the archive version for non-latest versions.
bitdepth
Adds the bit depth of the version.
uploadwarning
Used by the Special:Upload page to get information about an existing file. Not intended for use outside MediaWiki core.
badfile
Adds whether the file is on the MediaWiki:Bad image list
Вредности (одделете ги со |): timestamp, user, userid, comment, parsedcomment, canonicaltitle, url, size, dimensions, sha1, mime, thumbmime, mediatype, metadata, commonmetadata, extmetadata, archivename, bitdepth, uploadwarning, badfile
По основно: timestamp|user
iilimit

How many file revisions to return per file.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 1
iistart

Timestamp to start listing from.

Тип: време и датум (допуштени формати)
iiend

Timestamp to stop listing at.

Тип: време и датум (допуштени формати)
iiurlwidth

If iiprop=url is set, a URL to an image scaled to this width will be returned. For performance reasons if this option is used, no more than 50 scaled images will be returned.

Тип: цел број
По основно: -1
iiurlheight

Слично на iiurlwidth.

Тип: цел број
По основно: -1
iimetadataversion

Version of metadata to use. If latest is specified, use latest version. Defaults to 1 for backwards compatibility.

По основно: 1
iiextmetadatalanguage

What language to fetch extmetadata in. This affects both which translation to fetch, if multiple are available, as well as how things like numbers and various values are formatted.

По основно: mk
iiextmetadatamultilang

If translations for extmetadata property are available, fetch all of them.

Тип: булов (подробно)
iiextmetadatafilter

If specified and non-empty, only these keys will be returned for iiprop=extmetadata.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
iiurlparam

A handler specific parameter string. For example, PDFs might use page15-100px. iiurlwidth must be used and be consistent with iiurlparam.

По основно: (празно)
iibadfilecontexttitle

If badfilecontexttitleprop=badfile is set, this is the page title used when evaluating the MediaWiki:Bad image list

iicontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

iilocalonly

Look only for files in the local repository.

Тип: булов (подробно)

prop=images (im)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns all files contained on the given pages.

Параметри:
imlimit

How many files to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
imcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

imimages

Only list these files. Useful for checking whether a certain page has a certain file.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
imdir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending

prop=info (in)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get basic page information.

Параметри:
inprop

Which additional properties to get:

protection
List the protection level of each page.
talkid
The page ID of the talk page for each non-talk page.
watched
List the watched status of each page.
watchers
The number of watchers, if allowed.
visitingwatchers
The number of watchers of each page who have visited recent edits to that page, if allowed.
notificationtimestamp
The watchlist notification timestamp of each page.
subjectid
The page ID of the parent page for each talk page.
url
Gives a full URL, an edit URL, and the canonical URL for each page.
readable
Whether the user can read this page.
preload
Gives the text returned by EditFormPreloadText.
displaytitle
Gives the manner in which the page title is actually displayed.
Вредности (одделете ги со |): protection, talkid, watched, watchers, visitingwatchers, notificationtimestamp, subjectid, url, readable, preload, displaytitle
intestactions

Test whether the current user can perform certain actions on the page.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
intoken
Застарен.

Use action=query&meta=tokens instead.

Вредности (одделете ги со |): edit, delete, protect, move, block, unblock, email, import, watch
incontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Примери:
Get information about the page Main Page.
api.php?action=query&prop=info&titles=Main%20Page [open in sandbox]
Get general and protection information about the page Main Page.
api.php?action=query&prop=info&inprop=protection&titles=Main%20Page [open in sandbox]
  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns all interwiki links from the given pages.

Параметри:
iwprop

Which additional properties to get for each interlanguage link:

url
Adds the full URL.
Вредности (одделете ги со |): url
iwprefix

Only return interwiki links with this prefix.

iwtitle

Interwiki link to search for. Must be used with iwprefix.

iwdir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
iwlimit

How many interwiki links to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
iwcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

iwurl
Застарен.

Whether to get the full URL (cannot be used with iwprop).

Тип: булов (подробно)
Пример:
Get interwiki links from the page Main Page.
api.php?action=query&prop=iwlinks&titles=Main%20Page [open in sandbox]
  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns all interlanguage links from the given pages.

Параметри:
llprop

Which additional properties to get for each interlanguage link:

url
Adds the full URL.
langname
Adds the localised language name (best effort). Use llinlanguagecode to control the language.
autonym
Adds the native language name.
Вредности (одделете ги со |): url, langname, autonym
lllang

Only return language links with this language code.

lltitle

Link to search for. Must be used with lllang.

lldir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
llinlanguagecode

Language code for localised language names.

По основно: mk
lllimit

How many langlinks to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
llcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

llurl
Застарен.

Whether to get the full URL (cannot be used with llprop).

Тип: булов (подробно)
Пример:
Get interlanguage links from the page Main Page.
api.php?action=query&prop=langlinks&titles=Main%20Page&redirects= [open in sandbox]
  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns all links from the given pages.

Параметри:
plnamespace

Show links in these namespaces only.

Вредности (одделете ги со |): -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
pllimit

How many links to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
plcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

pltitles

Only list links to these titles. Useful for checking whether a certain page links to a certain title.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
pldir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
Примери:
Get links from the page Main Page
api.php?action=query&prop=links&titles=Main%20Page [open in sandbox]
Get information about the link pages in the page Main Page.
api.php?action=query&generator=links&titles=Main%20Page&prop=info [open in sandbox]
Get links from the page Main Page in the Корисник and Шаблон namespaces.
api.php?action=query&prop=links&titles=Main%20Page&plnamespace=2|10 [open in sandbox]

prop=linkshere (lh)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Find all pages that link to the given pages.

Параметри:
lhprop

Which properties to get:

pageid
Page ID of each page.
title
Title of each page.
redirect
Flag if the page is a redirect.
Вредности (одделете ги со |): pageid, title, redirect
По основно: pageid|title|redirect
lhnamespace

Only include pages in these namespaces.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
lhshow

Show only items that meet these criteria:

redirect
Only show redirects.
!redirect
Only show non-redirects.
Вредности (одделете ги со |): redirect, !redirect
lhlimit

How many to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
lhcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

prop=pageprops (pp)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get various page properties defined in the page content.

Параметри:
ppcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

ppprop

Only list these page properties (action=query&list=pagepropnames returns page property names in use). Useful for checking whether pages use a certain page property.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
Пример:
Get properties for the pages Main Page and MediaWiki.
api.php?action=query&prop=pageprops&titles=Main%20Page|MediaWiki [open in sandbox]

prop=redirects (rd)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns all redirects to the given pages.

Параметри:
rdprop

Which properties to get:

pageid
Page ID of each redirect.
title
Title of each redirect.
fragment
Fragment of each redirect, if any.
Вредности (одделете ги со |): pageid, title, fragment
По основно: pageid|title
rdnamespace

Only include pages in these namespaces.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
rdshow

Show only items that meet these criteria:

fragment
Only show redirects with a fragment.
!fragment
Only show redirects without a fragment.
Вредности (одделете ги со |): fragment, !fragment
rdlimit

How many redirects to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
rdcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

prop=references (rf)

  • За овој модул се потребни права на читање.
  • Извор: Cite
  • Лиценца: GPL-2.0+

Дај податочно претставување на наводите поврзани со дадени страници.

Параметар:
rfcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Пример:
Наводи поврзани со Алберт Ајнштајн.
api.php?action=query&prop=references&titles=Albert%20Einstein [open in sandbox]

prop=revisions (rv)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get revision information.

May be used in several ways:

  1. Get data about a set of pages (last revision), by setting titles or pageids.
  2. Get revisions for one given page, by using titles or pageids with start, end, or limit.
  3. Get data about a set of revisions by setting their IDs with revids.
Параметри:
rvprop

Which properties to get for each revision:

ids
The ID of the revision.
flags
Revision flags (minor).
timestamp
The timestamp of the revision.
user
User that made the revision.
userid
User ID of the revision creator.
size
Length (bytes) of the revision.
sha1
SHA-1 (base 16) of the revision.
contentmodel
Content model ID of the revision.
comment
Comment by the user for the revision.
parsedcomment
Parsed comment by the user for the revision.
content
Text of the revision.
tags
Tags for the revision.
parsetree
Deprecated. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model wikitext).
Вредности (одделете ги со |): ids, flags, timestamp, user, userid, size, sha1, contentmodel, comment, parsedcomment, content, tags, parsetree
По основно: ids|timestamp|flags|comment|user
rvlimit

Limit how many revisions will be returned.

May only be used with a single page (mode #2).
Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
rvexpandtemplates
Застарен.

Use action=expandtemplates instead. Expand templates in revision content (requires rvprop=content).

Тип: булов (подробно)
rvgeneratexml
Застарен.

Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires rvprop=content).

Тип: булов (подробно)
rvparse
Застарен.

Use action=parse instead. Parse revision content (requires rvprop=content). For performance reasons, if this option is used, rvlimit is enforced to 1.

Тип: булов (подробно)
rvsection

Only retrieve the content of this section number.

rvdiffto
Застарен.

Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively.

rvdifftotext
Застарен.

Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides rvdiffto. If rvsection is set, only that section will be diffed against this text.

rvdifftotextpst
Застарен.

Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with rvdifftotext.

Тип: булов (подробно)
rvcontentformat

Serialization format used for rvdifftotext and expected for output of content.

Една вредност: text/x-wiki, text/javascript, application/json, text/css, text/plain
rvstartid

Start enumeration from this revision's timestamp. The revision must exist, but need not belong to this page.

May only be used with a single page (mode #2).
Тип: цел број
rvendid

Stop enumeration at this revision's timestamp. The revision must exist, but need not belong to this page.

May only be used with a single page (mode #2).
Тип: цел број
rvstart

From which revision timestamp to start enumeration.

May only be used with a single page (mode #2).
Тип: време и датум (допуштени формати)
rvend

Enumerate up to this timestamp.

May only be used with a single page (mode #2).
Тип: време и датум (допуштени формати)
rvdir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: rvstart мора да биде пред rvend.
постари
Прво најновите (по основно). Напомена: rvstart мора да биде подоцна од rvend.
May only be used with a single page (mode #2).
Една вредност: newer, older
По основно: older
rvuser

Only include revisions made by user.

May only be used with a single page (mode #2).
Тип: корисничко име
rvexcludeuser

Exclude revisions made by user.

May only be used with a single page (mode #2).
Тип: корисничко име
rvtag

Only list revisions tagged with this tag.

rvtoken
Застарен.

Which tokens to obtain for each revision.

Вредности (одделете ги со |): rollback
rvcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Примери:
Get data with content for the last revision of titles API and Main Page.
api.php?action=query&prop=revisions&titles=API|Main%20Page&rvprop=timestamp|user|comment|content [open in sandbox]
Дај ги последните 5 преработки на Главна страница.
api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment [open in sandbox]
Дај ги првите 5 преработки на Главна страница.
api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvdir=newer [open in sandbox]
Дај ги првите 5 преработки на Главна страница направени по 2006-05-01 (1 мај 2006 г.)
api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvdir=newer&rvstart=2006-05-01T00:00:00Z [open in sandbox]
Дај ги првите 5 преработки на Главна страница кои не се направени од анонимниот корисник „127.0.0.1“
api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvexcludeuser=127.0.0.1 [open in sandbox]
Дај ги првите 5 преработки на Главна страница кои се направени од корисникот „зададен од МедијаВики“ (MediaWiki default)
api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvuser=MediaWiki%20default [open in sandbox]

prop=stashimageinfo (sii)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns file information for stashed files.

Параметри:
siifilekey

Key that identifies a previous upload that was stashed temporarily.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
siisessionkey
Застарен.

Alias for siifilekey, for backward compatibility.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
siiprop

Which file information to get:

timestamp
Adds timestamp for the uploaded version.
canonicaltitle
Adds the canonical title of the file.
url
Gives URL to the file and the description page.
size
Adds the size of the file in bytes and the height, width and page count (if applicable).
dimensions
Alias for size.
sha1
Adds SHA-1 hash for the file.
mime
Adds MIME type of the file.
thumbmime
Adds MIME type of the image thumbnail (requires url and param siiurlwidth).
metadata
Lists Exif metadata for the version of the file.
commonmetadata
Lists file format generic metadata for the version of the file.
extmetadata
Lists formatted metadata combined from multiple sources. Results are HTML formatted.
bitdepth
Adds the bit depth of the version.
badfile
Adds whether the file is on the MediaWiki:Bad image list
Вредности (одделете ги со |): timestamp, canonicaltitle, url, size, dimensions, sha1, mime, thumbmime, metadata, commonmetadata, extmetadata, bitdepth, badfile
По основно: timestamp|url
siiurlwidth

If siiprop=url is set, a URL to an image scaled to this width will be returned. For performance reasons if this option is used, no more than 50 scaled images will be returned.

Тип: цел број
По основно: -1
siiurlheight

Слично на siiurlwidth.

Тип: цел број
По основно: -1
siiurlparam

A handler specific parameter string. For example, PDFs might use page15-100px. siiurlwidth must be used and be consistent with siiurlparam.

По основно: (празно)

prop=templates (tl)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Returns all pages transcluded on the given pages.

Параметри:
tlnamespace

Show templates in these namespaces only.

Вредности (одделете ги со |): -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
tllimit

How many templates to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
tlcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

tltemplates

Only list these templates. Useful for checking whether a certain page uses a certain template.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
tldir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
Примери:
Get the templates used on the page Main Page.
api.php?action=query&prop=templates&titles=Main%20Page [open in sandbox]
Get information about the template pages used on Main Page.
api.php?action=query&generator=templates&titles=Main%20Page&prop=info [open in sandbox]
Get pages in the Корисник and Шаблон namespaces that are transcluded on the page Main Page.
api.php?action=query&prop=templates&titles=Main%20Page&tlnamespace=2|10 [open in sandbox]

prop=transcludedin (ti)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Find all pages that transclude the given pages.

Параметри:
tiprop

Which properties to get:

pageid
Page ID of each page.
title
Title of each page.
redirect
Flag if the page is a redirect.
Вредности (одделете ги со |): pageid, title, redirect
По основно: pageid|title|redirect
tinamespace

Only include pages in these namespaces.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
tishow

Show only items that meet these criteria:

redirect
Only show redirects.
!redirect
Only show non-redirects.
Вредности (одделете ги со |): redirect, !redirect
tilimit

How many to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
ticontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Примери:
Get a list of pages transcluding Main Page.
api.php?action=query&prop=transcludedin&titles=Main%20Page [open in sandbox]
Get information about pages transcluding Main Page.
api.php?action=query&generator=transcludedin&titles=Main%20Page&prop=info [open in sandbox]

list=allcategories (ac)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Наброј ги сите категории.

Параметри:
acfrom

Од која категорија да почне набројувањето.

accontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

acto

На која категорија да запре набројувањето.

acprefix

Search for all category titles that begin with this value.

acdir

Насока на подредувањето.

Една вредност: ascending, descending
По основно: ascending
acmin

Only return categories with at least this many members.

Тип: цел број
acmax

Only return categories with at most this many members.

Тип: цел број
aclimit

How many categories to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
acprop

Which properties to get:

size
Adds number of pages in the category.
hidden
Tags categories that are hidden with __HIDDENCAT__.
Вредности (одделете ги со |): size, hidden
По основно: (празно)
Примери:
List categories with information on the number of pages in each.
api.php?action=query&list=allcategories&acprop=size [open in sandbox]
Retrieve info about the category page itself for categories beginning List.
api.php?action=query&generator=allcategories&gacprefix=List&prop=info [open in sandbox]

list=alldeletedrevisions (adr)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List all deleted revisions by a user or in a namespace.

Параметри:
adrprop

Which properties to get for each revision:

ids
The ID of the revision.
flags
Revision flags (minor).
timestamp
The timestamp of the revision.
user
User that made the revision.
userid
User ID of the revision creator.
size
Length (bytes) of the revision.
sha1
SHA-1 (base 16) of the revision.
contentmodel
Content model ID of the revision.
comment
Comment by the user for the revision.
parsedcomment
Parsed comment by the user for the revision.
content
Text of the revision.
tags
Tags for the revision.
parsetree
Deprecated. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model wikitext).
Вредности (одделете ги со |): ids, flags, timestamp, user, userid, size, sha1, contentmodel, comment, parsedcomment, content, tags, parsetree
По основно: ids|timestamp|flags|comment|user
adrlimit

Limit how many revisions will be returned.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
adrexpandtemplates
Застарен.

Use action=expandtemplates instead. Expand templates in revision content (requires adrprop=content).

Тип: булов (подробно)
adrgeneratexml
Застарен.

Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires adrprop=content).

Тип: булов (подробно)
adrparse
Застарен.

Use action=parse instead. Parse revision content (requires adrprop=content). For performance reasons, if this option is used, adrlimit is enforced to 1.

Тип: булов (подробно)
adrsection

Only retrieve the content of this section number.

adrdiffto
Застарен.

Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively.

adrdifftotext
Застарен.

Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides adrdiffto. If adrsection is set, only that section will be diffed against this text.

adrdifftotextpst
Застарен.

Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with adrdifftotext.

Тип: булов (подробно)
adrcontentformat

Serialization format used for adrdifftotext and expected for output of content.

Една вредност: text/x-wiki, text/javascript, application/json, text/css, text/plain
adruser

Only list revisions by this user.

Тип: корисничко име
adrnamespace

Only list pages in this namespace.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
adrstart

The timestamp to start enumerating from.

May only be used with adruser.
Тип: време и датум (допуштени формати)
adrend

The timestamp to stop enumerating at.

May only be used with adruser.
Тип: време и датум (допуштени формати)
adrdir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: adrstart мора да биде пред adrend.
постари
Прво најновите (по основно). Напомена: adrstart мора да биде подоцна од adrend.
Една вредност: newer, older
По основно: older
adrfrom

Почни го исписот од овој наслов.

Cannot be used with adruser.
adrto

Запри го исписот на овој наслов.

Cannot be used with adruser.
adrprefix

Search for all page titles that begin with this value.

Cannot be used with adruser.
adrexcludeuser

Don't list revisions by this user.

Cannot be used with adruser.
Тип: корисничко име
adrtag

Only list revisions tagged with this tag.

adrcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

adrgeneratetitles

When being used as a generator, generate titles rather than revision IDs.

Тип: булов (подробно)
Примери:
Список на последните 50 избришани придонеси на корисникот Example.
api.php?action=query&list=alldeletedrevisions&adruser=Example&adrlimit=50 [open in sandbox]
Список на последните 50 избришани преработки во главниот именски простор.
api.php?action=query&list=alldeletedrevisions&adrdir=newer&adrnamespace=0&adrlimit=50 [open in sandbox]

list=allfileusages (af)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List all file usages, including non-existing.

Параметри:
afcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

affrom

The title of the file to start enumerating from.

afto

The title of the file to stop enumerating at.

afprefix

Search for all file titles that begin with this value.

afunique

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

Тип: булов (подробно)
afprop

Which pieces of information to include:

ids
Adds the page IDs of the using pages (cannot be used with afunique).
title
Adds the title of the file.
Вредности (одделете ги со |): ids, title
По основно: title
aflimit

How many total items to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
afdir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
Примери:
List file titles, including missing ones, with page IDs they are from, starting at B.
api.php?action=query&list=allfileusages&affrom=B&afprop=ids|title [open in sandbox]
List unique file titles.
api.php?action=query&list=allfileusages&afunique=&affrom=B [open in sandbox]
Gets all file titles, marking the missing ones.
api.php?action=query&generator=allfileusages&gafunique=&gaffrom=B [open in sandbox]
Gets pages containing the files.
api.php?action=query&generator=allfileusages&gaffrom=B [open in sandbox]

list=allimages (ai)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Enumerate all images sequentially.

Параметри:
aisort

Property to sort by.

Една вредност: name, timestamp
По основно: name
aidir

The direction in which to list.

Една вредност: ascending, descending, newer, older
По основно: ascending
aifrom

The image title to start enumerating from. Can only be used with aisort=name.

aito

The image title to stop enumerating at. Can only be used with aisort=name.

aicontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

aistart

The timestamp to start enumerating from. Can only be used with aisort=timestamp.

Тип: време и датум (допуштени формати)
aiend

The timestamp to end enumerating. Can only be used with aisort=timestamp.

Тип: време и датум (допуштени формати)
aiprop

Which file information to get:

timestamp
Adds timestamp for the uploaded version.
user
Adds the user who uploaded each file version.
userid
Add the ID of the user that uploaded each file version.
comment
Comment on the version.
parsedcomment
Parse the comment on the version.
canonicaltitle
Adds the canonical title of the file.
url
Gives URL to the file and the description page.
size
Adds the size of the file in bytes and the height, width and page count (if applicable).
dimensions
Alias for size.
sha1
Adds SHA-1 hash for the file.
mime
Adds MIME type of the file.
mediatype
Adds the media type of the file.
metadata
Lists Exif metadata for the version of the file.
commonmetadata
Lists file format generic metadata for the version of the file.
extmetadata
Lists formatted metadata combined from multiple sources. Results are HTML formatted.
bitdepth
Adds the bit depth of the version.
badfile
Adds whether the file is on the MediaWiki:Bad image list
Вредности (одделете ги со |): timestamp, user, userid, comment, parsedcomment, canonicaltitle, url, size, dimensions, sha1, mime, mediatype, metadata, commonmetadata, extmetadata, bitdepth, badfile
По основно: timestamp|url
aiprefix

Search for all image titles that begin with this value. Can only be used with aisort=name.

aiminsize

Limit to images with at least this many bytes.

Тип: цел број
aimaxsize

Limit to images with at most this many bytes.

Тип: цел број
aisha1

SHA1 hash of image. Overrides aisha1base36.

aisha1base36

SHA1 hash of image in base 36 (used in MediaWiki).

aiuser

Only return files uploaded by this user. Can only be used with aisort=timestamp. Cannot be used together with aifilterbots.

Тип: корисничко име
aifilterbots

How to filter files uploaded by bots. Can only be used with aisort=timestamp. Cannot be used together with aiuser.

Една вредност: all, bots, nobots
По основно: all
aimime

What MIME types to search for, e.g. image/jpeg.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
ailimit

How many images in total to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
Примери:
Прикажи список на податотеки што почнуваат со буквата B.
api.php?action=query&list=allimages&aifrom=B [open in sandbox]
Прикажи список на неодамна подигнати податотеки сличен на Special:NewFiles
api.php?action=query&list=allimages&aiprop=user|timestamp|url&aisort=timestamp&aidir=older [open in sandbox]
Show a list of files with MIME type image/png or image/gif
api.php?action=query&list=allimages&aimime=image/png|image/gif [open in sandbox]
Прикажи информации за околу 4 податотеки што почнуваат со буквата T.
api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo [open in sandbox]
  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Наброј ги сите врски што водат кон даден именски простор.

Параметри:
alcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

alfrom

Наслов на врската од која ќе почне набројувањето.

alto

Наслов на врската на која ќе запре набројувањето.

alprefix

Пребарај ги сите сврзани наслови што почнуваат со оваа вредност.

alunique

Прикажувај само различни поврзани наслови. Не може да се користи со alprop=ids. Кога се користи како создавач, дава целни страници наместо изворни.

Тип: булов (подробно)
alprop

Кои информации да се вклучат:

ids
Ја додава назнаката на страницата на која е врската (не може да се користи со alunique).
title
Го додава насловот на врската.
Вредности (одделете ги со |): ids, title
По основно: title
alnamespace

Именскиот простор што се набројува.

Една вредност: -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
По основно: 0
allimit

Колку вкупно ставки да се дадат.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
aldir

Насока на исписот.

Една вредност: ascending, descending
По основно: ascending
Примери:
Списока на наслови со врски, вклучувајќи ги отсутните, со назнаки на нивните страници, почнувајќи од Б.
api.php?action=query&list=alllinks&alfrom=B&alprop=ids|title [open in sandbox]
Испиши единствени наслови со врски
api.php?action=query&list=alllinks&alunique=&alfrom=B [open in sandbox]
Ги дава сите наслови со врски, означувајќи ги отсутните
api.php?action=query&generator=alllinks&galunique=&galfrom=B [open in sandbox]
Дава страници што ги содржат врските
api.php?action=query&generator=alllinks&galfrom=B [open in sandbox]

list=allpages (ap)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Наброј ги сите страници последователно во даден именски простор.

Параметри:
apfrom

Наслов на страницата од која ќе почне набројувањето.

apcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

apto

Наслов на страницата на која ќе запре набројувањето.

apprefix

Пребарај ги сите наслови на страници што почнуваат со оваа вредност.

apnamespace

Именскиот простор што се набројува.

Една вредност: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
По основно: 0
apfilterredir

Кои страници да се испишат.

Една вредност: all, redirects, nonredirects
По основно: all
apminsize

Ограничи на страници со барем олку бајти.

Тип: цел број
apmaxsize

Ограничи на страници со највеќе олку бајти.

Тип: цел број
apprtype

Ограничи на само заштитени страници.

Вредности (одделете ги со |): edit, move, upload
apprlevel

Filter protections based on protection level (must be used with apprtype= parameter).

Вредности (одделете ги со |): Може да биде празно или autoconfirmed, sysop
apprfiltercascade

Filter protections based on cascadingness (ignored when apprtype isn't set).

Една вредност: cascading, noncascading, all
По основно: all
aplimit

How many total pages to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
apdir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
apfilterlanglinks

Filter based on whether a page has langlinks. Note that this may not consider langlinks added by extensions.

Една вредност: withlanglinks, withoutlanglinks, all
По основно: all
apprexpiry

Which protection expiry to filter the page on:

indefinite
Get only pages with indefinite protection expiry.
definite
Get only pages with a definite (specific) protection expiry.
all
Get pages with any protections expiry.
Една вредност: indefinite, definite, all
По основно: all

list=allredirects (ar)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

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.

Тип: булов (подробно)
arprop

Which pieces of information to include:

ids
Adds the page ID of the redirecting page (cannot be used with arunique).
title
Adds the title of the redirect.
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).
Вредности (одделете ги со |): ids, title, fragment, interwiki
По основно: title
arnamespace

The namespace to enumerate.

Една вредност: -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
По основно: 0
arlimit

How many total items to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
ardir

The direction in which to list.

Една вредност: 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]
Gets all target pages, marking the missing ones.
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]

list=allrevisions (arv)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List all revisions.

Параметри:
arvprop

Which properties to get for each revision:

ids
The ID of the revision.
flags
Revision flags (minor).
timestamp
The timestamp of the revision.
user
User that made the revision.
userid
User ID of the revision creator.
size
Length (bytes) of the revision.
sha1
SHA-1 (base 16) of the revision.
contentmodel
Content model ID of the revision.
comment
Comment by the user for the revision.
parsedcomment
Parsed comment by the user for the revision.
content
Text of the revision.
tags
Tags for the revision.
parsetree
Deprecated. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model wikitext).
Вредности (одделете ги со |): ids, flags, timestamp, user, userid, size, sha1, contentmodel, comment, parsedcomment, content, tags, parsetree
По основно: ids|timestamp|flags|comment|user
arvlimit

Limit how many revisions will be returned.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
arvexpandtemplates
Застарен.

Use action=expandtemplates instead. Expand templates in revision content (requires arvprop=content).

Тип: булов (подробно)
arvgeneratexml
Застарен.

Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires arvprop=content).

Тип: булов (подробно)
arvparse
Застарен.

Use action=parse instead. Parse revision content (requires arvprop=content). For performance reasons, if this option is used, arvlimit is enforced to 1.

Тип: булов (подробно)
arvsection

Only retrieve the content of this section number.

arvdiffto
Застарен.

Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively.

arvdifftotext
Застарен.

Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides arvdiffto. If arvsection is set, only that section will be diffed against this text.

arvdifftotextpst
Застарен.

Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with arvdifftotext.

Тип: булов (подробно)
arvcontentformat

Serialization format used for arvdifftotext and expected for output of content.

Една вредност: text/x-wiki, text/javascript, application/json, text/css, text/plain
arvuser

Only list revisions by this user.

Тип: корисничко име
arvnamespace

Only list pages in this namespace.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
arvstart

The timestamp to start enumerating from.

Тип: време и датум (допуштени формати)
arvend

The timestamp to stop enumerating at.

Тип: време и датум (допуштени формати)
arvdir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: arvstart мора да биде пред arvend.
постари
Прво најновите (по основно). Напомена: arvstart мора да биде подоцна од arvend.
Една вредност: newer, older
По основно: older
arvexcludeuser

Don't list revisions by this user.

Тип: корисничко име
arvcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

arvgeneratetitles

When being used as a generator, generate titles rather than revision IDs.

Тип: булов (подробно)
Примери:
List the last 50 contributions by user Example.
api.php?action=query&list=allrevisions&arvuser=Example&arvlimit=50 [open in sandbox]
List the first 50 revisions in the main namespace.
api.php?action=query&list=allrevisions&arvdir=newer&arvlimit=50 [open in sandbox]

list=alltransclusions (at)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

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

Параметри:
atcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

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.

Една вредност: -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
По основно: 10
atlimit

How many total items to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
atdir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
Примери:
List transcluded titles, including missing ones, with page IDs they are from, starting at B.
api.php?action=query&list=alltransclusions&atfrom=B&atprop=ids|title [open in sandbox]
List unique transcluded titles.
api.php?action=query&list=alltransclusions&atunique=&atfrom=B [open in sandbox]
Gets all transcluded titles, marking the missing ones.
api.php?action=query&generator=alltransclusions&gatunique=&gatfrom=B [open in sandbox]
Gets pages containing the transclusions.
api.php?action=query&generator=alltransclusions&gatfrom=B [open in sandbox]

list=allusers (au)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Enumerate all registered users.

Параметри:
aufrom

The user name to start enumerating from.

auto

The user name to stop enumerating at.

auprefix

Search for all users that begin with this value.

audir

Direction to sort in.

Една вредност: ascending, descending
По основно: ascending
augroup

Only include users in the given groups.

Вредности (одделете ги со |): bot, sysop, bureaucrat, renameuser, interwiki, checkuser
auexcludegroup

Exclude users in the given groups.

Вредности (одделете ги со |): bot, sysop, bureaucrat, renameuser, interwiki, checkuser
aurights

Only include users with the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.

Вредности (одделете ги со |): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmywatchlist, editsemiprotected, editusercss, edituserjs, hideuser, import, importupload, ipblock-exempt, managechangetags, markbotedits, mergehistory, minoredit, move, movefile, move-categorypages, move-rootuserpages, move-subpages, nominornewtalk, noratelimit, override-export-depth, pagelang, patrol, patrolmarks, protect, purge, read, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed, writeapi, checkuser, checkuser-log, skipcaptcha, nuke, renameuser, override-antispoof, confirmaccount, requestips, lookupcredentials, interwiki
Највеќе допуштени вредности: 50 (500 за ботови).
auprop

Which pieces of information to include:

blockinfo
Adds the information about a current block on the user.
groups
Lists groups that the user is in. This uses more server resources and may return fewer results than the limit.
implicitgroups
Lists all the groups the user is automatically in.
rights
Lists rights that the user has.
editcount
Adds the edit count of the user.
registration
Adds the timestamp of when the user registered if available (may be blank).
centralids
Adds the central IDs and attachment status for the user.
Вредности (одделете ги со |): blockinfo, groups, implicitgroups, rights, editcount, registration, centralids
aulimit

How many total user names to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
auwitheditsonly

Only list users who have made edits.

Тип: булов (подробно)
auactiveusers

Only list users active in the last 30 days.

Тип: булов (подробно)
auattachedwiki

With auprop=centralids, also indicate whether the user is attached with the wiki identified by this ID.

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Find all pages that link to the given page.

Параметри:
bltitle

Title to search. Cannot be used together with blpageid.

blpageid

Page ID to search. Cannot be used together with bltitle.

Тип: цел број
blcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

blnamespace

The namespace to enumerate.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
bldir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
blfilterredir

How to filter for redirects. If set to nonredirects when blredirect is enabled, this is only applied to the second level.

Една вредност: all, redirects, nonredirects
По основно: all
bllimit

How many total pages to return. If blredirect is enabled, the limit applies to each level separately (which means up to 2 * bllimit results may be returned).

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
blredirect

If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.

Тип: булов (подробно)
Примери:
Прикажи врски до Main page.
api.php?action=query&list=backlinks&bltitle=Main%20Page [open in sandbox]
Дава информации за страниците што водат до Main page.
api.php?action=query&generator=backlinks&gbltitle=Main%20Page&prop=info [open in sandbox]

list=blocks (bk)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Список на сите блокирани корисници и IP-адреси

Параметри:
bkstart

Од кој датум и време да почне набројувањето.

Тип: време и датум (допуштени формати)
bkend

На кој датум и време да запре набројувањето.

Тип: време и датум (допуштени формати)
bkdir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: bkstart мора да биде пред bkend.
постари
Прво најновите (по основно). Напомена: bkstart мора да биде подоцна од bkend.
Една вредност: newer, older
По основно: older
bkids

Список на назнаки на блоковите за испис (незадолжително)

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
bkusers

Список на корисници што ќе се пребаруваат (незадолжително)

Тип: список на кориснички имиња
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
bkip

Get all blocks applying to this IP address or CIDR range, including range blocks. Cannot be used together with bkusers. CIDR ranges broader than IPv4/16 or IPv6/19 are not accepted.

bklimit

The maximum number of blocks to list.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
bkprop

Which properties to get:

id
Adds the ID of the block.
user
Adds the username of the blocked user.
userid
Adds the user ID of the blocked user.
by
Adds the username of the blocking user.
byid
Adds the user ID of the blocking user.
timestamp
Adds the timestamp of when the block was given.
expiry
Adds the timestamp of when the block expires.
reason
Adds the reason given for the block.
range
Adds the range of IP addresses affected by the block.
flags
Tags the ban with (autoblock, anononly, etc.).
Вредности (одделете ги со |): id, user, userid, by, byid, timestamp, expiry, reason, range, flags
По основно: id|user|by|timestamp|expiry|reason|flags
bkshow

Show only items that meet these criteria. For example, to see only indefinite blocks on IP addresses, set bkshow=ip|!temp.

Вредности (одделете ги со |): account, !account, temp, !temp, ip, !ip, range, !range
bkcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

list=categorymembers (cm)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List all pages in a given category.

Параметри:
cmtitle

Which category to enumerate (required). Must include the Категорија: prefix. Cannot be used together with cmpageid.

cmpageid

Page ID of the category to enumerate. Cannot be used together with cmtitle.

Тип: цел број
cmprop

Which pieces of information to include:

ids
Adds the page ID.
title
Adds the title and namespace ID of the page.
sortkey
Adds the sortkey used for sorting in the category (hexadecimal string).
sortkeyprefix
Adds the sortkey prefix used for sorting in the category (human-readable part of the sortkey).
type
Adds the type that the page has been categorised as (page, subcat or file).
timestamp
Adds the timestamp of when the page was included.
Вредности (одделете ги со |): ids, title, sortkey, sortkeyprefix, type, timestamp
По основно: ids|title
cmnamespace

Only include pages in these namespaces. Note that cmtype=subcat or cmtype=file may be used instead of cmnamespace=14 or 6.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
cmtype

Which type of category members to include. Ignored when cmsort=timestamp is set.

Вредности (одделете ги со |): page, subcat, file
По основно: page|subcat|file
cmcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

cmlimit

The maximum number of pages to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
cmsort

Property to sort by.

Една вредност: sortkey, timestamp
По основно: sortkey
cmdir

In which direction to sort.

Една вредност: asc, desc, ascending, descending, newer, older
По основно: ascending
cmstart

Timestamp to start listing from. Can only be used with cmsort=timestamp.

Тип: време и датум (допуштени формати)
cmend

Timestamp to end listing at. Can only be used with cmsort=timestamp.

Тип: време и датум (допуштени формати)
cmstarthexsortkey

Sortkey to start listing from, as returned by cmprop=sortkey. Can only be used with cmsort=sortkey.

cmendhexsortkey

Sortkey to end listing at, as returned by cmprop=sortkey. Can only be used with cmsort=sortkey.

cmstartsortkeyprefix

Sortkey prefix to start listing from. Can only be used with cmsort=sortkey. Overrides cmstarthexsortkey.

cmendsortkeyprefix

Sortkey prefix to end listing before (not at; if this value occurs it will not be included!). Can only be used with cmsort=sortkey. Overrides cmendhexsortkey.

cmstartsortkey
Застарен.

Use cmstarthexsortkey instead.

cmendsortkey
Застарен.

Use cmendhexsortkey instead.

list=checkuser (cu)

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: CheckUser
  • Лиценца: GPL-2.0+

Провери кои IP-адреси ги користи дадено корисничко име или пак кои кориснички имиња ги користи дадена IP-адреса.

Параметри:
curequest

Тип на барање со CheckUser:

userips
Дај IP-адреса на целен корисник.
edits
Дај промени од целна IP-адреса или опсег.
ipusers
Дај корисници од целна IP-адреса или опсег.
Овој параметар е задолжителен.
Една вредност: userips, edits, ipusers
cutarget

Корисничко име, IP-адреса или CIDR-опсег за проверка.

Овој параметар е задолжителен.
cureason

Причина за проверката.

culimit

Ограничување на редовите.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 1000
cutimecond

Временско ограничување за корисничките податоци (како на пр. „-2 weeks“ или „2 weeks ago“).

По основно: -2 weeks
cuxff

Користи XFF-податоци наместо IP-адреса.

cutoken

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.

list=checkuserlog (cul)

  • За овој модул се потребни права на читање.
  • Извор: CheckUser
  • Лиценца: GPL-2.0+

Дај ставки од записникот на CheckUser.

Параметри:
culuser

Кориснилчко име на проверувачот (CheckUser).

cultarget

Проверен корисник, IP-адреса или CIDR-опсег.

cullimit

Ограничување на редовите.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
culdir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: culstart мора да биде пред culend.
постари
Прво најновите (по основно). Напомена: culstart мора да биде подоцна од culend.
Една вредност: newer, older
По основно: older
culfrom

Од кој датум и време да почне набројувањето.

Тип: време и датум (допуштени формати)
culto

На кој датум и време да запре набројувањето.

Тип: време и датум (допуштени формати)
culcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

list=deletedrevs (dr)

  • Овој модул е застарен.
  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List deleted revisions.

Operates in three modes:

  1. List deleted revisions for the given titles, sorted by timestamp.
  2. List deleted contributions for the given user, sorted by timestamp (no titles specified).
  3. List all deleted revisions in the given namespace, sorted by title and timestamp (no titles specified, druser not set).

Certain parameters only apply to some modes and are ignored in others.

Параметри:
drstart

The timestamp to start enumerating from.

Режими: 1, 2
Тип: време и датум (допуштени формати)
drend

The timestamp to stop enumerating at.

Режими: 1, 2
Тип: време и датум (допуштени формати)
drdir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: drstart мора да биде пред drend.
постари
Прво најновите (по основно). Напомена: drstart мора да биде подоцна од drend.
Режими: 1, 3
Една вредност: newer, older
По основно: older
drfrom

Start listing at this title.

Режим: 3
drto

Stop listing at this title.

Режим: 3
drprefix

Search for all page titles that begin with this value.

Режим: 3
drunique

List only one revision for each page.

Режим: 3
Тип: булов (подробно)
drnamespace

Only list pages in this namespace.

Режим: 3
Една вредност: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
По основно: 0
drtag

Only list revisions tagged with this tag.

druser

Only list revisions by this user.

Тип: корисничко име
drexcludeuser

Don't list revisions by this user.

Тип: корисничко име
drprop

Which properties to get:

revid
Adds the revision ID of the deleted revision.
parentid
Adds the revision ID of the previous revision to the page.
user
Adds the user who made the revision.
userid
Adds the ID of the user who made the revision.
comment
Adds the comment of the revision.
parsedcomment
Adds the parsed comment of the revision.
minor
Tags if the revision is minor.
len
Adds the length (bytes) of the revision.
sha1
Adds the SHA-1 (base 16) of the revision.
content
Adds the content of the revision.
token
Deprecated. Gives the edit token.
tags
Tags for the revision.
Вредности (одделете ги со |): revid, parentid, user, userid, comment, parsedcomment, minor, len, sha1, content, token, tags
По основно: user|comment
drlimit

The maximum amount of revisions to list.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
drcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Примери:
List the last deleted revisions of the pages Main Page and Talk:Main Page, with content (mode 1).
api.php?action=query&list=deletedrevs&titles=Main%20Page|Talk:Main%20Page&drprop=user|comment|content [open in sandbox]
List the last 50 deleted contributions by Bob (mode 2).
api.php?action=query&list=deletedrevs&druser=Bob&drlimit=50 [open in sandbox]
List the first 50 deleted revisions in the main namespace (mode 3).
api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50 [open in sandbox]
List the first 50 deleted pages in the Разговор namespace (mode 3).
api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique= [open in sandbox]

list=embeddedin (ei)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Find all pages that embed (transclude) the given title.

Параметри:
eititle

Title to search. Cannot be used together with eipageid.

eipageid

Page ID to search. Cannot be used together with eititle.

Тип: цел број
eicontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

einamespace

The namespace to enumerate.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
eidir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
eifilterredir

How to filter for redirects.

Една вредност: all, redirects, nonredirects
По основно: all
eilimit

How many total pages to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10

list=exturlusage (eu)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Enumerate pages that contain a given URL.

Параметри:
euprop

Which pieces of information to include:

ids
Adds the ID of page.
title
Adds the title and namespace ID of the page.
url
Adds the URL used in the page.
Вредности (одделете ги со |): ids, title, url
По основно: ids|title|url
euoffset

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Тип: цел број
euprotocol

Protocol of the URL. If empty and euquery is set, the protocol is http. Leave both this and euquery empty to list all external links.

Една вредност: Може да биде празно или bitcoin, ftp, ftps, geo, git, gopher, http, https, irc, ircs, magnet, mailto, mms, news, nntp, redis, sftp, sip, sips, sms, ssh, svn, tel, telnet, urn, worldwind, xmpp
По основно: (празно)
euquery

Search string without protocol. See Special:LinkSearch. Leave empty to list all external links.

eunamespace

The page namespaces to enumerate.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
eulimit

How many pages to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
euexpandurl

Expand protocol-relative URLs with the canonical protocol.

Тип: булов (подробно)

list=filearchive (fa)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Enumerate all deleted files sequentially.

Параметри:
fafrom

The image title to start enumerating from.

fato

The image title to stop enumerating at.

faprefix

Search for all image titles that begin with this value.

fadir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
fasha1

SHA1 hash of image. Overrides fasha1base36.

fasha1base36

SHA1 hash of image in base 36 (used in MediaWiki).

faprop

Which image information to get:

sha1
Adds SHA-1 hash for the image.
timestamp
Adds timestamp for the uploaded version.
user
Adds user who uploaded the image version.
size
Adds the size of the image in bytes and the height, width and page count (if applicable).
dimensions
Alias for size.
description
Adds description of the image version.
parseddescription
Parse the description of the version.
mime
Adds MIME of the image.
mediatype
Adds the media type of the image.
metadata
Lists Exif metadata for the version of the image.
bitdepth
Adds the bit depth of the version.
archivename
Adds the filename of the archive version for non-latest versions.
Вредности (одделете ги со |): sha1, timestamp, user, size, dimensions, description, parseddescription, mime, mediatype, metadata, bitdepth, archivename
По основно: timestamp
falimit

How many images to return in total.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
facontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Пример:
Show a list of all deleted files.
api.php?action=query&list=filearchive [open in sandbox]

list=imageusage (iu)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Find all pages that use the given image title.

Параметри:
iutitle

Title to search. Cannot be used together with iupageid.

iupageid

Page ID to search. Cannot be used together with iutitle.

Тип: цел број
iucontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

iunamespace

The namespace to enumerate.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
iudir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
iufilterredir

How to filter for redirects. If set to nonredirects when iuredirect is enabled, this is only applied to the second level.

Една вредност: all, redirects, nonredirects
По основно: all
iulimit

How many total pages to return. If iuredirect is enabled, the limit applies to each level separately (which means up to 2 * iulimit results may be returned).

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
iuredirect

If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.

Тип: булов (подробно)
  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Find all pages that link to the given interwiki link.

Can be used to find all links with a prefix, or all links to a title (with a given prefix). Using neither parameter is effectively "all interwiki links".

Параметри:
iwblprefix

Prefix for the interwiki.

iwbltitle

Interwiki link to search for. Must be used with iwblblprefix.

iwblcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

iwbllimit

How many total pages to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
iwblprop

Which properties to get:

iwprefix
Adds the prefix of the interwiki.
iwtitle
Adds the title of the interwiki.
Вредности (одделете ги со |): iwprefix, iwtitle
По основно: (празно)
iwbldir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Find all pages that link to the given language link.

Can be used to find all links with a language code, or all links to a title (with a given language). Using neither parameter is effectively "all language links".

Note that this may not consider language links added by extensions.

Параметри:
lbllang

Language for the language link.

lbltitle

Language link to search for. Must be used with lbllang.

lblcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

lbllimit

How many total pages to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
lblprop

Which properties to get:

lllang
Adds the language code of the language link.
lltitle
Adds the title of the language link.
Вредности (одделете ги со |): lllang, lltitle
По основно: (празно)
lbldir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending

list=logevents (le)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get events from logs.

Параметри:
leprop

Which properties to get:

ids
Adds the ID of the log event.
title
Adds the title of the page for the log event.
type
Adds the type of log event.
user
Adds the user responsible for the log event.
userid
Adds the user ID who was responsible for the log event.
timestamp
Adds the timestamp for the log event.
comment
Adds the comment of the log event.
parsedcomment
Adds the parsed comment of the log event.
details
Lists additional details about the log event.
tags
Lists tags for the log event.
Вредности (одделете ги со |): ids, title, type, user, userid, timestamp, comment, parsedcomment, details, tags
По основно: ids|title|type|user|timestamp|comment|details
letype

Filter log entries to only this type.

Една вредност: Може да биде празно или renameuser, block, protect, rights, delete, upload, move, import, patrol, merge, suppress, tag, managetags, contentmodel, newusers, interwiki
leaction

Filter log actions to only this action. Overrides letype. In the list of possible values, values with the asterisk wildcard such as action/* can have different strings after the slash (/).

Една вредност: renameuser/renameuser, block/block, block/reblock, block/unblock, contentmodel/change, contentmodel/new, delete/delete, delete/delete_redir, delete/event, delete/restore, delete/revision, import/interwiki, import/upload, managetags/activate, managetags/create, managetags/deactivate, managetags/delete, merge/merge, move/move, move/move_redir, patrol/patrol, patrol/autopatrol, protect/modify, protect/move_prot, protect/protect, protect/unprotect, rights/autopromote, rights/rights, suppress/block, suppress/delete, suppress/event, suppress/reblock, suppress/revision, tag/update, upload/overwrite, upload/revert, upload/upload, newusers/newusers, newusers/create, newusers/create2, newusers/byemail, newusers/autocreate, interwiki/*
lestart

The timestamp to start enumerating from.

Тип: време и датум (допуштени формати)
leend

The timestamp to end enumerating.

Тип: време и датум (допуштени формати)
ledir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: lestart мора да биде пред leend.
постари
Прво најновите (по основно). Напомена: lestart мора да биде подоцна од leend.
Една вредност: newer, older
По основно: older
leuser

Filter entries to those made by the given user.

Тип: корисничко име
letitle

Filter entries to those related to a page.

lenamespace

Filter entries to those in the given namespace.

Една вредност: -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
leprefix

Filter entries that start with this prefix.

letag

Only list event entries tagged with this tag.

lelimit

How many total event entries to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
lecontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Пример:
List recent log events.
api.php?action=query&list=logevents [open in sandbox]

list=mystashedfiles (msf)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get a list of files in the current user's upload stash.

Параметри:
msfprop

Which properties to fetch for the files.

size
Fetch the file size and image dimensions.
type
Fetch the file's MIME type and media type.
Вредности (одделете ги со |): size, type
По основно: (празно)
msflimit

How many files to get.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
msfcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Пример:
Get the filekey, file size, and pixel size of files in the current user's upload stash.
api.php?action=query&list=mystashedfiles&msfprop=size [open in sandbox]

list=pagepropnames (ppn)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List all page property names in use on the wiki.

Параметри:
ppncontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

ppnlimit

The maximum number of names to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
Пример:
Get first 10 property names.
api.php?action=query&list=pagepropnames [open in sandbox]

list=pageswithprop (pwp)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List all pages using a given page property.

Параметри:
pwppropname

Page property for which to enumerate pages (action=query&list=pagepropnames returns page property names in use).

Овој параметар е задолжителен.
pwpprop

Which pieces of information to include:

ids
Adds the page ID.
title
Adds the title and namespace ID of the page.
value
Adds the value of the page property.
Вредности (одделете ги со |): ids, title, value
По основно: ids|title
pwpcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

pwplimit

The maximum number of pages to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
pwpdir

In which direction to sort.

Една вредност: ascending, descending
По основно: ascending
Примери:
List the first 10 pages using {{DISPLAYTITLE:}}.
api.php?action=query&list=pageswithprop&pwppropname=displaytitle&pwpprop=ids|title|value [open in sandbox]
Get additional information about the first 10 pages using __NOTOC__.
api.php?action=query&generator=pageswithprop&gpwppropname=notoc&prop=info [open in sandbox]

list=prefixsearch (ps)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Perform a prefix search for page titles.

Despite the similarity in names, this module is not intended to be equivalent to Special:PrefixIndex; for that, see action=query&list=allpages with the apprefix parameter. The purpose of this module is similar to action=opensearch: to take user input and provide the best-matching titles. Depending on the search engine backend, this might include typo correction, redirect avoidance, or other heuristics.

Параметри:
pssearch

Search string.

Овој параметар е задолжителен.
psnamespace

Namespaces to search.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
По основно: 0
pslimit

Maximum number of results to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
psoffset

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Тип: цел број
По основно: 0
Пример:
Search for page titles beginning with meaning.
api.php?action=query&list=prefixsearch&pssearch=meaning [open in sandbox]

list=protectedtitles (pt)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List all titles protected from creation.

Параметри:
ptnamespace

Only list titles in these namespaces.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
ptlevel

Only list titles with these protection levels.

Вредности (одделете ги со |): autoconfirmed, sysop
ptlimit

How many total pages to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
ptdir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: ptstart мора да биде пред ptend.
постари
Прво најновите (по основно). Напомена: ptstart мора да биде подоцна од ptend.
Една вредност: newer, older
По основно: older
ptstart

Start listing at this protection timestamp.

Тип: време и датум (допуштени формати)
ptend

Stop listing at this protection timestamp.

Тип: време и датум (допуштени формати)
ptprop

Which properties to get:

timestamp
Adds the timestamp of when protection was added.
user
Adds the user that added the protection.
userid
Adds the user ID that added the protection.
comment
Adds the comment for the protection.
parsedcomment
Adds the parsed comment for the protection.
expiry
Adds the timestamp of when the protection will be lifted.
level
Adds the protection level.
Вредности (одделете ги со |): timestamp, user, userid, comment, parsedcomment, expiry, level
По основно: timestamp|level
ptcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

list=querypage (qp)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get a list provided by a QueryPage-based special page.

Параметри:
qppage

The name of the special page. Note, this is case sensitive.

Овој параметар е задолжителен.
Една вредност: Ancientpages, BrokenRedirects, Deadendpages, DoubleRedirects, ListDuplicatedFiles, Listredirects, Lonelypages, Longpages, MediaStatistics, Mostcategories, Mostimages, Mostinterwikis, Mostlinkedcategories, Mostlinkedtemplates, Mostlinked, Mostrevisions, Fewestrevisions, Shortpages, Uncategorizedcategories, Uncategorizedpages, Uncategorizedimages, Uncategorizedtemplates, Unusedcategories, Unusedimages, Wantedcategories, Wantedfiles, Wantedpages, Wantedtemplates, Unwatchedpages, Unusedtemplates, Withoutinterwiki
qpoffset

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Тип: цел број
По основно: 0
qplimit

Number of results to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10

list=random (rn)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get a set of random pages.

Pages are listed in a fixed sequence, only the starting point is random. This means that if, for example, Main Page is the first random page in the list, List of fictional monkeys will always be second, List of people on stamps of Vanuatu third, etc.

Параметри:
rnnamespace

Return pages in these namespaces only.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
rnfilterredir

How to filter for redirects.

Една вредност: all, redirects, nonredirects
По основно: nonredirects
rnredirect
Застарен.

Use rnfilterredir=redirects instead.

Тип: булов (подробно)
rnlimit

Limit how many random pages will be returned.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 1
rncontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Примери:
Return two random pages from the main namespace.
api.php?action=query&list=random&rnnamespace=0&rnlimit=2 [open in sandbox]
Return page info about two random pages from the main namespace.
api.php?action=query&generator=random&grnnamespace=0&grnlimit=2&prop=info [open in sandbox]

list=recentchanges (rc)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Enumerate recent changes.

Параметри:
rcstart

The timestamp to start enumerating from.

Тип: време и датум (допуштени формати)
rcend

The timestamp to end enumerating.

Тип: време и датум (допуштени формати)
rcdir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: rcstart мора да биде пред rcend.
постари
Прво најновите (по основно). Напомена: rcstart мора да биде подоцна од rcend.
Една вредност: newer, older
По основно: older
rcnamespace

Filter changes to only these namespaces.

Вредности (одделете ги со |): -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
rcuser

Only list changes by this user.

Тип: корисничко име
rcexcludeuser

Don't list changes by this user.

Тип: корисничко име
rctag

Only list changes tagged with this tag.

rcprop

Include additional pieces of information:

user
Adds the user responsible for the edit and tags if they are an IP.
userid
Adds the user ID responsible for the edit.
comment
Adds the comment for the edit.
parsedcomment
Adds the parsed comment for the edit.
flags
Adds flags for the edit.
timestamp
Adds timestamp of the edit.
title
Adds the page title of the edit.
ids
Adds the page ID, recent changes ID and the new and old revision ID.
sizes
Adds the new and old page length in bytes.
redirect
Tags edit if page is a redirect.
patrolled
Tags patrollable edits as being patrolled or unpatrolled.
loginfo
Adds log information (log ID, log type, etc) to log entries.
tags
Lists tags for the entry.
sha1
Adds the content checksum for entries associated with a revision.
Вредности (одделете ги со |): user, userid, comment, parsedcomment, flags, timestamp, title, ids, sizes, redirect, patrolled, loginfo, tags, sha1
По основно: title|timestamp|ids
rctoken
Застарен.

Use action=query&meta=tokens instead.

Вредности (одделете ги со |): patrol
rcshow

Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set rcshow=minor|!anon.

Вредности (одделете ги со |): minor, !minor, bot, !bot, anon, !anon, redirect, !redirect, patrolled, !patrolled, unpatrolled
rclimit

How many total changes to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
rctype

Which types of changes to show.

Вредности (одделете ги со |): edit, new, log, external, categorize
По основно: edit|new|log|categorize
rctoponly

Only list changes which are the latest revision.

Тип: булов (подробно)
rccontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

rcgeneraterevisions

When being used as a generator, generate revision IDs rather than titles. Recent change entries without associated revision IDs (e.g. most log entries) will generate nothing.

Тип: булов (подробно)

list=search (sr)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Perform a full text search.

Параметри:
srsearch

Search for page titles or content matching this value. You can use the search string to invoke special search features, depending on what the wiki's search backend implements.

Овој параметар е задолжителен.
srnamespace

Search only within these namespaces.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
По основно: 0
srlimit

How many total pages to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
sroffset

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Тип: цел број
По основно: 0
srwhat

Which type of search to perform.

Една вредност: title, text, nearmatch
srinfo

Which metadata to return.

Вредности (одделете ги со |): totalhits, suggestion, rewrittenquery
По основно: totalhits|suggestion|rewrittenquery
srprop

Which properties to return:

size
Adds the size of the page in bytes.
wordcount
Adds the word count of the page.
timestamp
Adds the timestamp of when the page was last edited.
snippet
Adds a parsed snippet of the page.
titlesnippet
Adds a parsed snippet of the page title.
redirecttitle
Adds the title of the matching redirect.
redirectsnippet
Adds a parsed snippet of the redirect title.
sectiontitle
Adds the title of the matching section.
sectionsnippet
Adds a parsed snippet of the matching section title.
isfilematch
Adds a boolean indicating if the search matched file content.
categorysnippet
Adds a parsed snippet of the matching category.
score
Застарен. Ignored.
hasrelated
Застарен. Ignored.
Вредности (одделете ги со |): size, wordcount, timestamp, snippet, titlesnippet, redirecttitle, redirectsnippet, sectiontitle, sectionsnippet, isfilematch, categorysnippet, score, hasrelated
По основно: size|wordcount|timestamp|snippet
srinterwiki

Include interwiki results in the search, if available.

Тип: булов (подробно)
srenablerewrites

Enable internal query rewriting. Some search backends can rewrite the query into another which is thought to provide better results, for instance by correcting spelling errors.

Тип: булов (подробно)
Примери:
Побарај meaning.
api.php?action=query&list=search&srsearch=meaning [open in sandbox]
Побарај го meaning по текстовите.
api.php?action=query&list=search&srwhat=text&srsearch=meaning [open in sandbox]
Дај информации за страниците што излегуваат во исходот од пребарувањето на meaning.
api.php?action=query&generator=search&gsrsearch=meaning&prop=info [open in sandbox]

list=tags (tg)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

List change tags.

Параметри:
tgcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

tglimit

The maximum number of tags to list.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
tgprop

Which properties to get:

name
Adds name of tag.
displayname
Adds system message for the tag.
description
Adds description of the tag.
hitcount
Adds the number of revisions and log entries that have this tag.
defined
Indicate whether the tag is defined.
source
Gets the sources of the tag, which may include extension for extension-defined tags and manual for tags that may be applied manually by users.
active
Whether the tag is still being applied.
Вредности (одделете ги со |): name, displayname, description, hitcount, defined, source, active
По основно: name

list=usercontribs (uc)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get all edits by a user.

Параметри:
uclimit

The maximum number of contributions to return.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
ucstart

The start timestamp to return from.

Тип: време и датум (допуштени формати)
ucend

The end timestamp to return to.

Тип: време и датум (допуштени формати)
uccontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

ucuser

The users to retrieve contributions for. Cannot be used with ucuserids or ucuserprefix.

Тип: список на кориснички имиња
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
ucuserids

The user IDs to retrieve contributions for. Cannot be used with ucuser or ucuserprefix.

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
ucuserprefix

Retrieve contributions for all users whose names begin with this value. Cannot be used with ucuser or ucuserids.

ucdir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: ucstart мора да биде пред ucend.
постари
Прво најновите (по основно). Напомена: ucstart мора да биде подоцна од ucend.
Една вредност: newer, older
По основно: older
ucnamespace

Only list contributions in these namespaces.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
ucprop

Include additional pieces of information:

ids
Adds the page ID and revision ID.
title
Adds the title and namespace ID of the page.
timestamp
Adds the timestamp of the edit.
comment
Adds the comment of the edit.
parsedcomment
Adds the parsed comment of the edit.
size
Adds the new size of the edit.
sizediff
Adds the size delta of the edit against its parent.
flags
Adds flags of the edit.
patrolled
Tags patrolled edits.
tags
Lists tags for the edit.
Вредности (одделете ги со |): ids, title, timestamp, comment, parsedcomment, size, sizediff, flags, patrolled, tags
По основно: ids|title|timestamp|comment|size|flags
ucshow

Show only items that meet these criteria, e.g. non minor edits only: ucshow=!minor.

If ucshow=patrolled or ucshow=!patrolled is set, revisions older than $wgRCMaxAge (7776000 seconds) won't be shown.

Вредности (одделете ги со |): minor, !minor, patrolled, !patrolled, top, !top, new, !new
uctag

Only list revisions tagged with this tag.

uctoponly
Застарен.

Only list changes which are the latest revision.

Тип: булов (подробно)
Примери:
Show contributions of user Example.
api.php?action=query&list=usercontribs&ucuser=Example [open in sandbox]
Show contributions from all IP addresses with prefix 192.0.2..
api.php?action=query&list=usercontribs&ucuserprefix=192.0.2. [open in sandbox]

list=users (us)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get information about a list of users.

Параметри:
usprop

Which pieces of information to include:

blockinfo
Tags if the user is blocked, by whom, and for what reason.
groups
Lists all the groups each user belongs to.
groupmemberships
Lists groups that each user has been explicitly assigned to, including the expiry date of each group membership.
implicitgroups
Lists all the groups a user is automatically a member of.
rights
Lists all the rights each user has.
editcount
Adds the user's edit count.
registration
Adds the user's registration timestamp.
emailable
Tags if the user can and wants to receive email through Special:Emailuser.
gender
Tags the gender of the user. Returns "male", "female", or "unknown".
centralids
Adds the central IDs and attachment status for the user.
cancreate
Indicates whether an account for valid but unregistered usernames can be created.
Вредности (одделете ги со |): blockinfo, groups, groupmemberships, implicitgroups, rights, editcount, registration, emailable, gender, centralids, cancreate
usattachedwiki

With usprop=centralids, indicate whether the user is attached with the wiki identified by this ID.

ususers

A list of users to obtain information for.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
ususerids

A list of user IDs to obtain information for.

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
ustoken
Застарен.

Use action=query&meta=tokens instead.

Вредности (одделете ги со |): userrights

list=watchlist (wl)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get recent changes to pages in the current user's watchlist.

Параметри:
wlallrev

Include multiple revisions of the same page within given timeframe.

Тип: булов (подробно)
wlstart

The timestamp to start enumerating from.

Тип: време и датум (допуштени формати)
wlend

The timestamp to end enumerating.

Тип: време и датум (допуштени формати)
wlnamespace

Filter changes to only the given namespaces.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
wluser

Only list changes by this user.

Тип: корисничко име
wlexcludeuser

Don't list changes by this user.

Тип: корисничко име
wldir

Во која насока да се набројува:

понови
Прво најстарите. Напомена: wlstart мора да биде пред wlend.
постари
Прво најновите (по основно). Напомена: wlstart мора да биде подоцна од wlend.
Една вредност: newer, older
По основно: older
wllimit

How many total results to return per request.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
wlprop

Which additional properties to get:

ids
Adds revision IDs and page IDs.
title
Adds title of the page.
flags
Adds flags for the edit.
user
Adds the user who made the edit.
userid
Adds user ID of whoever made the edit.
comment
Adds comment of the edit.
parsedcomment
Adds parsed comment of the edit.
timestamp
Adds timestamp of the edit.
patrol
Tags edits that are patrolled.
sizes
Adds the old and new lengths of the page.
notificationtimestamp
Adds timestamp of when the user was last notified about the edit.
loginfo
Adds log information where appropriate.
Вредности (одделете ги со |): ids, title, flags, user, userid, comment, parsedcomment, timestamp, patrol, sizes, notificationtimestamp, loginfo
По основно: ids|title|flags
wlshow

Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set wlshow=minor|!anon.

Вредности (одделете ги со |): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled, unread, !unread
wltype

Which types of changes to show:

edit
Regular page edits.
new
Page creations.
log
Log entries.
external
External changes.
categorize
Category membership changes.
Вредности (одделете ги со |): edit, new, log, external, categorize
По основно: edit|new|log|categorize
wlowner

Used along with wltoken to access a different user's watchlist.

Тип: корисничко име
wltoken

A security token (available in the user's preferences) to allow access to another user's watchlist.

wlcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

Примери:
List the top revision for recently changed pages on the current user's watchlist.
api.php?action=query&list=watchlist [open in sandbox]
Fetch additional information about the top revision for recently changed pages on the current user's watchlist.
api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment [open in sandbox]
Fetch information about all recent changes to pages on the current user's watchlist.
api.php?action=query&list=watchlist&wlallrev=&wlprop=ids|title|timestamp|user|comment [open in sandbox]
Fetch page info for recently changed pages on the current user's watchlist.
api.php?action=query&generator=watchlist&prop=info [open in sandbox]
Fetch revision info for recent changes to pages on the current user's watchlist.
api.php?action=query&generator=watchlist&gwlallrev=&prop=revisions&rvprop=timestamp|user [open in sandbox]
List the top revision for recently changed pages on the watchlist of user Example.
api.php?action=query&list=watchlist&wlowner=Example&wltoken=123ABC [open in sandbox]

list=watchlistraw (wr)

  • За овој модул се потребни права на читање.
  • Овој модул може да се користи како создавач.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get all pages on the current user's watchlist.

Параметри:
wrcontinue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

wrnamespace

Only list pages in the given namespaces.

Вредности (одделете ги со |): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
wrlimit

How many total results to return per request.

Не се допушта повеќе од 500 (5.000 за ботови).
Тип: цел број или max
По основно: 10
wrprop

Which additional properties to get:

changed
Adds timestamp of when the user was last notified about the edit.
Вредности (одделете ги со |): changed
wrshow

Only list items that meet these criteria.

Вредности (одделете ги со |): changed, !changed
wrowner

Used along with wrtoken to access a different user's watchlist.

Тип: корисничко име
wrtoken

A security token (available in the user's preferences) to allow access to another user's watchlist.

wrdir

The direction in which to list.

Една вредност: ascending, descending
По основно: ascending
wrfromtitle

Title (with namespace prefix) to begin enumerating from.

wrtotitle

Title (with namespace prefix) to stop enumerating at.

Примери:
List pages on the current user's watchlist.
api.php?action=query&list=watchlistraw [open in sandbox]
Fetch page info for pages on the current user's watchlist.
api.php?action=query&generator=watchlistraw&gwrshow=changed&prop=info [open in sandbox]

meta=allmessages (am)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Дава пораки од ова мрежно место.

Параметри:
ammessages

Which messages to output. * (default) means all messages.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
По основно: *
amprop

Кои својства да се дадат.

Вредности (одделете ги со |): default
amenableparser

Set to enable parser, will preprocess the wikitext of message (substitute magic words, handle templates, etc.).

Тип: булов (подробно)
amnocontent

If set, do not include the content of the messages in the output.

Тип: булов (подробно)
amincludelocal

Also include local messages, i.e. messages that don't exist in the software but do exist as in the МедијаВики namespace. This lists all МедијаВики-namespace pages, so it will also list those that aren't really messages such as Common.js.

Тип: булов (подробно)
amargs

Arguments to be substituted into message.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
amfilter

Дај само пораки со називи што ја содржат оваа низа.

amcustomised

Дај само пораки во оваа состојба на прилагоденост.

Една вредност: all, modified, unmodified
По основно: all
amlang

Дај само пораки на овој јазик.

amfrom

Дај ги пораките што почнуваат од оваа порака.

amto

Дај пораки што завршуваат со оваа порака.

amtitle

Назив на страницата што ќе се користи во контекст кога се расчленува порака (за можноста amenableparser).

amprefix

Дај пораки со оваа претставка.

Примери:
Прикажи ги пораките што започнуваат со ipb-.
api.php?action=query&meta=allmessages&amprefix=ipb- [open in sandbox]
Прикажи ги пораките august and mainpage на германски.
api.php?action=query&meta=allmessages&ammessages=august|mainpage&amlang=de [open in sandbox]

meta=authmanagerinfo (ami)

  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Retrieve information about the current authentication status.

Параметри:
amisecuritysensitiveoperation

Test whether the user's current authentication status is sufficient for the specified security-sensitive operation.

amirequestsfor

Fetch information about the authentication requests needed for the specified authentication action.

Една вредност: login, login-continue, create, create-continue, link, link-continue, change, remove, unlink
amimergerequestfields

Merge field information for all authentication requests into one array.

Тип: булов (подробно)
amimessageformat

Format to use for returning messages.

Една вредност: html, wikitext, raw, none
По основно: wikitext
Примери:
Fetch the requests that may be used when beginning a login.
api.php?action=query&meta=authmanagerinfo&amirequestsfor=login [open in sandbox]
Fetch the requests that may be used when beginning a login, with form fields merged.
api.php?action=query&meta=authmanagerinfo&amirequestsfor=login&amimergerequestfields=1 [open in sandbox]
Test whether authentication is sufficient for action foo.
api.php?action=query&meta=authmanagerinfo&amisecuritysensitiveoperation=foo [open in sandbox]

meta=filerepoinfo (fri)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Return meta information about image repositories configured on the wiki.

Параметар:
friprop

Which repository properties to get (there may be more available on some wikis):

apiurl
URL to the repository API - helpful for getting image info from the host.
name
The key of the repository - used in e.g. $wgForeignFileRepos and imageinfo return values.
displayname
The human-readable name of the repository wiki.
rooturl
Root URL for image paths.
local
Whether that repository is the local one or not.
Вредности (одделете ги со |): name, displayname, rootUrl, local, url, thumbUrl, initialCapital, descBaseUrl, fetchDescription, scriptDirUrl, scriptExtension, favicon, canUpload
По основно: name|displayname|rootUrl|local|url|thumbUrl|initialCapital|descBaseUrl|fetchDescription|scriptDirUrl|scriptExtension|favicon|canUpload

meta=siteinfo (si)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Дај општи информации за мрежното место.

Параметри:
siprop

Which information to get:

general
Overall system information.
namespaces
List of registered namespaces and their canonical names.
namespacealiases
List of registered namespace aliases.
specialpagealiases
List of special page aliases.
magicwords
List of magic words and their aliases.
interwikimap
Returns interwiki map (optionally filtered, optionally localised by using siinlanguagecode).
dbrepllag
Returns database server with the highest replication lag.
statistics
Returns site statistics.
usergroups
Returns user groups and the associated permissions.
libraries
Returns libraries installed on the wiki.
extensions
Returns extensions installed on the wiki.
fileextensions
Returns list of file extensions (file types) allowed to be uploaded.
rightsinfo
Returns wiki rights (license) information if available.
restrictions
Returns information on available restriction (protection) types.
languages
Returns a list of languages MediaWiki supports (optionally localised by using siinlanguagecode).
languagevariants
Returns a list of language codes for which LanguageConverter is enabled, and the variants supported for each.
skins
Returns a list of all enabled skins (optionally localised by using siinlanguagecode, otherwise in the content language).
extensiontags
Returns a list of parser extension tags.
functionhooks
Returns a list of parser function hooks.
showhooks
Returns a list of all subscribed hooks (contents of $wgHooks).
variables
Returns a list of variable IDs.
protocols
Returns a list of protocols that are allowed in external links.
defaultoptions
Returns the default values for user preferences.
uploaddialog
Returns the upload dialog configuration.
Вредности (одделете ги со |): general, namespaces, namespacealiases, specialpagealiases, magicwords, interwikimap, dbrepllag, statistics, usergroups, libraries, extensions, fileextensions, rightsinfo, restrictions, languages, languagevariants, skins, extensiontags, functionhooks, showhooks, variables, protocols, defaultoptions, uploaddialog
По основно: general
sifilteriw

Return only local or only nonlocal entries of the interwiki map.

Една вредност: local, !local
sishowalldb

List all database servers, not just the one lagging the most.

Тип: булов (подробно)
sinumberingroup

Lists the number of users in user groups.

Тип: булов (подробно)
siinlanguagecode

Language code for localised language names (best effort) and skin names.

meta=tokens

  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Gets tokens for data-modifying actions.

Параметар:
type

Types of token to request.

Вредности (одделете ги со |): createaccount, csrf, login, patrol, rollback, userrights, watch
По основно: csrf
Примери:
Retrieve a csrf token (the default).
api.php?action=query&meta=tokens [open in sandbox]
Retrieve a watch token and a patrol token.
api.php?action=query&meta=tokens&type=watch|patrol [open in sandbox]

meta=userinfo (ui)

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get information about the current user.

Параметри:
uiprop

Which pieces of information to include:

blockinfo
Tags if the current user is blocked, by whom, and for what reason.
hasmsg
Adds a tag messages if the current user has pending messages.
groups
Lists all the groups the current user belongs to.
groupmemberships
Lists groups that the current user has been explicitly assigned to, including the expiry date of each group membership.
implicitgroups
Lists all the groups the current user is automatically a member of.
rights
Lists all the rights the current user has.
changeablegroups
Lists the groups the current user can add to and remove from.
options
Lists all preferences the current user has set.
editcount
Adds the current user's edit count.
ratelimits
Lists all rate limits applying to the current user.
email
Adds the user's email address and email authentication date.
realname
Adds the user's real name.
acceptlang
Echoes the Accept-Language header sent by the client in a structured format.
registrationdate
Adds the user's registration date.
unreadcount
Adds the count of unread pages on the user's watchlist (maximum 999; returns 1000+ if more).
centralids
Adds the central IDs and attachment status for the user.
preferencestoken
Застарен. Get a token to change current user's preferences.
Вредности (одделете ги со |): blockinfo, hasmsg, groups, groupmemberships, implicitgroups, rights, changeablegroups, options, editcount, ratelimits, email, realname, acceptlang, registrationdate, unreadcount, centralids, preferencestoken
uiattachedwiki

With uiprop=centralids, indicate whether the user is attached with the wiki identified by this ID.

Примери:
Get information about the current user.
api.php?action=query&meta=userinfo [open in sandbox]
Get additional information about the current user.
api.php?action=query&meta=userinfo&uiprop=blockinfo|groups|rights|hasmsg [open in sandbox]

action=removeauthenticationdata

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Remove authentication data for the current user.

Параметри:
request

Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=remove.

Овој параметар е задолжителен.
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Пример:
Attempt to remove the current user's data for FooAuthenticationRequest.
api.php?action=removeauthenticationdata&request=FooAuthenticationRequest&token=123ABC [open in sandbox]

action=resetpassword

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Send a password reset email to a user.

Параметри:
user

User being reset.

Тип: корисничко име
email

Email address of the user being reset.

token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Send a password reset email to user Example.
api.php?action=resetpassword&user=Example&token=123ABC [open in sandbox]
Send a password reset email for all users with email address user@example.com.
api.php?action=resetpassword&user=user@example.com&token=123ABC [open in sandbox]

action=revisiondelete

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Delete and undelete revisions.

Параметри:
type

Type of revision deletion being performed.

Овој параметар е задолжителен.
Една вредност: revision, archive, oldimage, filearchive, logging
target

Page title for the revision deletion, if required for the type.

ids

Identifiers for the revisions to be deleted.

Овој параметар е задолжителен.
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
hide

What to hide for each revision.

Вредности (одделете ги со |): content, comment, user
show

What to unhide for each revision.

Вредности (одделете ги со |): content, comment, user
suppress

Whether to suppress data from administrators as well as others.

Една вредност: yes, no, nochange
По основно: nochange
reason

Reason for the deletion or undeletion.

tags

Tags to apply to the entry in the deletion log.

Вредности (одделете ги со |):
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.

action=rollback

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Undo the last edit to the page.

If the last user who edited the page made multiple edits in a row, they will all be rolled back.

Параметри:
title

Title of the page to roll back. Cannot be used together with pageid.

pageid

Page ID of the page to roll back. Cannot be used together with title.

Тип: цел број
tags

Tags to apply to the rollback.

Вредности (одделете ги со |):
user

Name of the user whose edits are to be rolled back.

Овој параметар е задолжителен.
Тип: корисничко име
summary

Custom edit summary. If empty, default summary will be used.

По основно: (празно)
markbot

Mark the reverted edits and the revert as bot edits.

Тип: булов (подробно)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.

Една вредност: watch, unwatch, preferences, nochange
По основно: preferences
token

Шифра „rollback“ добиена од action=query&meta=tokens

За складност, се прифаќа и шифрата што се користи за обичниот кориснички посредник.

Овој параметар е задолжителен.
Примери:
Roll back the last edits to page Main Page by user Example.
api.php?action=rollback&title=Main%20Page&user=Example&token=123ABC [open in sandbox]
Roll back the last edits to page Main Page by IP user 192.0.2.5 with summary Reverting vandalism, and mark those edits and the revert as bot edits.
api.php?action=rollback&title=Main%20Page&user=192.0.2.5&token=123ABC&summary=Reverting%20vandalism&markbot=1 [open in sandbox]

action=rsd

(main | rsd)
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Export an RSD (Really Simple Discovery) schema.

Пример:
Export the RSD schema.
api.php?action=rsd [open in sandbox]

action=setnotificationtimestamp

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Update the notification timestamp for watched pages.

This affects the highlighting of changed pages in the watchlist and history, and the sending of email when the "Испраќај ми е-пошта при промена на страница или податотека од мојот список на набљудувања" preference is enabled.

Параметри:
entirewatchlist

Work on all watched pages.

Тип: булов (подробно)
timestamp

Timestamp to which to set the notification timestamp.

Тип: време и датум (допуштени формати)
torevid

Revision to set the notification timestamp to (one page only).

Тип: цел број
newerthanrevid

Revision to set the notification timestamp newer than (one page only).

Тип: цел број
continue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

titles

Список на наслови на кои ќе се работи

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
pageids

Список на назнаки за страници на кои ќе се работи

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
revids

Список на назнаки на преработки на кои ќе се работи

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
generator

Дај го списокот на страници на кои ќе се работи исполнувајќи го укажаниот модул за барање.

Напомена: називите на создавачките параметри мора да ја имаат претставката „g“. Погледајте ги примерите.

allcategories
Наброј ги сите категории.
alldeletedrevisions
List all deleted revisions by a user or in a namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Наброј ги сите врски што водат кон даден именски простор.
allpages
Наброј ги сите страници последователно во даден именски простор.
allredirects
List all redirects to a namespace.
allrevisions
List all revisions.
alltransclusions
List all transclusions (pages embedded using {{x}}), including non-existing.
backlinks
Find all pages that link to the given page.
categories
List all categories the pages belong to.
categorymembers
List all pages in a given category.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Find all pages that embed (transclude) the given title.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Find all pages that use the given files.
images
Returns all files contained on the given pages.
imageusage
Find all pages that use the given image title.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Find all pages that link to the given pages.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
List all titles protected from creation.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Enumerate recent changes.
redirects
Returns all redirects to the given pages.
revisions
Get revision information.
search
Perform a full text search.
templates
Returns all pages transcluded on the given pages.
transcludedin
Find all pages that transclude the given pages.
watchlist
Get recent changes to pages in the current user's watchlist.
watchlistraw
Get all pages on the current user's watchlist.
Една вредност: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw
redirects

Автоматски решавај пренасочувања во titles, pageids и revids, како и во страниците што ги дава generator.

Тип: булов (подробно)
converttitles

Ако е потребно, претворај ги насловите во други варијанти. Работи само ако јазикот на викито поддржува претворање на варијанти. Такви се en, gan, iu, kk, ku, shi, sr, tg, uz и zh.

Тип: булов (подробно)
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Reset the notification status for the entire watchlist.
api.php?action=setnotificationtimestamp&entirewatchlist=&token=123ABC [open in sandbox]
Reset the notification status for Main page.
api.php?action=setnotificationtimestamp&titles=Main_page&token=123ABC [open in sandbox]
Set the notification timestamp for Main page so all edits since 1 January 2012 are unviewed.
api.php?action=setnotificationtimestamp&titles=Main_page&timestamp=2012-01-01T00:00:00Z&token=123ABC [open in sandbox]
Reset the notification status for pages in the Корисник namespace.
api.php?action=setnotificationtimestamp&generator=allpages&gapnamespace=2&token=123ABC [open in sandbox]

action=setpagelanguage

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Change the language of a page.

Changing the language of a page is not allowed on this wiki.

Enable $wgPageLanguageUseDB to use this action.

Параметри:
title

Title of the page whose language you wish to change. Cannot be used together with pageid.

pageid

Page ID of the page whose language you wish to change. Cannot be used together with title.

Тип: цел број
lang

Language code of the language to change the page to. Use default to reset the page to the wiki's default content language.

Овој параметар е задолжителен.
Една вредност: default, ab, ace, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, ak, aln, am, an, ang, anp, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, ban, bar, bbc, bbc-latn, bcc, bcl, be, be-tarask, bg, bgn, bh, bho, bi, bjn, bm, bn, bo, bpy, bqi, br, brh, bs, bto, bug, bxr, ca, cbk-zam, cdo, ce, ceb, ch, chr, chy, ckb, co, cps, cr, crh, crh-cyrl, crh-latn, cs, csb, cu, cv, cy, da, de, de-at, de-ch, de-formal, din, diq, dsb, dtp, dty, dv, dz, ee, egl, el, eml, en, en-ca, en-gb, eo, es, et, eu, ext, fa, ff, fi, fit, fj, fo, fr, frc, frp, frr, fur, fy, ga, gag, gan, gan-hans, gan-hant, gd, gl, glk, gn, gom, gom-deva, gom-latn, gor, got, grc, gsw, gu, gv, ha, hak, haw, he, hi, hif, hif-latn, hil, hr, hrx, hsb, ht, hu, hy, ia, id, ie, ig, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kbd, kbd-cyrl, kbp, kg, khw, ki, kiu, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, ko, ko-kp, koi, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksh, ku, ku-arab, ku-latn, kv, kw, ky, la, lad, lb, lbe, lez, lfn, lg, li, lij, liv, lki, lmo, ln, lo, loz, lrc, lt, ltg, lus, luz, lv, lzh, lzz, mai, map-bms, mdf, mg, mhr, mi, min, mk, ml, mn, mo, mr, mrj, ms, mt, mwl, my, myv, mzn, na, nah, nan, nap, nb, nds, nds-nl, ne, new, niu, nl, nl-informal, nn, nov, nrm, nso, nv, ny, oc, olo, om, or, os, pa, pag, pam, pap, pcd, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, qu, qug, rgn, rif, rm, rmy, ro, roa-tara, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rw, sa, sah, sat, sc, scn, sco, sd, sdc, sdh, se, sei, ses, sg, sgs, sh, shi, shn, si, sk, skr, skr-arab, sl, sli, sm, sma, sn, so, sq, sr, sr-ec, sr-el, srn, ss, st, stq, su, sv, sw, szl, ta, tay, tcy, te, tet, tg, tg-cyrl, tg-latn, th, ti, tk, tl, tly, tn, to, tpi, tr, tru, ts, tt, tt-cyrl, tt-latn, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uz, ve, vec, vep, vi, vls, vmf, vo, vot, vro, wa, war, wo, wuu, xal, xh, xmf, yi, yo, yue, za, zea, zh, zh-cn, zh-hans, zh-hant, zh-hk, zh-mo, zh-my, zh-sg, zh-tw, zu
reason

Reason for the change.

tags

Change tags to apply to the log entry resulting from this action.

Вредности (одделете ги со |):
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Change the language of Main Page to Basque.
api.php?action=setpagelanguage&title=Main%20Page&lang=eu&token=123ABC [open in sandbox]
Change the language of the page with ID 123 to the wiki's default content language.
api.php?action=setpagelanguage&pageid=123&lang=default&token=123ABC [open in sandbox]

action=stashedit

  • Овој модул е внатрешен или нестабилен. Работењето може да му се промени без предупредување.
  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Prepare an edit in shared cache.

This is intended to be used via AJAX from the edit form to improve the performance of the page save.

Параметри:
title

Title of the page being edited.

Овој параметар е задолжителен.
section

Section number. 0 for the top section, new for a new section.

sectiontitle

The title for a new section.

text

Page content.

stashedtexthash

Page content hash from a prior stash to use instead.

summary

Change summary.

contentmodel

Content model of the new content.

Овој параметар е задолжителен.
Една вредност: wikitext, javascript, json, css, text
contentformat

Content serialization format used for the input text.

Овој параметар е задолжителен.
Една вредност: text/x-wiki, text/javascript, application/json, text/css, text/plain
baserevid

Revision ID of the base revision.

Овој параметар е задолжителен.
Тип: цел број
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.

action=tag

(main | tag)
  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Add or remove change tags from individual revisions or log entries.

Параметри:
rcid

One or more recent changes IDs from which to add or remove the tag.

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
revid

One or more revision IDs from which to add or remove the tag.

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
logid

One or more log entry IDs from which to add or remove the tag.

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
add

Tags to add. Only manually defined tags can be added.

Вредности (одделете ги со |):
remove

Tags to remove. Only tags that are either manually defined or completely undefined can be removed.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
reason

Reason for the change.

По основно: (празно)
tags

Tags to apply to the log entry that will be created as a result of this action.

Вредности (одделете ги со |):
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Add the vandalism tag to revision ID 123 without specifying a reason
api.php?action=tag&revid=123&add=vandalism&token=123ABC [open in sandbox]
Remove the spam tag from log entry ID 123 with the reason Wrongly applied
api.php?action=tag&logid=123&remove=spam&reason=Wrongly+applied&token=123ABC [open in sandbox]

action=tokens

  • Овој модул е застарен.
  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Get tokens for data-modifying actions.

This module is deprecated in favor of action=query&meta=tokens.

Параметар:
type

Types of token to request.

Вредности (одделете ги со |): block, createaccount, csrf, delete, edit, email, import, login, move, options, patrol, protect, rollback, unblock, userrights, watch
По основно: edit
Примери:
Retrieve an edit token (the default).
api.php?action=tokens [open in sandbox]
Retrieve an email token and a move token.
api.php?action=tokens&type=email|move [open in sandbox]

action=unblock

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Unblock a user.

Параметри:
id

ID of the block to unblock (obtained through list=blocks). Cannot be used together with user or userid.

Тип: цел број
user

Username, IP address or IP address range to unblock. Cannot be used together with id or userid.

userid

User ID to unblock. Cannot be used together with id or user.

Тип: цел број
reason

Reason for unblock.

По основно: (празно)
tags

Change tags to apply to the entry in the block log.

Вредности (одделете ги со |):
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Unblock block ID #105.
api.php?action=unblock&id=105 [open in sandbox]
Unblock user Bob with reason Sorry Bob.
api.php?action=unblock&user=Bob&reason=Sorry%20Bob [open in sandbox]

action=undelete

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Restore revisions of a deleted page.

A list of deleted revisions (including timestamps) can be retrieved through prop=deletedrevisions, and a list of deleted file IDs can be retrieved through list=filearchive.

Параметри:
title

Title of the page to restore.

Овој параметар е задолжителен.
reason

Reason for restoring.

По основно: (празно)
tags

Change tags to apply to the entry in the deletion log.

Вредности (одделете ги со |):
timestamps

Timestamps of the revisions to restore. If both timestamps and fileids are empty, all will be restored.

Тип: список на времиња и датуми (допуштени формати)
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
fileids

IDs of the file revisions to restore. If both timestamps and fileids are empty, all will be restored.

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.

Една вредност: watch, unwatch, preferences, nochange
По основно: preferences
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.

action=unlinkaccount

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Remove a linked third-party account from the current user.

Параметри:
request

Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=unlink.

Овој параметар е задолжителен.
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Пример:
Attempt to remove the current user's link for the provider associated with FooAuthenticationRequest.
api.php?action=unlinkaccount&request=FooAuthenticationRequest&token=123ABC [open in sandbox]

action=upload

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Upload a file, or get the status of pending uploads.

Several methods are available:

  • Upload file contents directly, using the file parameter.
  • Upload the file in pieces, using the filesize, chunk, and offset parameters.
  • Have the MediaWiki server fetch a file from a URL, using the url parameter.
  • Complete an earlier upload that failed due to warnings, using the filekey parameter.

Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data) when sending the file.

Параметри:
filename

Целно име на податотеката.

comment

Коментар при подигање. Се користи и како првичен текст на страницата за нови податотеки ако не е укажано text.

По основно: (празно)
tags

Change tags to apply to the upload log entry and file page revision.

Вредности (одделете ги со |):
text

Првичен текст на страницата за нови податотеки.

watch
Застарен.

Набљудувај ја страницата.

Тип: булов (подробно)
watchlist

Безусловно додај или отстрани ја страницата од набљудуваните на тековниот корисник; користете ги нагодувањата или не ги менувајте набљудуваните.

Една вредност: watch, preferences, nochange
По основно: preferences
ignorewarnings

Занемари предупредувања.

Тип: булов (подробно)
file

Содржина на податотеката.

Мора да биде објавено како податотечно подигање користејќи податоци кои се повеќеделни или од образец.
url

Од која URL-адреса да се преземе податотеката.

filekey

Клуч на претходното подигање кое е привремено складирано.

sessionkey
Застарен.

Исто што и filekey. Се одржува за назадна складност.

stash

Ако е зададено, опслужувачот ќе ја стави податотеката на привремено чување наместо да го додаде во складиштето.

Тип: булов (подробно)
filesize

Големина на целото подигање.

Вредноста мора да изнесува помеѓу 0 и 104.857.600.
Тип: цел број
offset

Зафатнина на делот во бајти.

Вредноста не може да изнесува помалку од 0.
Тип: цел број
chunk

Содржина на делот.

Мора да биде објавено како податотечно подигање користејќи податоци кои се повеќеделни или од образец.
async

Направи ги работите со потенцијално големи податотеки неусогласени, кога е можно.

Тип: булов (подробно)
checkstatus

Дај ја состојбата на подигнатост само за дадениот податотечен клуч.

Тип: булов (подробно)
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.

action=userrights

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Change a user's group membership.

Параметри:
user

Корисничко име.

Тип: корисничко име
userid

Корисничка назнака.

Тип: цел број
add

Стави го корисникот во следниве групи.

Вредности (одделете ги со |): bot, sysop, bureaucrat, renameuser, interwiki, checkuser
expiry

Expiry timestamps. May be relative (e.g. 5 months or 2 weeks) or absolute (e.g. 2014-09-18T12:34:56Z). If only one timestamp is set, it will be used for all groups passed to the add parameter. Use infinite, indefinite, infinity, or never for a never-expiring user group.

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
По основно: infinite
remove

Отстрани го корисникот од следниве групи.

Вредности (одделете ги со |): bot, sysop, bureaucrat, renameuser, interwiki, checkuser
reason

Причина за промената.

По основно: (празно)
token

Шифра „userrights“ добиена од action=query&meta=tokens

За складност, се прифаќа и шифрата што се користи за обичниот кориснички посредник.

Овој параметар е задолжителен.
tags

Change tags to apply to the entry in the user rights log.

Вредности (одделете ги со |):
Примери:
Додај го корисникот FooBot во групата bot и отстрани го од групите sysop и bureaucrat.
api.php?action=userrights&user=FooBot&add=bot&remove=sysop|bureaucrat&token=123ABC [open in sandbox]
Додај го корисникот со назнака 123 во групата bot и отстрани го од групите sysop и bureaucrat.
api.php?action=userrights&userid=123&add=bot&remove=sysop|bureaucrat&token=123ABC [open in sandbox]
Add user SometimeSysop to group sysop for 1 month.
api.php?action=userrights&user=SometimeSysop&add=sysop&expiry=1%20month&token=123ABC [open in sandbox]

action=validatepassword

  • За овој модул се потребни права на читање.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Validate a password against the wiki's password policies.

Validity is reported as Good if the password is acceptable, Change if the password may be used for login but must be changed, or Invalid if the password is not usable.

Параметри:
password

Password to validate.

Овој параметар е задолжителен.
user

User name, for use when testing account creation. The named user must not exist.

Тип: корисничко име
email

Email address, for use when testing account creation.

realname

Real name, for use when testing account creation.

Примери:
Validate the password foobar for the current user.
api.php?action=validatepassword&password=foobar [open in sandbox]
Validate the password qwerty for creating user Example.
api.php?action=validatepassword&password=querty&user=Example [open in sandbox]

action=watch

  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Додај или отстрани страници од набљудуваните на тековниот корисник.

Параметри:
title
Застарен.

Страницата што се става во или отстранува од набљудуваните. Наместо ова, користете titles.

unwatch

Ако е зададено, страницата ќе биде отстранета од наместо ставена во набљуваните.

Тип: булов (подробно)
continue

Употребете го ова за да продолжите кога има повеќе расположиви ставки.

titles

Список на наслови на кои ќе се работи

Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
pageids

Список на назнаки за страници на кои ќе се работи

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
revids

Список на назнаки на преработки на кои ќе се работи

Тип: список на цели броеви
Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
generator

Дај го списокот на страници на кои ќе се работи исполнувајќи го укажаниот модул за барање.

Напомена: називите на создавачките параметри мора да ја имаат претставката „g“. Погледајте ги примерите.

allcategories
Наброј ги сите категории.
alldeletedrevisions
List all deleted revisions by a user or in a namespace.
allfileusages
List all file usages, including non-existing.
allimages
Enumerate all images sequentially.
alllinks
Наброј ги сите врски што водат кон даден именски простор.
allpages
Наброј ги сите страници последователно во даден именски простор.
allredirects
List all redirects to a namespace.
allrevisions
List all revisions.
alltransclusions
List all transclusions (pages embedded using {{x}}), including non-existing.
backlinks
Find all pages that link to the given page.
categories
List all categories the pages belong to.
categorymembers
List all pages in a given category.
deletedrevisions
Get deleted revision information.
duplicatefiles
List all files that are duplicates of the given files based on hash values.
embeddedin
Find all pages that embed (transclude) the given title.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Find all pages that use the given files.
images
Returns all files contained on the given pages.
imageusage
Find all pages that use the given image title.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returns all links from the given pages.
linkshere
Find all pages that link to the given pages.
pageswithprop
List all pages using a given page property.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
List all titles protected from creation.
querypage
Get a list provided by a QueryPage-based special page.
random
Get a set of random pages.
recentchanges
Enumerate recent changes.
redirects
Returns all redirects to the given pages.
revisions
Get revision information.
search
Perform a full text search.
templates
Returns all pages transcluded on the given pages.
transcludedin
Find all pages that transclude the given pages.
watchlist
Get recent changes to pages in the current user's watchlist.
watchlistraw
Get all pages on the current user's watchlist.
Една вредност: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw
redirects

Автоматски решавај пренасочувања во titles, pageids и revids, како и во страниците што ги дава generator.

Тип: булов (подробно)
converttitles

Ако е потребно, претворај ги насловите во други варијанти. Работи само ако јазикот на викито поддржува претворање на варијанти. Такви се en, gan, iu, kk, ku, shi, sr, tg, uz и zh.

Тип: булов (подробно)
token

Шифра „watch“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.
Примери:
Набљудувај ја страницата Главна страница.
api.php?action=watch&titles=Main_Page&token=123ABC [open in sandbox]
Отстрани ја страницата Главна страница од набљудуваните.
api.php?action=watch&titles=Main_Page&unwatch=&token=123ABC [open in sandbox]
Набљудувај ги првите неколку страници во главниот именски простор
api.php?action=watch&generator=allpages&gapnamespace=0&token=123ABC [open in sandbox]

action=webapp-manifest

  • За овој модул се потребни права на читање.
  • Извор: MobileFrontend
  • Лиценца: GPL-2.0+

Дава манифест на семрежиот прилог.

format=json

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Давај го изводот во JSON-формат.

Параметри:
callback

Ако е укажано, го обвива изводот во даден повик на функција. За безбедност, ќе се ограничат сите податоци што се однесуваат на корисниците.

utf8

Ако е укажано, ги шифрира највеќето (но не сите) не-ASCII знаци како UTF-8 наместо да ги заменува со хексадецимални изводни низи. Ова е стандардно кога formatversion не е 1.

Тип: булов (подробно)
ascii

Ако е укажано, ги шифрира сите не-ASCII знаци како хексадецимални изводни низи. Ова е стандардно кога formatversion is 1.

Тип: булов (подробно)
formatversion

Форматирање на изводот:

1
Назадно-складен формат (булови во XML-стил, клучеви * за содржински јазли и тн.).
2
Пробен современ формат. Поединостите може да се изменат!
најнов
Користење на најновиот формат (тековно 2), може да се смени без предупредување.
Една вредност: 1, 2, latest
По основно: 1
Пример:
Дај го исходот од барањето во JSON-формат.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=json [open in sandbox]

format=jsonfm

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Давај го изводот во JSON-формат (подобрен испис во HTML).

Параметри:
wrappedhtml

Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.

Тип: булов (подробно)
callback

Ако е укажано, го обвива изводот во даден повик на функција. За безбедност, ќе се ограничат сите податоци што се однесуваат на корисниците.

utf8

Ако е укажано, ги шифрира највеќето (но не сите) не-ASCII знаци како UTF-8 наместо да ги заменува со хексадецимални изводни низи. Ова е стандардно кога formatversion не е 1.

Тип: булов (подробно)
ascii

Ако е укажано, ги шифрира сите не-ASCII знаци како хексадецимални изводни низи. Ова е стандардно кога formatversion is 1.

Тип: булов (подробно)
formatversion

Форматирање на изводот:

1
Назадно-складен формат (булови во XML-стил, клучеви * за содржински јазли и тн.).
2
Пробен современ формат. Поединостите може да се изменат!
најнов
Користење на најновиот формат (тековно 2), може да се смени без предупредување.
Една вредност: 1, 2, latest
По основно: 1
Пример:
Дај го исходот од барањето во JSON-формат.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=jsonfm [open in sandbox]

format=none

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Де давај извод.

Пример:
Дај го исходот од барањето во NONE-формат.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=none [open in sandbox]

format=php

(main | php)
  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Давај го изводот во серијализиран PHP-формат.

Параметар:
formatversion

Форматирање на изводот:

1
Назадно-складен формат (булови во XML-стил, клучеви * за содржински јазли и тн.).
2
Пробен современ формат. Поединостите може да се изменат!
најнов
Користење на најновиот формат (тековно 2), може да се смени без предупредување.
Една вредност: 1, 2, latest
По основно: 1
Пример:
Дај го исходот од барањето во PHP-формат.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=php [open in sandbox]

format=phpfm

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Давај го изводот во серијализиран PHP-формат (подобрен испис во HTML).

Параметри:
wrappedhtml

Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.

Тип: булов (подробно)
formatversion

Форматирање на изводот:

1
Назадно-складен формат (булови во XML-стил, клучеви * за содржински јазли и тн.).
2
Пробен современ формат. Поединостите може да се изменат!
најнов
Користење на најновиот формат (тековно 2), може да се смени без предупредување.
Една вредност: 1, 2, latest
По основно: 1
Пример:
Дај го исходот од барањето во PHP-формат.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=phpfm [open in sandbox]

format=rawfm

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Давај го изводот со елементи за отстранување грешки во JSON-формат (подобрен испис во HTML).

Параметар:
wrappedhtml

Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.

Тип: булов (подробно)
Пример:
Дај го исходот од барањето во RAW-формат.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=rawfm [open in sandbox]

format=xml

(main | xml)
  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Давај го изводот во XML-формат.

Параметри:
xslt

Ако е укажано, ја додава именуваната страница како XSL-стилска страница. Вредноста мора да биде наслов во именскиот простор „МедијаВики“ што ќе завршува со .xsl.

includexmlnamespace

Ако е укажано, додава именски простор XML.

Тип: булов (подробно)
Пример:
Дај го исходот од барањето во XML-формат.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml [open in sandbox]

format=xmlfm

  • За овој модул се потребни права на читање.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0+

Давај го изводот во XML-формат (подобрен испис во HTML).

Параметри:
wrappedhtml

Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.

Тип: булов (подробно)
xslt

Ако е укажано, ја додава именуваната страница како XSL-стилска страница. Вредноста мора да биде наслов во именскиот простор „МедијаВики“ што ќе завршува со .xsl.

includexmlnamespace

Ако е укажано, додава именски простор XML.

Тип: булов (подробно)
Пример:
Дај го исходот од барањето во XML-формат.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=xmlfm [open in sandbox]

Типови на податоци

Input to MediaWiki should be NFC-normalized UTF-8. MediaWiki may attempt to convert other input, but this may cause some operations (such as edits with MD5 checks) to fail.

Some parameter types in API requests need further explanation:

boolean
Boolean parameters work like HTML checkboxes: if the parameter is specified, regardless of value, it is considered true. For a false value, omit the parameter entirely.
timestamp
Timestamps may be specified in several formats. ISO 8601 date and time is recommended. All times are in UTC, any included timezone is ignored.
  • ISO 8601 date and time, 2001-01-15T14:56:00Z (punctuation and Z are optional)
  • ISO 8601 date and time with (ignored) fractional seconds, 2001-01-15T14:56:00.00001Z (dashes, colons, and Z are optional)
  • MediaWiki format, 20010115145600
  • Generic numeric format, 2001-01-15 14:56:00 (optional timezone of GMT, +##, or -## is ignored)
  • EXIF format, 2001:01:15 14:56:00
  • RFC 2822 format (timezone may be omitted), Mon, 15 Jan 2001 14:56:00
  • RFC 850 format (timezone may be omitted), Monday, 15-Jan-2001 14:56:00
  • C ctime format, Mon Jan 15 14:56:00 2001
  • Seconds since 1970-01-01T00:00:00Z as a 1 to 13 digit integer (excluding 0)
  • The string now
alternative multiple-value separator
Parameters that take multiple values are normally submitted with the values separated using the pipe character, e.g. param=value1|value2 or param=value1%7Cvalue2. If a value must contain the pipe character, use U+001F (Unit Separator) as the separator and prefix the value with U+001F, e.g. param=%1Fvalue1%1Fvalue2.

Признанија

Разработувачи на Извршникот:

  • Роан Катау (главен резработувач од септември 2007 до 2009 г.)
  • Виктор Василев
  • Брајан Тонг Мињ
  • Сем Рид
  • Јуриј Астрахан (создавач, главен разработувач од септември 2006 до септември 2007 г.)
  • Brad Jorsch (главен разработувач од 2013 г. до денес)

Вашите коментари, предлози и прашања испраќајте ги на mediawiki-api@lists.wikimedia.org а грешките пријавувајте ги на https://phabricator.wikimedia.org/.