MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
Huvudmodul
- Source: MediaWiki
- License: GPL-2.0-or-later
Status: MediaWikis API Àr ett moget och stabilt grÀnssnitt som aktivt underhÄlls och förbÀttras. Vi försöker undvika det men ibland behöver vi kanske behöver göra störande Àndringar; prenumerera pÄ sÀndlistan mediawiki-api-announce för uppdateringsaviseringar.
Felaktiga begÀran: NÀr felaktiga begÀran skickas till API:et kommer en HTTP-header skickas med nyckeln "MediaWiki-API-Error" och sedan kommer bÄde vÀrdet i headern och felkoden som skickades tillbaka anges som samma vÀrde. För mer information se API: Fel och varningar.
Testning: För enkelt testning av API-begÀran, se Special:ApiSandbox.
- action
Vilken ÄtgÀrd som ska utföras.
- acquiretempusername
- Acquire a temporary user username and stash it in the current session, if temp account creation is enabled and the current user is logged out. If a name has already been stashed, returns the same name.
- block
- Blockera en anvÀndare.
- changeauthenticationdata
- Ăndra autentiseringsdata för aktuell anvĂ€ndare.
- changecontentmodel
- Ăndra innehĂ„llsmodellen för en sida
- checktoken
- Kontrollera giltigheten av en nyckel frÄn action=query&meta=tokens.
- clearhasmsg
- Rensa
hasmsg-flaggan för den aktuella anvÀndaren. - clientlogin
- Logga till pÄ wikin med det interaktiva flödet.
- compare
- HÀmta skillnaden mellan tvÄ sidor.
- createaccount
- Skapa ett nytt anvÀndarkonto.
- cxdelete
- Radera ett översÀttningsutkast som skapats med hjÀlp av tillÀgget InnehÄllsöversÀttning.
- cxtoken
- HÀmta JWT-nyckel för att autentisera med cxserver.
- delete
- Radera en sida.
- edit
- Skapa och redigera sidor.
- emailuser
- Skicka e-post till en anvÀndare.
- expandtemplates
- Expanderar alla mallar inom wikitext.
- feedcontributions
- Returnerar en anvÀndares bidragsflöde.
- feedrecentchanges
- Returnerar ett flöde med senaste Àndringar.
- feedwatchlist
- Returnerar ett flöde frÄn bevakningslistan.
- filerevert
- à terstÀll en fil till en Àldre version.
- globalpreferenceoverrides
- Ăndra lokala Ă„sidosĂ€ttanden för globala instĂ€llningar till nuvarande anvĂ€ndare.
- globalpreferences
- Ăndra globala instĂ€llningar för nuvarande anvĂ€ndare.
- help
- Visa hjÀlp för de angivna modulerna.
- imagerotate
- Rotera en eller flera bilder.
- import
- Importer en sida frÄn en annan wiki eller frÄn en XML-fil.
- languagesearch
- Sök efter sprÄknamn i valfritt skriftsystem.
- linkaccount
- LÀnka ett konto frÄn en tredjepartsleverantör till nuvarande anvÀndare.
- login
- Logga in och hÀmta autentiseringskakor.
- logout
- Logga ut och rensa sessionsdata.
- managetags
- Utför hanterings uppgifter relaterade till förÀndrings taggar.
- mergehistory
- Sammanfoga sidhistoriker.
- move
- Flytta en sida.
- opensearch
- Sök wikin med protokollet OpenSearch.
- options
- Ăndra instĂ€llningar för nuvarande anvĂ€ndare.
- paraminfo
- FĂ„ information om API moduler.
- parse
- Parses content and returns parser output.
- patrol
- Patrullera en sida eller en version.
- protect
- Ăndra skyddsnivĂ„n för en sida.
- purge
- Rensa cachen för angivna titlar.
- 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
- Radera och ÄterstÀll sidversioner.
- rollback
- à ngra den senaste redigeringen pÄ sidan.
- rsd
- Export an RSD (Really Simple Discovery) schema.
- setnotificationtimestamp
- Update the notification timestamp for watched pages.
- setpagelanguage
- Ăndra sprĂ„ket pĂ„ en sida.
- sxdelete
- Radera översÀttningen av utkastsavsnittet och dess parallella korpus frÄn databasen.
- tag
- LÀgg till eller ta bort ÀndringsmÀrken frÄn individuella sidversioner eller loggposter.
- unblock
- UpphÀv en anvÀndares blockering.
- undelete
- à terstÀll sidversioner för en raderad sida.
- unlinkaccount
- Ta bort ett lÀnkat tredjepartskonto frÄn aktuell anvÀndare.
- upload
- Ladda upp en fil eller hÀmta status för vÀntande uppladdningar.
- userrights
- Ăndra en anvĂ€ndares gruppmedlemskap.
- validatepassword
- Validate a password against the wiki's password policies.
- watch
- LÀgg till eller ta bort sidor frÄn aktuell anvÀndares bevakningslista.
- webapp-manifest
- Returnerar ett webbappsmanifest.
- cspreport
- Intern. 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.
- cxcheckunreviewed
- Intern. Kontrollera om en snabb ogranskad översÀttning nyligen har publicerats för den aktuella anvÀndaren.
- cxfavoritesuggestions
- Intern. LÀgg till eller ta bort ett favoritförslag frÄn den aktuella anvÀndarens lista.
- cxpublish
- Intern. Spara en sida skapad med tillÀgget för innehÄllsöversÀttning.
- cxpublishsection
- Intern. Spara ett avsnitt som skapades med avsnittsöversÀttningsfunktionen i tillÀgget InnehÄllsöversÀttning.
- cxsave
- Intern. Denna modul lÄter översÀttningsutkast sparas efter avsnitt för att spara bandbredd och för att samla in parallell text.
- cxsplit
- Intern. Skapa och spara en avsnittsöversÀttning till databasen för varje översatt avsnitt i den angivna artikelöversÀttningen
- editcheckreferenceurl
- Intern. Check the status of a URL for use as a reference.
- stashedit
- Intern. Prepare an edit in shared cache.
- sxsave
- Intern. Spara översÀttningsskiss för avsnittet och lagra den parallella texten
- ulslocalization
- Intern. FÄ lokalanpassningen av ULS pÄ ett visst sprÄk.
- ulssetlang
- Intern. Uppdatera det sprÄk som anvÀndaren valt för grÀnssnittet.
- visualeditor
- Intern. Returnerar HTML5 för en sida frÄn Parsoid-tjÀnsten.
- visualeditoredit
- Intern. Spara en HTML5-sida till MediaWiki (konverterad till wikitext via Parsoid-tjÀnsten).
- Ett av följande vÀrden: acquiretempusername, block, changeauthenticationdata, changecontentmodel, checktoken, clearhasmsg, clientlogin, compare, createaccount, cxdelete, cxtoken, delete, edit, emailuser, expandtemplates, feedcontributions, feedrecentchanges, feedwatchlist, filerevert, globalpreferenceoverrides, globalpreferences, help, imagerotate, import, languagesearch, linkaccount, login, logout, managetags, mergehistory, move, opensearch, options, paraminfo, parse, patrol, protect, purge, query, removeauthenticationdata, resetpassword, revisiondelete, rollback, rsd, setnotificationtimestamp, setpagelanguage, sxdelete, tag, unblock, undelete, unlinkaccount, upload, userrights, validatepassword, watch, webapp-manifest, cspreport, cxcheckunreviewed, cxfavoritesuggestions, cxpublish, cxpublishsection, cxsave, cxsplit, editcheckreferenceurl, stashedit, sxsave, ulslocalization, ulssetlang, visualeditor, visualeditoredit
- Standard: help
- format
Formatet för utdata.
- json
- Output data in JSON format.
- jsonfm
- Output data in JSON format (pretty-print in HTML).
- none
- Output nothing.
- php
- Output data in serialized PHP format.
- phpfm
- Output data in serialized PHP format (pretty-print in HTML).
- rawfm
- Output data, including debugging elements, in JSON format (pretty-print in HTML).
- xml
- Output data in XML format.
- xmlfm
- Output data in XML format (pretty-print in HTML).
- Ett av följande vÀrden: json, jsonfm, none, php, phpfm, rawfm, xml, xmlfm
- Standard: jsonfm
- maxlag
Maximum lag can be used when MediaWiki is installed on a database replicated cluster. To save actions causing any more site replication lag, this parameter can make the client wait until the replication lag is less than the specified value. In case of excessive lag, error code maxlag is returned with a message like Waiting for $host: $lag seconds lagged.
See Manual: Maxlag parameter for more information.- Typ: heltal
- smaxage
Ange headervÀrdet
s-maxagetill sÄ hÀr mÄnga sekunder. Fel cachelagras aldrig.- Typ: heltal
- VÀrdet fÄr inte vara mindre Àn 0.
- Standard: 0
- maxage
Ange headervÀrdet
max-agetill sÄ hÀr mÄnga sekunder. Fel cachelagras aldrig.- Typ: heltal
- VÀrdet fÄr inte vara mindre Àn 0.
- Standard: 0
- assert
BekrÀfta att anvÀndaren Àr inloggad om satt till user, inte inloggad om satt till anon,eller har bot-anvÀndarrÀttigheten om satt till bot.
- Ett av följande vÀrden: anon, bot, user
- assertuser
Verifiera att den nuvarande anvÀndaren Àr den namngivne anvÀndaren.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn och TillfÀllig anvÀndare
- requestid
Alla vÀrde som anges hÀr kommer att inkluderas i svaret. Kan anvÀndas för att sÀrskilja förfrÄgningar.
- servedby
Inkludera det vÀrdnamn som besvarade förfrÄgan i resultatet.
- Type: boolean (details)
- curtimestamp
Inkludera den aktuella tidsstÀmpeln i resultatet.
- Type: boolean (details)
- responselanginfo
Inkluderar de sprÄk som anvÀnds för uselang och errorlang i resultatet.
- Type: boolean (details)
- origin
NÀr API:et anvÀnds genom en cross-domain AJAX-begÀran (CORS), ange detta till den ursprungliga domÀnen. Detta mÄste inkluderas i alla pre-flight-begÀran, och mpste dÀrför vara en del av den begÀrda URI:n (inte i POST-datat). Detta mÄste överensstÀmma med en av kÀllorna i headern
Originexakt, sÄ den mÄste sÀttas till nÄgot i stil med http://en.wikipedia.org eller https://meta.wikimedia.org. Om denna parameter inte överensstÀmmer med headernOrigin, returneras ett 403-svar. Om denna parameter överensstÀmmer med headernOriginoch kÀllan Àr vitlistad, sÀtts enAccess-Control-Allow-Origin-header.- crossorigin
When accessing the API using a cross-domain AJAX request (CORS) and using a session provider that is safe against cross-site request forgery (CSRF) attacks (such as OAuth), use this instead of
origin=*to make the request authenticated (i.e., not logged out). This must be included in any pre-flight request, and therefore must be part of the request URI (not the POST body).Note that most session providers, including standard cookie-based sessions, do not support authenticated CORS and cannot be used with this parameter.
- Type: boolean (details)
- uselang
SprÄk som ska anvÀndas för meddelandeöversÀttningar. action=query&meta=siteinfo med siprop=languages returnerar en lista med sprÄkkoder, eller ange user för att anvÀnda den aktuella anvÀndarens sprÄkpreferenser, eller ange content för att anvÀnda innehÄllssprÄket.
- Standard: user
- variant
Variant of the language. Only works if the base language supports variant conversion.
- 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.
- Ett av följande vÀrden: bc, html, none, plaintext, raw, wikitext
- Standard: bc
- errorlang
SprÄk att anvÀnda för varningar och fel. action=query&meta=siteinfo med siprop=languages returnerar en lista över sprÄkkoder eller specifikt content för att anvÀnda innehÄllssprÄket pÄ denna wiki, eller specifikt uselang för att anvÀnda samma vÀrde som parametern uselang.
- Standard: uselang
- errorsuselocal
Om angivet kommer feltexter att anvÀnda lokalt anpassade meddelande frÄn namnrymden MediaWiki.
- Type: boolean (details)
- HjÀlp för huvudmodul
- api.php?action=help [open in sandbox]
- All hjÀlp pÄ en sida
- api.php?action=help&recursivesubmodules=1 [open in sandbox]
action=acquiretempusername
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Acquire a temporary user username and stash it in the current session, if temp account creation is enabled and the current user is logged out. If a name has already been stashed, returns the same name.
If the user later performs an action that results in temp account creation, the stashed username will be used for their account. It may also be used in previews. However, the account is not created yet, and the name is not visible to other users.
action=block
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Blockera en anvÀndare.
- id
ID of the block to modify (obtained through list=blocks). Cannot be used together with user, reblock, or newblock.
- Typ: heltal
- user
AnvÀndare att blockera.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, IP-intervall och anvÀndar-ID (t.ex. "#12345")
- userid
- FörÄldrad.
Ange user=#ID istÀllet.
- Typ: heltal
- expiry
Förfallotid. Kan vara Kan vara relativt (t.ex. 5 months eller 2 weeks) eller absolut (t.ex. 2014-09-18T12:34:56Z). Om satt till infinite, indefinite eller never, kommer blockeringen aldrig att löpa ut.
- Standard: never
- reason
Orsak till blockering.
- Default: (empty)
- anononly
Blockera endast anonyma anvÀndare (t.ex. inaktivera anonyma redigeringar för denna IP-adress).
- Type: boolean (details)
- nocreate
Förhindra registrering av anvÀndarkonton.
- Type: boolean (details)
- autoblock
Blockera automatiskt den senast anvÀnda IP-adressen, och alla efterföljande IP-adresser de försöker logga in frÄn.
- Type: boolean (details)
- noemail
Hindra anvÀndaren frÄn att skicka e-post via wikin. (KrÀver rÀttigheten
blockemail).- Type: boolean (details)
- hidename
Döljer anvÀndarnamnet frÄn blockeringsloggen. (KrÀver rÀttigheten
hideuser).- Type: boolean (details)
- allowusertalk
LÄt anvÀndaren redigera sin egen diskussionssida (beror pÄ $wgBlockAllowsUTEdit).
- Type: boolean (details)
- reblock
Skriv över befintlig blockering om anvÀndaren redan Àr blockerad.
- Type: boolean (details)
- newblock
Add another block even if the user is already blocked. Cannot be used together with id or reblock.
- Type: boolean (details)
- watchuser
Bevaka anvÀndarens eller IP-adressens anvÀndarsida och diskussionssida
- Type: boolean (details)
Ăndra mĂ€rken att tillĂ€mpa i blockloggens post.
- VĂ€rden (separerade med | eller alternativ):
- partial
Block user from specific pages or namespaces rather than the entire site.
- Type: boolean (details)
- pagerestrictions
Lista över titlar att blockera anvÀndaren frÄn att redigera. GÀller endast nÀr partial Àr "true".
- Typ: Sidans titel
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 10.
- Accepterar endast sidor som finns.
- namespacerestrictions
Lista över namnrymds-ID:n att blockera anvÀndaren frÄn att redigera. GÀller endast nÀr partial Àr "true".
- VĂ€rden (separerade med | eller alternativ): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- actionrestrictions
List of actions to block the user from performing. Only applies when partial is set to true.
- VĂ€rden (separerade med | eller alternativ): create, move, upload
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Blockera IP-adressen 192.0.2.5 i tre dagar med en motivering.
- api.php?action=block&user=192.0.2.5&expiry=3%20days&reason=First%20strike&token=123ABC [open in sandbox]
- Blockera anvÀndare Vandal pÄ obegrÀnsad tid med en motivering, och förhindra kontoskapande och e-post.
- api.php?action=block&user=Vandal&expiry=never&reason=Vandalism&nocreate=&autoblock=&noemail=&token=123ABC [open in sandbox]
action=changeauthenticationdata (changeauth)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Ăndra autentiseringsdata för aktuell anvĂ€ndare.
- changeauthrequest
Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=change.
- Den hÀr parametern Àr obligatorisk.
- changeauthtoken
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- *
- 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.
- Försök att Àndra aktuell anvÀndares lösenord till ExamplePassword.
- api.php?action=changeauthenticationdata&changeauthrequest=MediaWiki%5CAuth%5CPasswordAuthenticationRequest&password=ExamplePassword&retype=ExamplePassword&changeauthtoken=123ABC [open in sandbox]
action=changecontentmodel
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Ăndra innehĂ„llsmodellen för en sida
- title
Title of the page to change the contentmodel of. Cannot be used together with pageid.
- pageid
Page ID of the page to change the contentmodel of. Cannot be used together with title.
- Typ: heltal
- summary
Edit summary and log entry reason
Change tags to apply to the log entry and edit.
- VĂ€rden (separerade med | eller alternativ):
- model
Det nya innehÄllets innehÄllsmodell.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: css, javascript, json, text, vue, wikitext
- bot
MÀrk innehÄllsmodellens Àndring med en botflagga
- Type: boolean (details)
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Ăndra huvudsidan till att ha innehĂ„llsmodellen
text - api.php?action=changecontentmodel&title=Main Page&model=text&token=123ABC [open in sandbox]
action=checktoken
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Kontrollera giltigheten av en nyckel frÄn action=query&meta=tokens.
- type
Typ av token som testas.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: createaccount, csrf, login, patrol, rollback, userrights, watch
- token
Token att testa.
- Den hÀr parametern Àr obligatorisk.
- maxtokenage
Högsta tillÄtna Äldern för token, i sekunder.
- Typ: heltal
- Testa giltigheten av en csrf-token.
- api.php?action=checktoken&type=csrf&token=123ABC [open in sandbox]
action=clearhasmsg
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Rensa hasmsg-flaggan för den aktuella anvÀndaren.
- Rensa
hasmsg-flaggan för den aktuella anvÀndaren - api.php?action=clearhasmsg [open in sandbox]
action=clientlogin (login)
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Logga till pÄ wikin med det interaktiva flödet.
The general procedure to use this module is:
- Fetch the fields available from action=query&meta=authmanagerinfo with amirequestsfor=login, and a login token from action=query&meta=tokens.
- Present the fields to the user, and obtain their submission.
- Post to this module, supplying loginreturnurl and any relevant fields.
- 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.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- loginmessageformat
Format to use for returning messages.
- Ett av följande vÀrden: html, none, raw, wikitext
- Standard: wikitext
- loginmergerequestfields
Merge field information for all authentication requests into one array.
- Type: boolean (details)
- loginpreservestate
Preserve state from a previous failed login attempt, if possible.
- Type: boolean (details)
- 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.
- Type: boolean (details)
- logintoken
A "login" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- *
- 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.
- Börja att logga in wikin som anvÀndaren Example med lösenordet ExamplePassword.
- api.php?action=clientlogin&username=Example&password=ExamplePassword&loginreturnurl=http://example.org/&logintoken=123ABC [open in sandbox]
- FortsÀtt logga in efter ett svar av typen UI för en tvÄstegsverifiering, som uppger en OATHToken med vÀrdet 987654.
- api.php?action=clientlogin&logincontinue=1&OATHToken=987654&logintoken=123ABC [open in sandbox]
action=compare
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
HÀmta skillnaden mellan tvÄ sidor.
Ett versionsnummer, en sidtitel, ett sid-ID, text eller en relativ referens för bÄde "from" och "to" mÄste godkÀnnas.
- fromtitle
Första titeln att jÀmföra.
- fromid
Första sid-ID att jÀmföra.
- Typ: heltal
- fromrev
Första version att jÀmföra.
- Typ: heltal
- fromslots
Override content of the revision specified by fromtitle, fromid or fromrev.
This parameter specifies the slots that are to be modified. Use fromtext-{slot}, fromcontentmodel-{slot}, and fromcontentformat-{slot} to specify content for each slot.
- VĂ€rden (separerade med | eller alternativ): main
- fromtext-{slot}
Text of the specified slot. If omitted, the slot is removed from the revision.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of fromslots.
- fromsection-{slot}
When fromtext-{slot} is the content of a single section, this is the section identifier. It will be merged into the revision specified by fromtitle, fromid or fromrev as if for a section edit.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of fromslots.
- fromcontentformat-{slot}
Content serialization format of fromtext-{slot}.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of fromslots.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- fromcontentmodel-{slot}
Content model of fromtext-{slot}. If not supplied, it will be guessed based on the other parameters.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of fromslots.
- Ett av följande vÀrden: css, javascript, json, text, unknown, vue, wikitext
- frompst
Do a pre-save transform on fromtext-{slot}.
- Type: boolean (details)
- fromtext
- FörÄldrad.
Ange fromslots=main och anvÀnd fromtext-main istÀllet.
- fromcontentformat
- FörÄldrad.
Specify fromslots=main and use fromcontentformat-main instead.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- fromcontentmodel
- FörÄldrad.
InnehÄllsmodell för fromtext. Om det inte anges kommer den gissas fram baserat pÄ de andra parametrarna.
- Ett av följande vÀrden: css, javascript, json, text, unknown, vue, wikitext
- fromsection
- FörÄldrad.
Only use the specified section of the specified 'from' content.
- totitle
Andra titeln att jÀmföra.
- toid
Andra sid-ID att jÀmföra.
- Typ: heltal
- torev
Andra version att jÀmföra.
- Typ: heltal
- torelative
Use a revision relative to the revision determined from fromtitle, fromid or fromrev. All of the other 'to' options will be ignored.
- Ett av följande vÀrden: cur, next, prev
- toslots
Override content of the revision specified by totitle, toid or torev.
This parameter specifies the slots that are to be modified. Use totext-{slot}, tocontentmodel-{slot}, and tocontentformat-{slot} to specify content for each slot.
- VĂ€rden (separerade med | eller alternativ): main
- totext-{slot}
Text of the specified slot. If omitted, the slot is removed from the revision.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of toslots.
- tosection-{slot}
When totext-{slot} is the content of a single section, this is the section identifier. It will be merged into the revision specified by totitle, toid or torev as if for a section edit.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of toslots.
- tocontentformat-{slot}
Content serialization format of totext-{slot}.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of toslots.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- tocontentmodel-{slot}
Content model of totext-{slot}. If not supplied, it will be guessed based on the other parameters.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of toslots.
- Ett av följande vÀrden: css, javascript, json, text, unknown, vue, wikitext
- topst
Do a pre-save transform on totext.
- Type: boolean (details)
- totext
- FörÄldrad.
Specify toslots=main and use totext-main instead.
- tocontentformat
- FörÄldrad.
Specify toslots=main and use tocontentformat-main instead.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- tocontentmodel
- FörÄldrad.
Specify toslots=main and use tocontentmodel-main instead.
- Ett av följande vÀrden: css, javascript, json, text, unknown, vue, wikitext
- tosection
- FörÄldrad.
Only use the specified section of the specified 'to' content.
- 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 username and ID of the 'from' and 'to' revisions. If the user has been revision deleted, a fromuserhidden or touserhidden property will be returned.
- comment
- The comment on the 'from' and 'to' revisions. If the comment has been revision deleted, a fromcommenthidden or tocommenthidden property will be returned.
- parsedcomment
- The parsed comment on the 'from' and 'to' revisions. If the comment has been revision deleted, a fromcommenthidden or tocommenthidden property will be returned.
- size
- The size of the 'from' and 'to' revisions.
- timestamp
- The timestamp of the 'from' and 'to' revisions.
- VĂ€rden (separerade med | eller alternativ): comment, diff, diffsize, ids, parsedcomment, rel, size, timestamp, title, user
- Standard: diff|ids|title
- slots
Return individual diffs for these slots, rather than one combined diff for all slots.
- VĂ€rden (separerade med | eller alternativ): main
- To specify all values, use *.
- difftype
Return the comparison formatted as inline HTML.
- Ett av följande vÀrden: table, unified
- Standard: table
- Skapa en diff mellan version 1 och 2
- api.php?action=compare&fromrev=1&torev=2 [open in sandbox]
action=createaccount (create)
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Skapa ett nytt anvÀndarkonto.
The general procedure to use this module is:
- Fetch the fields available from action=query&meta=authmanagerinfo with amirequestsfor=create, and a createaccount token from action=query&meta=tokens.
- Present the fields to the user, and obtain their submission.
- Post to this module, supplying createreturnurl and any relevant fields.
- 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.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- createmessageformat
Format to use for returning messages.
- Ett av följande vÀrden: html, none, raw, wikitext
- Standard: wikitext
- createmergerequestfields
Merge field information for all authentication requests into one array.
- Type: boolean (details)
- 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.
- Type: boolean (details)
- 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.
- Type: boolean (details)
- createtoken
A "createaccount" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- *
- 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.
- Start the process of creating the user Example with the password ExamplePassword.
- api.php?action=createaccount&username=Example&password=ExamplePassword&retype=ExamplePassword&createreturnurl=http://example.org/&createtoken=123ABC [open in sandbox]
action=cspreport
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
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
- Type: boolean (details)
- source
What generated the CSP header that triggered this report
- Standard: internal
action=cxcheckunreviewed
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Source: ContentTranslation
- License: GPL-2.0-or-later
Kontrollera om en snabb ogranskad översÀttning nyligen har publicerats för den aktuella anvÀndaren.
action=cxdelete
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: ContentTranslation
- License: GPL-2.0-or-later
Radera ett översÀttningsutkast som skapats med hjÀlp av tillÀgget InnehÄllsöversÀttning.
- from
KÀllans sprÄkkod.
- Den hÀr parametern Àr obligatorisk.
- to
MÄlets sprÄkkod.
- Den hÀr parametern Àr obligatorisk.
- sourcetitle
KĂ€llsidans titel.
- Den hÀr parametern Àr obligatorisk.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Radera ett utkast förknippat med angivet sprÄkpar och titel.
- api.php?action=cxdelete&from=en&to=es&sourcetitle=Food [open in sandbox]
action=cxfavoritesuggestions
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: ContentTranslation
- License: GPL-2.0-or-later
LÀgg till eller ta bort ett favoritförslag frÄn den aktuella anvÀndarens lista.
- listaction
à tgÀrd som ska utföras pÄ den givna favoritförslagstiteln. TillgÀngliga alternativ: 'add' and 'remove'
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: add, remove
- title
Titeln pÄ favoritförslaget som ÄtgÀrden ska utföras pÄ
- Den hÀr parametern Àr obligatorisk.
- from
KÀllsprÄket för favoritförslaget som ÄtgÀrden ska utföras pÄ
- Den hÀr parametern Àr obligatorisk.
- to
MÄlsprÄket för favoritförslaget som ÄtgÀrden ska utföras pÄ
- Den hÀr parametern Àr obligatorisk.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- LÀgg till ett förslag i anvÀndarens lista över favoritförslag
- api.php?action=cxfavoritesuggestions&listaction=add&title=Title&from=en&to=es [open in sandbox]
- Ta bort ett förslag frÄn anvÀndarens lista över favoritförslag
- api.php?action=cxfavoritesuggestions&listaction=remove&title=Title&from=en&to=es [open in sandbox]
action=cxpublish
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: ContentTranslation
- License: GPL-2.0-or-later
Spara en sida skapad med tillÀgget för innehÄllsöversÀttning.
- title
Titeln pÄ sidan som ÄtgÀrder ska utföras pÄ.
- Den hÀr parametern Àr obligatorisk.
- html
InnehÄllet att spara.
- Den hÀr parametern Àr obligatorisk.
- from
KÀllans sprÄkkod.
- Den hÀr parametern Àr obligatorisk.
- to
MÄlets sprÄkkod.
- Den hÀr parametern Àr obligatorisk.
- sourcetitle
KĂ€llsidans titel.
- Den hÀr parametern Àr obligatorisk.
- categories
Kategorierna att lÀgga till i den publicerade sidan.
RedigeringsmÀrken att lÀgga till i den publicerade sidan.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- wpCaptchaId
Captcha-ID (vid sparning med ett captcha-svar).
- wpCaptchaWord
Svar till captcha (vid sparning med ett captcha-svar).
- cxversion
Versionen för redigeraren som anvÀndes för att publicera översÀttningen.
- Den hÀr parametern Àr obligatorisk.
- Typ: heltal
- VÀrdet mÄste ligga mellan 1 och 2.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
action=cxpublishsection
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: ContentTranslation
- License: GPL-2.0-or-later
Spara ett avsnitt som skapades med avsnittsöversÀttningsfunktionen i tillÀgget InnehÄllsöversÀttning.
- title
Sidans titel att utföra ÄtgÀrder pÄ.
- Den hÀr parametern Àr obligatorisk.
- html
InnehÄllet att spara.
- Den hÀr parametern Àr obligatorisk.
- sourcelanguage
KÀllans sprÄkkod.
- Den hÀr parametern Àr obligatorisk.
- targetlanguage
MÄlets sprÄkkod
- Den hÀr parametern Àr obligatorisk.
- sourcetitle
KĂ€llsidans titel.
- Den hÀr parametern Àr obligatorisk.
- sourcerevid
KĂ€llsidans versions-ID.
- Den hÀr parametern Àr obligatorisk.
- sourcesectiontitle
KĂ€llavsnittets titel.
- Den hÀr parametern Àr obligatorisk.
- targetsectiontitle
MÄlavsnittets titel.
- Den hÀr parametern Àr obligatorisk.
- sectiontranslationid
Avsnittets översÀttnings-ID som Àr associerat med översÀttningen av utkastsavsnittet.
- Den hÀr parametern Àr obligatorisk.
- Typ: heltal
- publishtarget
PubliceringsmÄlet för sektionsöversÀttningen. Möjliga vÀrden: 'SANDBOX', 'NEW_SECTION', 'EXPAND' och 'REPLACE'.
- Ett av följande vÀrden: EXPAND, NEW_SECTION, REPLACE, SANDBOX
- existingsectiontitle
Titeln pÄ det befintliga avsnittet som ska utökas.
- captchaid
Captcha-ID (vid sparande med ett captcha-svar).
- captchaword
Svaret pÄ captcha (vid sparande med ett captcha-svar).
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
action=cxsave
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: ContentTranslation
- License: GPL-2.0-or-later
Denna modul lÄter översÀttningsutkast sparas efter avsnitt för att spara bandbredd och för att samla in parallell text.
- from
KÀllans sprÄkkod.
- Den hÀr parametern Àr obligatorisk.
- to
MÄlets sprÄkkod.
- Den hÀr parametern Àr obligatorisk.
- sourcetitle
KĂ€llsidans titel.
- Den hÀr parametern Àr obligatorisk.
- title
Titeln pÄ sidan som ÄtgÀrder ska utföras pÄ.
- Den hÀr parametern Àr obligatorisk.
- content
JSON-kodad avsnittsdata. Varje avsnitt Àr ett objekt och har följande nycklar: innehÄll, avsnitts-ID, sekvens-ID, sekvens-ID, ursprung
- Den hÀr parametern Àr obligatorisk.
- sourcerevision
KĂ€llsidans sidversion
- Den hÀr parametern Àr obligatorisk.
- Typ: heltal
- progress
Information om översÀttningens framsteg. JSON med nycklarna
any,human,mtochmtSectionsCount. The keys' values are percentages.- Den hÀr parametern Àr obligatorisk.
- cxversion
Versionen för redigeraren som anvÀndes för att skapa skissöversÀttningen.
- Typ: heltal
- VÀrdet mÄste ligga mellan 1 och 2.
- sourcecategories
JSON-kodad array över kÀllkategorier att spara med skissöversÀttningen.
- Kan inte vara lÀngre Àn 65 535 byte.
- targetcategories
JSON-kodad array över mÄlkategorier att spara med skissöversÀttningen.
- Kan inte vara lÀngre Àn 65 535 byte.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
action=cxsplit
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: ContentTranslation
- License: GPL-2.0-or-later
Skapa och spara en avsnittsöversÀttning till databasen för varje översatt avsnitt i den angivna artikelöversÀttningen
- translationid
ĂversĂ€ttningens ID som avsnittsöversĂ€ttningarna kommer att skapas för.
- Den hÀr parametern Àr obligatorisk.
- Typ: heltal
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
action=cxtoken
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: ContentTranslation
- License: GPL-2.0-or-later
HÀmta JWT-nyckel för att autentisera med cxserver.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- HÀmta autentiseringstoken för cxserver
- api.php?action=cxtoken&token=123ABC [open in sandbox]
action=delete
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Radera en sida.
- title
Titel pÄ sidan du vill radera. Kan inte anvÀndas tillsammans med pageid.
- pageid
Sid-ID för sidan att radera. Kan inte anvÀndas tillsammans med titel.
- Typ: heltal
- reason
Orsak till radering. Om orsak inte ges kommer en orsak att automatiskt genereras och anvÀndas.
Change tags to apply to the entry in the deletion log.
- VĂ€rden (separerade med | eller alternativ):
- deletetalk
Delete the talk page, if it exists.
- Type: boolean (details)
- watch
- FörÄldrad.
LÀgg till sidan i aktuell anvÀndares bevakningslista.
- Type: boolean (details)
- watchlist
LÀgg till eller ta bort sidan ovillkorligen frÄn den aktuella anvÀndarens bevakningslista, anvÀnd instÀllningar eller Àndra inte bevakning.
- Ett av följande vÀrden: nochange, preferences, unwatch, watch
- Standard: preferences
- unwatch
- FörÄldrad.
Ta bort sidan frÄn aktuell anvÀndares bevakningslista.
- Type: boolean (details)
- oldimage
Namnet pÄ den gamla bilden att radera som tillhandahÄlls av action=query&prop=imageinfo&iiprop=archivename.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Radera Main Page.
- api.php?action=delete&title=V%C3%A4lkommen%21&token=123ABC [open in sandbox]
- Raderar Main Page med orsaken Preparing for move.
- api.php?action=delete&title=V%C3%A4lkommen%21&token=123ABC&reason=Preparing%20for%20move [open in sandbox]
action=edit
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Skapa och redigera sidor.
- title
Titel pÄ sidan du vill redigera. Kan inte anvÀndas tillsammans med pageid.
- pageid
Sid-ID för sidan du vill redigera. Kan inte anvÀndas tillsammans med titel.
- Typ: heltal
- section
Avsnittsnummer. 0 för det översta avsnittet, new för ett nytt avsnitt.
- sectiontitle
Rubriken för ett nytt avsnitt.
- text
Sidans innehÄll.
- summary
Redigeringssammanfattning. Ăven avsnittets rubrik nĂ€r section=new och sectiontitle inte anges.
Ăndra taggar till att gĂ€lla för revideringen.
- VĂ€rden (separerade med | eller alternativ):
- minor
Markera denna redigering som en mindre redigering.
- Type: boolean (details)
- notminor
Markera inte denna redigering som en mindre redigering Àven om anvÀndarinstÀllningen "Markera automatiskt Àndringar som mindre" Àr instÀlld.
- Type: boolean (details)
- bot
Markera denna redigering som en robotredigering.
- Type: boolean (details)
- baserevid
ID of the base revision, used to detect edit conflicts. May be obtained through action=query&prop=revisions. Self-conflicts cause the edit to fail unless basetimestamp is set.
- Typ: heltal
- basetimestamp
TidsstÀmpel för grundversionen, anvÀnds för att upptÀcka redigeringskonflikter. Kan erhÄllas genom action=query&prop=revisions&rvprop=timestamp.
- Type: timestamp (allowed formats)
- starttimestamp
TidsstÀmpel för nÀr redigeringsprocessen började, anvÀnds för att upptÀcka redigeringskonflikter. Ett lÀmpligt vÀrde kan erhÄllas via curtimestamp nÀr redigeringsprocessen startas (t.ex. nÀr sidans innehÄll laddas för redigering).
- Type: timestamp (allowed formats)
- recreate
Ignorera felmeddelande om sidan har blivit raderad under tiden.
- Type: boolean (details)
- createonly
Redigera inte sidan om den redan finns.
- Type: boolean (details)
- nocreate
Kasta ett fel om sidan inte finns.
- Type: boolean (details)
- watch
- FörÄldrad.
LÀgg till sidan i den aktuella anvÀndarens bevakningslista.
- Type: boolean (details)
- unwatch
- FörÄldrad.
Ta bort sidan frÄn aktuell anvÀndares bevakningslista.
- Type: boolean (details)
- watchlist
LÀgg till eller ta bort sidan ovillkorligen frÄn den aktuella anvÀndarens bevakningslista, anvÀnd instÀllningar eller Àndra inte bevakning.
- Ett av följande vÀrden: nochange, preferences, unwatch, watch
- Standard: preferences
- md5
MD5-hash för text-parametern, eller prependtext- och appendtext-parametrarna sammanfogade.
- prependtext
LÀgg till denna text i början pÄ sidan. ErsÀtter text.
- appendtext
LÀgg till denna text i slutet pÄ sidan. ErsÀtter text.
AnvÀnd section=new för att lÀgga till en ny sektion, hellre Àn denna parameter.
- undo
à ngra denna sidversion. Skriver över text, prependtext och appendtext.
- Typ: heltal
- VÀrdet fÄr inte vara mindre Àn 0.
- undoafter
à ngra alla sidversioner frÄn undo till denna. Om inte, Ängra endast en sidversion.
- Typ: heltal
- VÀrdet fÄr inte vara mindre Àn 0.
- redirect
à tgÀrda automatiskt omdirigeringar.
- Type: boolean (details)
- contentformat
Det serialiseringsformat som anvÀnds för indatatexten.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- contentmodel
Det nya innehÄllets innehÄllsmodell.
- Ett av följande vÀrden: css, javascript, json, text, unknown, vue, wikitext
- token
A "csrf" token retrieved from action=query&meta=tokens
Token ska alltid skickas som sista parameter, eller Ätminstone efter text-parametern
- Den hÀr parametern Àr obligatorisk.
- returnto
Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.
- Typ: Sidans titel
- Accepterar sidor som inte finns.
- returntoquery
URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.
- Default: (empty)
- returntoanchor
URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.
- Default: (empty)
- Redigera en sida
- api.php?action=edit&title=Test&summary=test%20summary&text=article%20content&baserevid=1234567&token=123ABC [open in sandbox]
- LÀgg till __NOTOC__ i början pÄ en sida.
- api.php?action=edit&title=Test&summary=NOTOC&minor=&prependtext=__NOTOC__%0A&basetimestamp=2007-08-24T12:34:54Z&token=123ABC [open in sandbox]
- Ă ngra sidversioner 13579 till 13585 med automatisk sammanfattning.
- api.php?action=edit&title=Test&undo=13585&undoafter=13579&basetimestamp=2007-08-24T12:34:54Z&token=123ABC [open in sandbox]
action=editcheckreferenceurl
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Source: VisualEditor
- License: MIT
Check the status of a URL for use as a reference.
- url
URL to check.
- Den hÀr parametern Àr obligatorisk.
action=emailuser
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Skicka e-post till en anvÀndare.
- target
AnvÀndare att skicka e-post till.
- Den hÀr parametern Àr obligatorisk.
- subject
Ămnesrubrik.
- Den hÀr parametern Àr obligatorisk.
- text
E-postmeddelandets innehÄll.
- Den hÀr parametern Àr obligatorisk.
- ccme
Skicka en kopia av detta e-postmeddelande till mig.
- Type: boolean (details)
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Skicka ett e-postmeddelande till anvÀndaren WikiSysop med texten Content.
- api.php?action=emailuser&target=WikiSysop&text=Content&token=123ABC [open in sandbox]
action=expandtemplates
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Expanderar alla mallar inom wikitext.
- title
Sidans rubrik.
- text
Wikitext att konvertera.
- Den hÀr parametern Àr obligatorisk.
- revid
Revisions-ID, för
{{REVISIONID}}och liknande variabler.- Typ: heltal
- prop
Which pieces of information to get.
Note that if no values are selected, the result will contain the wikitext, but the output will be in a deprecated format.
- wikitext
- Den expanderade wikitexten.
- 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.
- VĂ€rden (separerade med | eller alternativ): categories, encodedjsconfigvars, jsconfigvars, modules, parsetree, properties, ttl, volatile, wikitext
- includecomments
Om HTML-kommentarer skall inkluderas i utdata.
- Type: boolean (details)
- showstrategykeys
Whether to include internal merge strategy information in jsconfigvars.
- Type: boolean (details)
- generatexml
- FörÄldrad.
Generera ett XML tolknings trÀd (ersatt av prop=parsetree).
- Type: boolean (details)
- Expandera wikitexten {{Project:Sandbox}}.
- api.php?action=expandtemplates&text={{Project:Sandbox}} [open in sandbox]
action=feedcontributions
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnerar en anvÀndares bidragsflöde.
- feedformat
Flödets format.
- Ett av följande vÀrden: atom, rss
- Standard: rss
- user
De anvÀndare vars bidrag ska hÀmtas.
- Den hÀr parametern Àr obligatorisk.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, IP-intervall, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- namespace
Vilken namnrymd att filtrera bidrag med.
- Ett av följande vÀrden: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- year
FrÄn Är (och tidigare).
- Typ: heltal
- month
FrÄn mÄnad (och tidigare).
- Typ: heltal
- tagfilter
Filtrera bidrag som har dessa taggar.
- VĂ€rden (separerade med | eller alternativ): advanced mobile edit, contenttranslation, contenttranslation-high-unmodified-mt-text, contenttranslation-v2, cx2-outreach, editcheck-newcontent, editcheck-newreference, editcheck-paste-shown, editcheck-reference-decline-common-knowledge, editcheck-reference-decline-irrelevant, editcheck-reference-decline-other, editcheck-reference-decline-uncertain, editcheck-references, editcheck-references-activated, editcheck-references-shown, editcheck-tone, editcheck-tone-shown, mobile edit, mobile web edit, mw-blank, mw-changed-redirect-target, mw-contentmodelchange, mw-manual-revert, mw-new-redirect, mw-recreated, mw-removed-redirect, mw-replace, mw-reverted, mw-rollback, mw-server-side-upload, mw-undo, sectiontranslation, visualeditor, visualeditor-needcheck, visualeditor-switched, visualeditor-wikitext
- Default: (empty)
- deletedonly
Visa bara borttagna bidrag.
- Type: boolean (details)
- toponly
Visa endast Àndringar som Àr senaste revideringen.
- Type: boolean (details)
- newonly
Visa endast redigeringar dÀr sidor skapas.
- Type: boolean (details)
- hideminor
Göm mindre Àndringar.
- Type: boolean (details)
- showsizediff
Visa skillnaden i storlek mellan revisioner.
- Type: boolean (details)
- Returnera bidrag för Exempel
- api.php?action=feedcontributions&user=Example [open in sandbox]
action=feedrecentchanges
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnerar ett flöde med senaste Àndringar.
- feedformat
Flödets format.
- Ett av följande vÀrden: atom, rss
- Standard: rss
- namespace
Namnrymder att begrÀnsa resultaten till.
- Ett av följande vÀrden: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- invert
Alla namnrymder utom den valda.
- Type: boolean (details)
- associated
Include associated (talk or main) namespace.
- Type: boolean (details)
- days
Dagar att begrÀnsa resultaten till.
- Typ: heltal
- VÀrdet fÄr inte vara mindre Àn 1.
- Standard: 7
- limit
Maximalt antal resultat att returnera.
- Typ: heltal
- VÀrdet mÄste ligga mellan 1 och 50.
- Standard: 50
- from
Visa förÀndringar sedan dess.
- Type: timestamp (allowed formats)
- hideminor
Dölj mindre Àndringar.
- Type: boolean (details)
- hidebots
Dölj robotÀndringar.
- Type: boolean (details)
- hideanons
Dölj Àndringar av oinloggade anvÀndare.
- Type: boolean (details)
- hideliu
Dölj Àndringar av inloggade anvÀndare.
- Type: boolean (details)
- hidepatrolled
Dölj patrullerade Àndringar.
- Type: boolean (details)
- hidemyself
Dölj Àndringar av aktuell anvÀndare.
- Type: boolean (details)
- hidecategorization
Hide category membership changes.
- Type: boolean (details)
- tagfilter
Filtrera efter tagg.
All edits except ones tagged with the selected ones.
- Type: boolean (details)
- target
Visa endast Àndringarna av sidor som den hÀr sidan lÀnkar till.
- showlinkedto
Visa Àndringarna pÄ sidor som Àr lÀnkade till den valda sidan i stÀllet.
- Type: boolean (details)
- Visa senaste Àndringar
- api.php?action=feedrecentchanges [open in sandbox]
- Visa senaste Àndringar för 30 dygn
- api.php?action=feedrecentchanges&days=30 [open in sandbox]
action=feedwatchlist
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnerar ett flöde frÄn bevakningslistan.
- feedformat
Flödets format.
- Ett av följande vÀrden: atom, rss
- Standard: rss
- hours
Lista sidor Àndrade inom sÄ hÀr mÄnga timmar frÄn nu.
- Typ: heltal
- VÀrdet mÄste ligga mellan 1 och 72.
- Standard: 24
- linktosections
LÀnka direkt till Àndrade avsnitt om möjligt.
- Type: boolean (details)
- allrev
Include multiple revisions of the same page within given timeframe.
- Type: boolean (details)
- wlowner
Used along with token to access a different user's watchlist.
- Typ: anvÀndare, genom anvÀndarnamn
- 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.
- VĂ€rden (separerade med | eller alternativ): !anon, !autopatrolled, !bot, !minor, !patrolled, !unread, anon, autopatrolled, bot, minor, patrolled, 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.
- VĂ€rden (separerade med | eller alternativ): categorize, edit, external, log, new
- Standard: edit|new|log|categorize
- wlexcludeuser
Don't list changes by this user.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- Visa flödet frÄn bevakningslistan.
- api.php?action=feedwatchlist [open in sandbox]
- Visa alla Àndringar pÄ besökta sidor under de senaste sex timmarna.
- api.php?action=feedwatchlist&allrev=&hours=6 [open in sandbox]
action=filerevert
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
à terstÀll en fil till en Àldre version.
- filename
MÄlfilens namn, utan prefixet Fil:.
- Den hÀr parametern Àr obligatorisk.
- comment
Ladda upp kommentar.
- Default: (empty)
- archivename
Arkiv-namn för revisionen att gÄ tillbaka till.
- Den hÀr parametern Àr obligatorisk.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- à terstÀll Wiki.png till versionen frÄn 2011-03-05T15:27:40Z.
- api.php?action=filerevert&filename=Wiki.png&comment=Revert&archivename=20110305152740!Wiki.png&token=123ABC [open in sandbox]
action=globalpreferenceoverrides
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: GlobalPreferences
- License: GPL-2.0-or-later
Ăndra lokala Ă„sidosĂ€ttanden för globala instĂ€llningar till nuvarande anvĂ€ndare.
Globala vÀrden för pÄverkade instÀllningar kommer att ignoreras
- reset
à terstÀll lokala ÄsidosÀttanden. Tar bort alla, eller, beroende pÄ vÀrdet i parametern
resetkinds, vissa typer av lokala ÄsidosÀttanden och gör dem globala igen.- Type: boolean (details)
- resetkinds
Lista över typer av ÄsidosÀttanden att ÄterstÀlla nÀr alternativet reset anges.
- VĂ€rden (separerade med | eller alternativ): all, registered, registered-checkmatrix, registered-multiselect, special, unused, userjs
- Standard: all
- change
Lista över Àndringar, formaterade namn=vÀrde (t.ex. skin=vector). Om inget vÀrde anges (inte ens som likhetstecken), t.ex., preferencename|otherpreference|..., kommer ÄsidosÀttandet tas bort. Om nÄgot godkÀnt vÀrde innehÄller ett vertikalstreck (|), anvÀnd alternativa avskiljare för flera vÀrden för rÀtt ÄtgÀrd.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- optionname
Namnet pÄ ÄsidosÀttandet som bör Àndras till vÀrdet som anges av optionvalue.
- optionvalue
VÀrdet för ÄsidosÀttandet som specificeras av optionname.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Ta bort alla lokala ÄsidosÀttanden.
- api.php?action=globalpreferenceoverrides&reset=&token=123ABC [open in sandbox]
- Ange eller Àndra ÄsidosÀttandet för instÀllningarna skin och hideminor.
- api.php?action=globalpreferenceoverrides&change=skin=vector|hideminor=1&token=123ABC [open in sandbox]
action=globalpreferences
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: GlobalPreferences
- License: GPL-2.0-or-later
Ăndra globala instĂ€llningar för nuvarande anvĂ€ndare.
Endast instÀllningar som Àr registrerade för nuvarande wiki kan Àndras lokalt.
- reset
à terstÀll globala instÀllningar. Tar bort alla eller, beroende pÄ vÀrdet i parametern
resetkinds, vissa typer av globala instÀllningar och gör dem inte lÀngre globala.- Type: boolean (details)
- resetkinds
Lista över typer av instÀllningar att ÄterstÀlla nÀr alternativet reset anges.
- VĂ€rden (separerade med | eller alternativ): all, registered, registered-checkmatrix, registered-multiselect, special, unused, userjs
- Standard: all
- change
Lista över Àndringar, formaterade namn=vÀrde (t.ex. skin=vector). Om inget vÀrde anges (inte ens ett likhetstecken), t.ex. preferencename|otherpreference|..., instÀllningen kommer att bli icke-global. Om nÄgot godkÀnt vÀrde innehÄller ett vertikalstreck (|), anvÀnd alternativa avskiljare för flera vÀrden för rÀtt ÄtgÀrd.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- optionname
Namnet pÄ instÀllningen som bör Àndras till vÀrde som anges av optionvalue.
- optionvalue
VÀrdet för instÀllningen som specificeras av optionname.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Gör en enda instÀllning icke-global.
- api.php?action=globalpreferences&change=skin=&token=123ABC [open in sandbox]
- Gör alla instÀllningar icke-globala.
- api.php?action=globalpreferences&reset=&token=123ABC [open in sandbox]
- Ăndrar instĂ€llningarna skin och hideminor.
- api.php?action=globalpreferences&change=skin=vector|hideminor=1&token=123ABC [open in sandbox]
action=help
- Source: MediaWiki
- License: GPL-2.0-or-later
Visa hjÀlp för de angivna modulerna.
- modules
Vilka moduler som hjÀlpen ska visas för (vÀrdena pÄ parametrarna action och format, eller main). Undermoduler kan anges med ett plustecken (+).
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- Standard: main
- submodules
Inkludera hjÀlp för undermoduler av den namngivna modulen.
- Type: boolean (details)
- recursivesubmodules
Inkludera hjÀlp för undermoduler rekursivt.
- Type: boolean (details)
- wrap
Omge utdatan i en standard API respons struktur.
- Type: boolean (details)
- toc
Inkludera en innehÄllsförteckning i HTML-utdata.
- Type: boolean (details)
- HjÀlp för huvudmodul
- api.php?action=help [open in sandbox]
- HjÀlp för action=query och alla dess undermoduler.
- api.php?action=help&modules=query&submodules=1 [open in sandbox]
- All hjÀlp pÄ en sida
- api.php?action=help&recursivesubmodules=1 [open in sandbox]
- HjÀlp för sjÀlva hjÀlpmodulen
- api.php?action=help&modules=help [open in sandbox]
- HjÀlp för tvÄ frÄgeundermoduler.
- api.php?action=help&modules=query+info|query+categorymembers [open in sandbox]
action=imagerotate
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Rotera en eller flera bilder.
- rotation
Grader att rotera bild medurs.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: 90, 180, 270
- continue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
MÀrken att tillÀmpa i uppladdningsloggens post.
- VĂ€rden (separerade med | eller alternativ):
- titles
A list of titles to work on.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- pageids
A list of page IDs to work on.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- revids
A list of revision IDs to work on. Note that almost all query modules will convert revision IDs to the corresponding page ID and work on the latest revision instead. Only prop=revisions uses exact revisions for its response.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- generator
Get the list of pages to work on by executing the specified query module.
Note: Generator parameter names must be prefixed with a "g", see examples.
- allcategories
- Enumerate all categories.
- alldeletedrevisions
- Lista alla raderade revisioner av en anvÀndare or inom en namnrymd.
- allfileusages
- Lista all fil anvÀndningsomrÄden, inklusive icke-existerande.
- allimages
- Enumerate all images sequentially.
- alllinks
- Enumerate all links that point to a given namespace.
- allpages
- Enumerate all pages sequentially in a given namespace.
- allredirects
- Lista alla omdirigeringar till en namnrymd.
- allrevisions
- Lista alla sidversioner.
- alltransclusions
- Lista alla mallinkluderingar (sidor inbÀddade med {{x}}), inklusive icke-befintliga.
- backlinks
- Hitta alla sidor som lÀnkar till den givna sidan.
- categories
- Lista alla kategorier sidorna tillhör.
- categorymembers
- Lista alla sidor i en angiven kategori.
- deletedrevisions
- HĂ€mta information om raderad sidversion.
- duplicatefiles
- Lista alla filer som Àr dubbletter av angivna filer baserat pÄ hashvÀrden.
- embeddedin
- Hitta alla sidor som bÀddar in (inkluderar) angiven titel.
- exturlusage
- Enumerate pages that contain a given URL.
- fileusage
- Hitta alla sidor som anvÀnder angivna filer.
- images
- Returns all files contained on the given pages.
- imageusage
- Hitta alla sidor som anvÀnder angiven bildtitel.
- iwbacklinks
- Find all pages that link to the given interwiki link.
- langbacklinks
- Find all pages that link to the given language link.
- links
- Returnerar alla lÀnkar frÄn angivna sidor.
- linkshere
- Hitta alla sidor som lÀnkar till angivna sidor.
- pageswithprop
- Lista alla sidor som anvÀnder en angiven sidegenskap.
- 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
- HÀmta en uppsÀttning slumpsidor.
- recentchanges
- Enumerate recent changes.
- redirects
- Returnerar alla omdirigeringar till angivna sidor.
- revisions
- HĂ€mta information om sidversion.
- search
- Utför en heltextsökning.
- templates
- Returnerar alla sidinkluderingar pÄ angivna sidor.
- trackingcategories
- Enumerate all existing tracking categories defined in Special:TrackingCategories. A tracking category exists if it contains pages or if its category page exists.
- transcludedin
- Hitta alla sidor som inkluderar angivna sidor.
- watchlist
- HÀmta de senaste Àndringarna pÄ sidor i den nuvarande anvÀndarens bevakningslista.
- watchlistraw
- HÀmta alla sidor pÄ den aktuella anvÀndarens bevakningslista.
- Ett av följande vÀrden: 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, trackingcategories, transcludedin, watchlist, watchlistraw
- redirects
Automatically resolve redirects in titles, pageids, and revids, and in pages returned by generator.
- Type: boolean (details)
- converttitles
Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion. Languages that support variant conversion include ban, crh, en, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh och zh.
- Type: boolean (details)
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Rotera File:Example.png med 90 grader
- api.php?action=imagerotate&titles=File:Example.jpg&rotation=90&token=123ABC [open in sandbox]
- Rotera alla bilder i Category:Flip med 180 grader.
- api.php?action=imagerotate&generator=categorymembers&gcmtitle=Category:Flip&gcmtype=file&rotation=180&token=123ABC [open in sandbox]
action=import
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Importer en sida frÄn en annan wiki eller frÄn en XML-fil.
Notera att HTTP POST mÄste bli gjord som en fil uppladdning (d.v.s med multipart/form-data) nÀr man skickar en fil för xml parametern.
- summary
Sammanfattning för importering av loggpost.
- xml
Uppladdad XML-fil.
- MÄste lÀggas upp som filuppladdning med hjÀlp av multipart/form-data.
- interwikiprefix
For uploaded imports: interwiki prefix to apply to unknown usernames (and known users if assignknownusers is set).
- interwikisource
För interwiki-importer: wiki som du vill importera frÄn.
- Ett av följande vÀrden:
- interwikipage
För interwiki-importer: sidan som du vill importera.
- fullhistory
För interwiki-importer: importera hela historiken, inte bara den aktuella versionen.
- Type: boolean (details)
- templates
För interwiki-importer: importera Àven alla mallar som ingÄr.
- Type: boolean (details)
- namespace
Importera till denna namnrymd. Kan inte anvÀndas tillsammans med rootpage.
- Ett av följande vÀrden: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- assignknownusers
Assign edits to local users where the named user exists locally.
- Type: boolean (details)
- rootpage
Importera som undersida till denna sida. Kan inte anvÀndas tillsammans med namespace.
ĂndringsmĂ€rken att tillĂ€mpa i importeringsloggens post och i nullsidversionen pĂ„ de importerade sidorna.
- VĂ€rden (separerade med | eller alternativ):
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Importera meta:Help:ParserFunctions till namnrymd 100 med full historik.
- api.php?action=import&interwikisource=meta&interwikipage=Help:ParserFunctions&namespace=100&fullhistory=&token=123ABC [open in sandbox]
action=languagesearch
- Denna modul krÀver lÀsrÀttigheter.
- Source: UniversalÂLanguageÂSelector
- License: GPL-2.0-or-later OR MIT
Sök efter sprÄknamn i valfritt skriftsystem.
- search
SökstrÀng.
- Den hÀr parametern Àr obligatorisk.
- typos
Antalet felstavningar som tillÄts i sökstrÀngen.
- Typ: heltal
- Standard: 1
- Sök efter "Te"
- api.php?action=languagesearch&search=Te [open in sandbox]
- Sök efter "àŽ«àŽż"
- api.php?action=languagesearch&search=àŽ«àŽż [open in sandbox]
- Sök efter "àŽ«àŽż", tillĂ„ter ett stavfel
- api.php?action=languagesearch&search=àŽ«àŽż&typos=1 [open in sandbox]
action=linkaccount (link)
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
LÀnka ett konto frÄn en tredjepartsleverantör till nuvarande anvÀndare.
The general procedure to use this module is:
- Fetch the fields available from action=query&meta=authmanagerinfo with amirequestsfor=link, and a csrf token from action=query&meta=tokens.
- Present the fields to the user, and obtain their submission.
- Post to this module, supplying linkreturnurl and any relevant fields.
- 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.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- linkmessageformat
Format to use for returning messages.
- Ett av följande vÀrden: html, none, raw, wikitext
- Standard: wikitext
- linkmergerequestfields
Merge field information for all authentication requests into one array.
- Type: boolean (details)
- 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.
- Type: boolean (details)
- linktoken
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- *
- 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.
- Börja lÀnka till ett konto frÄn Example.
- api.php?action=linkaccount&provider=Example&linkreturnurl=http://example.org/&linktoken=123ABC [open in sandbox]
action=login (lg)
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Logga in och hÀmta autentiseringskakor.
Om inloggningen lyckas, finns de cookies som krÀvs med i HTTP-svarshuvuden. Om inloggningen misslyckas kan ytterligare försök per tidsenhet begrÀnsas, som ett sÀtt att försöka minska risken för automatiserade lösenordsgissningar.
- lgname
AnvÀndarnamn.
- lgpassword
Lösenord.
- lgdomain
DomÀn (valfritt).
- lgtoken
A "login" token retrieved from action=query&meta=tokens
action=logout
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Logga ut och rensa sessionsdata.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Logga ut den aktuella anvÀndaren
- api.php?action=logout&token=123ABC [open in sandbox]
action=managetags
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Utför hanterings uppgifter relaterade till förÀndrings taggar.
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.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: activate, create, deactivate, delete
Tagg för att skapa, radera, aktivera eller inaktivera. Vid skapande av tagg kan taggen inte existera. Vid raderande av tagg mÄste taggen existera. För aktiverande av tagg mÄste taggen existera och inte anvÀndas i ett tillÀgg. För inaktivering av tagg mÄste taggen anvÀndas just nu och vara manuellt definierad.
- Den hÀr parametern Àr obligatorisk.
En icke-obligatorisk orsak för att skapa, radera, aktivera, eller inaktivera taggen.
- Default: (empty)
Om du vill ignorera varningar som utfÀrdas under operationen.
- Type: boolean (details)
Change tags to apply to the entry in the tag management log.
- VĂ€rden (separerade med | eller alternativ):
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Skapa en tagg vid namn spam med anledningen: For use in edit patrolling
- api.php?action=managetags&operation=create&tag=spam&reason=For+use+in+edit+patrolling&token=123ABC [open in sandbox]
- Radera vandalims taggen med andledningen: Felstavat
- api.php?action=managetags&operation=delete&tag=vandlaism&reason=Misspelt&token=123ABC [open in sandbox]
- Aktivera en tagg med namn spam med anledningen: For use in edit patrolling
- api.php?action=managetags&operation=activate&tag=spam&reason=For+use+in+edit+patrolling&token=123ABC [open in sandbox]
- Inaktivera en tagg vid namn spam med anledningen: No longer required
- api.php?action=managetags&operation=deactivate&tag=spam&reason=No+longer+required&token=123ABC [open in sandbox]
action=mergehistory
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Sammanfoga sidhistoriker.
- 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.
- Typ: heltal
- 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.
- Typ: heltal
- 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. May specify "timestamp|revid" to split two revisions with the same timestamp.
- reason
Orsaken till sammanfogning av historik.
- Default: (empty)
- starttimestamp
Timestamp from which revisions will be moved from the source page's history to the destination page's history. If omitted, all revisions before the timestamp parameter (or the entire history if neither are specified) will be merged into the destination page. May specify "timestamp|revid" to split two revisions with the same timestamp.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Sammanfoga hela historiken för Oldpage i Newpage.
- api.php?action=mergehistory&from=Oldpage&to=Newpage&token=123ABC&reason=Reason [open in sandbox]
- Sammanfoga den sidversion av Oldpage daterad fram till 2015-12-31T04:37:41Z till Newpage.
- api.php?action=mergehistory&from=Oldpage&to=Newpage&token=123ABC&reason=Reason×tamp=2015-12-31T04%3A37%3A41Z [open in sandbox]
action=move
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Flytta en sida.
- from
Titeln pÄ sidan du vill flytta. Kan inte anvÀndas tillsammans med fromid.
- fromid
Sid-ID för sidan att byta namn. Kan inte anvÀndas tillsammans med from.
- Typ: heltal
- to
Titel att byta namn pÄ sidan till.
- Den hÀr parametern Àr obligatorisk.
- reason
Orsak till namnbytet.
- Default: (empty)
- movetalk
Byt namn pÄ diskussionssidan, om den finns.
- Type: boolean (details)
- movesubpages
Byt namn pÄ undersidor, om tillÀmpligt.
- Type: boolean (details)
- noredirect
Skapa inte en omdirigering.
- Type: boolean (details)
- watchlist
LÀgg till eller ta bort sidan ovillkorligen frÄn den aktuella anvÀndarens bevakningslista, anvÀnd instÀllningar eller Àndra inte bevakning.
- Ett av följande vÀrden: nochange, preferences, unwatch, watch
- Standard: preferences
- ignorewarnings
Ignorera alla varningar.
- Type: boolean (details)
Change tags to apply to the entry in the move log and to the null revision on the destination page.
- VĂ€rden (separerade med | eller alternativ):
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Flytta Badtitle till Goodtitle utan att lÀmna en omdirigering.
- api.php?action=move&from=Badtitle&to=Goodtitle&token=123ABC&reason=Misspelled%20title&movetalk=&noredirect= [open in sandbox]
action=opensearch
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Sök wikin med protokollet OpenSearch.
- search
SökstrÀng.
- Den hÀr parametern Àr obligatorisk.
- namespace
Namnrymder att genomsöka. Ignoreras om search börjar med ett giltigt namnrymdsprefix.
- VĂ€rden (separerade med | eller alternativ): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- Standard: 0
- limit
Maximalt antal resultat att returnera.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- suggest
- FörÄldrad.
AnvÀnd inte lÀngre.
- Type: boolean (details)
- redirects
How to handle redirects:
- return
- Return the redirect itself.
- resolve
- Return the target page. May return fewer than limit results.
For historical reasons, the default is "return" for format=json and "resolve" for other formats.
- Ett av följande vÀrden: resolve, return
- format
Formatet för utdata.
- Ett av följande vÀrden: json, jsonfm, xml, xmlfm
- Standard: json
- warningsaserror
If warnings are raised with format=json, return an API error instead of ignoring them.
- Type: boolean (details)
- Hitta sidor som börjar med Te.
- api.php?action=opensearch&search=Te [open in sandbox]
action=options
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Ăndra instĂ€llningar för nuvarande anvĂ€ndare.
Only options which are registered in core or in one of installed extensions, or options with keys prefixed with userjs- (intended to be used by user scripts), can be set.
- reset
à terstÀller instÀllningarna till sidans standardvÀrden.
- Type: boolean (details)
- resetkinds
List of types of options to reset when the reset option is set.
- VĂ€rden (separerade med | eller alternativ): all, registered, registered-checkmatrix, registered-multiselect, special, unused, userjs
- Standard: all
- change
List of changes, formatted name=value (e.g. skin=vector). If no value is given (not even an equals sign), e.g., optionname|otheroption|..., the option will be reset to its default value. If any value passed contains the pipe character (|), use the alternative multiple-value separator for correct operation.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- optionname
The name of the option that should be set to the value given by optionvalue.
- optionvalue
The value for the option specified by optionname. When optionname is set but optionvalue is omitted, the option will be reset to its default value.
- global
What to do if the option was set globally using the GlobalPreferences extension.
- ignore: Do nothing. The option remains with its previous value.
- override: Add a local override.
- update: Update the option globally.
- create: Set the option globally, overriding any local value.
- Ett av följande vÀrden: create, ignore, override, update
- Standard: ignore
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- à terstÀll alla instÀllningar
- api.php?action=options&reset=&token=123ABC [open in sandbox]
- Change skin and hideminor preferences.
- api.php?action=options&change=skin=vector|hideminor=1&token=123ABC [open in sandbox]
- à terstÀll alla instÀllningar, stÀll sedan in skin och 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
- Source: MediaWiki
- License: GPL-2.0-or-later
FĂ„ information om API moduler.
- modules
List of module names (values of the action and format parameters, or main). Can specify submodules with a +, or all submodules with +*, or all submodules recursively with +**.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- helpformat
Format för hjÀlpstrÀngar.
- Ett av följande vÀrden: html, none, raw, wikitext
- Standard: none
- querymodules
- FörÄldrad.
List of query module names (value of prop, meta or list parameter). Use modules=query+foo instead of querymodules=foo.
- VĂ€rden (separerade med | eller alternativ): allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allmessages, allpages, allredirects, allrevisions, alltransclusions, allusers, authmanagerinfo, automatictranslationdenselanguages, backlinks, betafeatures, blocks, categories, categoryinfo, categorymembers, codexicons, contenttranslation, contenttranslationcorpora, contenttranslationfavoritesuggestions, contributors, cxdeletedtranslations, cxpublishedtranslations, cxtranslatorstats, deletedrevisions, deletedrevs, duplicatefiles, embeddedin, extlinks, exturlusage, filearchive, filerepoinfo, fileusage, globalpreferences, imageinfo, images, imageusage, info, iwbacklinks, iwlinks, langbacklinks, langlinks, langlinkscount, languageinfo, links, linkshere, logevents, mystashedfiles, pageimages, pagepropnames, pageprops, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, siteinfo, stashimageinfo, tags, templates, tokens, trackingcategories, transcludedin, usercontribs, userinfo, users, watchlist, watchlistraw
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- mainmodule
- FörÄldrad.
FÄ information om huvud-modulen (top-level) ocksÄ. AnvÀnd modules=main istÀllet.
- pagesetmodule
- FörÄldrad.
Get information about the pageset module (providing titles= and friends) as well.
- formatmodules
- FörÄldrad.
List of format module names (value of format parameter). Use modules instead.
- VĂ€rden (separerade med | eller alternativ): json, jsonfm, none, php, phpfm, rawfm, xml, xmlfm
- Show info for action=parse, format=jsonfm, action=query&list=allpages, and action=query&meta=siteinfo.
- api.php?action=paraminfo&modules=parse|phpfm|query%2Ballpages|query%2Bsiteinfo [open in sandbox]
- Show info for all submodules of action=query.
- api.php?action=paraminfo&modules=query%2B* [open in sandbox]
action=parse
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
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:
- Specify a page or revision, using page, pageid, or oldid.
- Specify content explicitly, using text, title, revid, and contentmodel.
- 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.- Typ: heltal
- summary
Sammanfattning att tolka.
- page
Tolka innehÄllet av denna sida. Kan inte anvÀndas tillsammans med text och title.
- pageid
Tolka innehÄllet pÄ denna sida. à sidosÀtter sidan.
- Typ: heltal
- redirects
If page or pageid is set to a redirect, resolve it.
- Type: boolean (details)
- oldid
Parse the content of this revision. Overrides page and pageid.
- Typ: heltal
- prop
Vilka bitar av information att fÄ:
- 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
- Ger HTML-version av kategorierna.
- 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.
- tocdata
- Gives the table of contents information in the parsed wikitext.
- revid
- Adds the revision ID of the parsed page.
- displaytitle
- Adds the title of the parsed wikitext.
- subtitle
- Adds the page subtitle for the parsed page.
- headhtml
- Gives parsed doctype, opening
<html>,<head>element and opening<body>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 (as wikitext).
- parsewarningshtml
- Gives the warnings that occurred while parsing content (as HTML).
- headitems
- FörÄldrad. Gives items to put in the
<head>of the page.
- VĂ€rden (separerade med | eller alternativ): categories, categorieshtml, displaytitle, encodedjsconfigvars, externallinks, headhtml, images, indicators, iwlinks, jsconfigvars, langlinks, limitreportdata, limitreporthtml, links, modules, parsetree, parsewarnings, parsewarningshtml, properties, revid, sections, subtitle, templates, text, tocdata, wikitext, headitems
- Standard: text|langlinks|categories|links|templates|images|externallinks|sections|tocdata|revid|displaytitle|iwlinks|properties|parsewarnings
- wrapoutputclass
CSS class to use to wrap the parser output.
- Standard: mw-parser-output
- usearticle
Use the ArticleParserOptions hook to ensure the options used match those used for article page views
- Type: boolean (details)
- parsoid
- FörÄldrad.
Generate HTML conforming to the MediaWiki DOM spec using Parsoid. Replaced by parser=parsoid.
- Type: boolean (details)
- parser
Which wikitext parser to use:
- parsoid
- Generate HTML conforming to the MediaWiki DOM spec using Parsoid.
- default
- Generate HTML using this wiki's default parser.
- legacy
- Generate HTML using the legacy parser.
- Ett av följande vÀrden: default, legacy, parsoid
- Standard: default
- pst
Do a pre-save transform on the input before parsing it. Only valid when used with text.
- Type: boolean (details)
- 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.
- Type: boolean (details)
- effectivelanglinks
- FörÄldrad.
Includes language links supplied by extensions (for use with prop=langlinks).
- Type: boolean (details)
- section
Only parse the content of the section with this identifier.
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
- FörÄldrad.
AnvÀnd disablelimitreport istÀllet.
- Type: boolean (details)
- disablelimitreport
Omit the limit report ("NewPP limit report") from the parser output.
- Type: boolean (details)
- disableeditsection
Omit edit section links from the parser output.
- Type: boolean (details)
- disablestylededuplication
Do not deduplicate inline stylesheets in the parser output.
- Type: boolean (details)
- showstrategykeys
Whether to include internal merge strategy information in jsconfigvars.
- Type: boolean (details)
- generatexml
- FörÄldrad.
Generate XML parse tree (requires content model
wikitext; replaced by prop=parsetree).- Type: boolean (details)
- preview
Tolka i preview-lÀget.
- Type: boolean (details)
- sectionpreview
Parse in section preview mode (enables preview mode too).
- Type: boolean (details)
- disabletoc
Omit table of contents in output.
- Type: boolean (details)
- useskin
Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.
- Ett av följande vÀrden: apioutput, authentication-popup, contenttranslation, fallback, json, minerva, monobook, timeless, vector, vector-2022
- contentformat
Content serialization format used for the input text. Only valid when used with text.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- 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.
- Ett av följande vÀrden: css, javascript, json, text, unknown, vue, wikitext
- mobileformat
Returnera tolk-utdata i ett format som passar mobila enheter.
- Type: boolean (details)
- Tolka en sida.
- api.php?action=parse&page=Project:Sandbox [open in sandbox]
- Tolka wikitext.
- api.php?action=parse&text={{Project:Sandbox}}&contentmodel=wikitext [open in sandbox]
- Tolka wikitext, specificera sid-titeln.
- api.php?action=parse&text={{PAGENAME}}&title=Test [open in sandbox]
- Tolka en sammanfattning.
- api.php?action=parse&summary=Some+[[link]]&prop= [open in sandbox]
action=patrol
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Patrullera en sida eller en version.
- rcid
Recentchanges ID to patrol.
- Typ: heltal
- revid
Versions ID att patrullera.
- Typ: heltal
Change tags to apply to the entry in the patrol log.
- VĂ€rden (separerade med | eller alternativ):
- token
A "patrol" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Patrullera en nykommen Àndring.
- api.php?action=patrol&token=123ABC&rcid=230672766 [open in sandbox]
- Patrullera en sidversion
- api.php?action=patrol&token=123ABC&revid=230672766 [open in sandbox]
action=protect
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Ăndra skyddsnivĂ„n för en sida.
- title
Title of the page to (un)protect. Cannot be used together with pageid.
- pageid
ID of the page to (un)protect. Cannot be used together with title.
- Typ: heltal
- 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.
- Den hÀr parametern Àr obligatorisk.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- 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.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- Standard: infinite
- reason
Reason for (un)protecting.
- Default: (empty)
Change tags to apply to the entry in the protection log.
- VĂ€rden (separerade med | eller alternativ):
- 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.
- Type: boolean (details)
- watch
- FörÄldrad.
If set, add the page being (un)protected to the current user's watchlist.
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- Ett av följande vÀrden: nochange, preferences, unwatch, watch
- Standard: preferences
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Skydda en sida
- api.php?action=protect&title=V%C3%A4lkommen%21&token=123ABC&protections=edit=sysop|move=sysop&cascade=&expiry=20070901163000|never [open in sandbox]
- Unprotect a page by setting restrictions to all (i.e. everyone is allowed to take the action).
- api.php?action=protect&title=V%C3%A4lkommen%21&token=123ABC&protections=edit=all|move=all&reason=Lifting%20restrictions [open in sandbox]
- Unprotect a page by setting no restrictions.
- api.php?action=protect&title=V%C3%A4lkommen%21&token=123ABC&protections=&reason=Lifting%20restrictions [open in sandbox]
action=purge
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Rensa cachen för angivna titlar.
- forcelinkupdate
Uppdatera lÀnktabellerna.
- Type: boolean (details)
- forcerecursivelinkupdate
Same as forcelinkupdate, and update the links tables for any page that uses this page as a template.
- Type: boolean (details)
- continue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- titles
A list of titles to work on.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- pageids
A list of page IDs to work on.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- revids
A list of revision IDs to work on. Note that almost all query modules will convert revision IDs to the corresponding page ID and work on the latest revision instead. Only prop=revisions uses exact revisions for its response.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- generator
Get the list of pages to work on by executing the specified query module.
Note: Generator parameter names must be prefixed with a "g", see examples.
- allcategories
- Enumerate all categories.
- alldeletedrevisions
- Lista alla raderade revisioner av en anvÀndare or inom en namnrymd.
- allfileusages
- Lista all fil anvÀndningsomrÄden, inklusive icke-existerande.
- allimages
- Enumerate all images sequentially.
- alllinks
- Enumerate all links that point to a given namespace.
- allpages
- Enumerate all pages sequentially in a given namespace.
- allredirects
- Lista alla omdirigeringar till en namnrymd.
- allrevisions
- Lista alla sidversioner.
- alltransclusions
- Lista alla mallinkluderingar (sidor inbÀddade med {{x}}), inklusive icke-befintliga.
- backlinks
- Hitta alla sidor som lÀnkar till den givna sidan.
- categories
- Lista alla kategorier sidorna tillhör.
- categorymembers
- Lista alla sidor i en angiven kategori.
- deletedrevisions
- HĂ€mta information om raderad sidversion.
- duplicatefiles
- Lista alla filer som Àr dubbletter av angivna filer baserat pÄ hashvÀrden.
- embeddedin
- Hitta alla sidor som bÀddar in (inkluderar) angiven titel.
- exturlusage
- Enumerate pages that contain a given URL.
- fileusage
- Hitta alla sidor som anvÀnder angivna filer.
- images
- Returns all files contained on the given pages.
- imageusage
- Hitta alla sidor som anvÀnder angiven bildtitel.
- iwbacklinks
- Find all pages that link to the given interwiki link.
- langbacklinks
- Find all pages that link to the given language link.
- links
- Returnerar alla lÀnkar frÄn angivna sidor.
- linkshere
- Hitta alla sidor som lÀnkar till angivna sidor.
- pageswithprop
- Lista alla sidor som anvÀnder en angiven sidegenskap.
- 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
- HÀmta en uppsÀttning slumpsidor.
- recentchanges
- Enumerate recent changes.
- redirects
- Returnerar alla omdirigeringar till angivna sidor.
- revisions
- HĂ€mta information om sidversion.
- search
- Utför en heltextsökning.
- templates
- Returnerar alla sidinkluderingar pÄ angivna sidor.
- trackingcategories
- Enumerate all existing tracking categories defined in Special:TrackingCategories. A tracking category exists if it contains pages or if its category page exists.
- transcludedin
- Hitta alla sidor som inkluderar angivna sidor.
- watchlist
- HÀmta de senaste Àndringarna pÄ sidor i den nuvarande anvÀndarens bevakningslista.
- watchlistraw
- HÀmta alla sidor pÄ den aktuella anvÀndarens bevakningslista.
- Ett av följande vÀrden: 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, trackingcategories, transcludedin, watchlist, watchlistraw
- redirects
Automatically resolve redirects in titles, pageids, and revids, and in pages returned by generator.
- Type: boolean (details)
- converttitles
Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion. Languages that support variant conversion include ban, crh, en, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh och zh.
- Type: boolean (details)
- Purge VĂ€lkommen! and the API page.
- api.php?action=purge&titles=V%C3%A4lkommen%21|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
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
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
- Lista alla kategorier sidorna tillhör.
- categoryinfo
- Returnerar information om angivna kategorier.
- contributors
- HÀmta listan över inloggade bidragsgivare och antalet anonyma bidragsgivare för en sida.
- deletedrevisions
- HĂ€mta information om raderad sidversion.
- duplicatefiles
- Lista alla filer som Àr dubbletter av angivna filer baserat pÄ hashvÀrden.
- extlinks
- Returns all external URLs (not interwikis) from the given pages.
- fileusage
- Hitta alla sidor som anvÀnder angivna filer.
- imageinfo
- Returnerar filinformation och uppladdningshistorik.
- images
- Returns all files contained on the given pages.
- info
- FÄ grundlÀggande sidinformation.
- iwlinks
- Returns all interwiki links from the given pages.
- langlinks
- Returns all interlanguage links from the given pages.
- langlinkscount
- HÀmta antalet andra sprÄkversioner.
- links
- Returnerar alla lÀnkar frÄn angivna sidor.
- linkshere
- Hitta alla sidor som lÀnkar till angivna sidor.
- pageimages
- Returnera information om bilderna pÄ sedan bilder som miniatyrbilder och förekomest av bilder.
- pageprops
- Get various page properties defined in the page content.
- redirects
- Returnerar alla omdirigeringar till angivna sidor.
- revisions
- HĂ€mta information om sidversion.
- stashimageinfo
- Returnerar filinformation för temporÀra filer.
- templates
- Returnerar alla sidinkluderingar pÄ angivna sidor.
- transcludedin
- Hitta alla sidor som inkluderar angivna sidor.
- VĂ€rden (separerade med | eller alternativ): categories, categoryinfo, contributors, deletedrevisions, duplicatefiles, extlinks, fileusage, imageinfo, images, info, iwlinks, langlinks, langlinkscount, links, linkshere, pageimages, pageprops, redirects, revisions, stashimageinfo, templates, transcludedin
- list
Vilka listor att hÀmta.
- allcategories
- Enumerate all categories.
- alldeletedrevisions
- Lista alla raderade revisioner av en anvÀndare or inom en namnrymd.
- allfileusages
- Lista all fil anvÀndningsomrÄden, inklusive icke-existerande.
- allimages
- Enumerate all images sequentially.
- alllinks
- Enumerate all links that point to a given namespace.
- allpages
- Enumerate all pages sequentially in a given namespace.
- allredirects
- Lista alla omdirigeringar till en namnrymd.
- allrevisions
- Lista alla sidversioner.
- alltransclusions
- Lista alla mallinkluderingar (sidor inbÀddade med {{x}}), inklusive icke-befintliga.
- allusers
- Enumerate all registered users.
- automatictranslationdenselanguages
- HÀmta listan med webbplatslÀnkar för artikeln som motsvarar ett angivet Wikidata-ID, sorterad efter artikelstorlek.
- backlinks
- Hitta alla sidor som lÀnkar till den givna sidan.
- betafeatures
- Lista alla Betafunktioner
- blocks
- Lista alla blockerade anvÀndare och IP-adresser.
- categorymembers
- Lista alla sidor i en angiven kategori.
- codexicons
- Get Codex icons
- contenttranslation
- FrÄga databasen för innehÄllsöversÀttningar om översÀttningar.
- contenttranslationcorpora
- HÀmta den avsnittsjusterade parallella texten för en vald översÀttning. Se Àven
list=cxpublishedtranslations. Dumpar finns tillgÀngliga i olika format för Ätkomst med hög volym. - contenttranslationfavoritesuggestions
- FÄ anvÀndarnas favoritförslag för innehÄllsöversÀttning.
- cxpublishedtranslations
- HÀmta information om alla publicerade översÀttningar
- cxtranslatorstats
- HÀmta översÀttningsstatistik för angiven anvÀndare.
- embeddedin
- Hitta alla sidor som bÀddar in (inkluderar) angiven titel.
- exturlusage
- Enumerate pages that contain a given URL.
- filearchive
- Enumerate all deleted files sequentially.
- imageusage
- Hitta alla sidor som anvÀnder angiven bildtitel.
- iwbacklinks
- Find all pages that link to the given interwiki link.
- langbacklinks
- Find all pages that link to the given language link.
- logevents
- HÀmta hÀndelser frÄn loggar.
- 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
- Lista alla sidor som anvÀnder en angiven sidegenskap.
- 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
- HÀmta en uppsÀttning slumpsidor.
- recentchanges
- Enumerate recent changes.
- search
- Utför en heltextsökning.
- tags
- Lista ÀndringsmÀrken.
- trackingcategories
- Enumerate all existing tracking categories defined in Special:TrackingCategories. A tracking category exists if it contains pages or if its category page exists.
- usercontribs
- HÀmta alla redigeringar av en anvÀndare.
- users
- HÀmta information om en lista över anvÀndare.
- watchlist
- HÀmta de senaste Àndringarna pÄ sidor i den nuvarande anvÀndarens bevakningslista.
- watchlistraw
- HÀmta alla sidor pÄ den aktuella anvÀndarens bevakningslista.
- deletedrevs
- FörÄldrad. Lista raderade sidversioner.
- VĂ€rden (separerade med | eller alternativ): allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, allusers, automatictranslationdenselanguages, backlinks, betafeatures, blocks, categorymembers, codexicons, contenttranslation, contenttranslationcorpora, contenttranslationfavoritesuggestions, cxpublishedtranslations, cxtranslatorstats, embeddedin, exturlusage, filearchive, imageusage, iwbacklinks, langbacklinks, logevents, mystashedfiles, pagepropnames, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, search, tags, trackingcategories, usercontribs, users, watchlist, watchlistraw, deletedrevs
- meta
Vilka metadata att hÀmta.
- allmessages
- Returnera meddelande frÄn denna sida.
- authmanagerinfo
- HĂ€mta information om aktuell autentiseringsstatus.
- filerepoinfo
- Returnera metainformation om bildegenskaper som konfigureras pÄ wikin.
- globalpreferences
- HÀmta globala instÀllningar för nuvarande anvÀndare.
- languageinfo
- Return information about available languages.
- siteinfo
- Returnera allmÀn information om webbplatsen.
- tokens
- Gets tokens for data-modifying actions.
- userinfo
- FÄ information om den aktuella anvÀndaren.
- cxdeletedtranslations
- Intern. HÀmta antalet av dina publicerade översÀttningar som raderades.
- VĂ€rden (separerade med | eller alternativ): allmessages, authmanagerinfo, filerepoinfo, globalpreferences, languageinfo, siteinfo, tokens, userinfo, cxdeletedtranslations
- indexpageids
Include an additional pageids section listing all returned page IDs.
- Type: boolean (details)
- export
Export the current revisions of all given or generated pages.
- Type: boolean (details)
- exportnowrap
Return the export XML without wrapping it in an XML result (same format as Special:Export). Can only be used with query+export.
- Type: boolean (details)
- exportschema
Target the given version of the XML dump format when exporting. Can only be used with query+export.
- Ett av följande vÀrden: 0.10, 0.11
- Standard: 0.11
- iwurl
Whether to get the full URL if the title is an interwiki link.
- Type: boolean (details)
- continue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- rawcontinue
Return raw query-continue data for continuation.
- Type: boolean (details)
- titles
A list of titles to work on.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- pageids
A list of page IDs to work on.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- revids
A list of revision IDs to work on. Note that almost all query modules will convert revision IDs to the corresponding page ID and work on the latest revision instead. Only prop=revisions uses exact revisions for its response.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- generator
Get the list of pages to work on by executing the specified query module.
Note: Generator parameter names must be prefixed with a "g", see examples.
- allcategories
- Enumerate all categories.
- alldeletedrevisions
- Lista alla raderade revisioner av en anvÀndare or inom en namnrymd.
- allfileusages
- Lista all fil anvÀndningsomrÄden, inklusive icke-existerande.
- allimages
- Enumerate all images sequentially.
- alllinks
- Enumerate all links that point to a given namespace.
- allpages
- Enumerate all pages sequentially in a given namespace.
- allredirects
- Lista alla omdirigeringar till en namnrymd.
- allrevisions
- Lista alla sidversioner.
- alltransclusions
- Lista alla mallinkluderingar (sidor inbÀddade med {{x}}), inklusive icke-befintliga.
- backlinks
- Hitta alla sidor som lÀnkar till den givna sidan.
- categories
- Lista alla kategorier sidorna tillhör.
- categorymembers
- Lista alla sidor i en angiven kategori.
- deletedrevisions
- HĂ€mta information om raderad sidversion.
- duplicatefiles
- Lista alla filer som Àr dubbletter av angivna filer baserat pÄ hashvÀrden.
- embeddedin
- Hitta alla sidor som bÀddar in (inkluderar) angiven titel.
- exturlusage
- Enumerate pages that contain a given URL.
- fileusage
- Hitta alla sidor som anvÀnder angivna filer.
- images
- Returns all files contained on the given pages.
- imageusage
- Hitta alla sidor som anvÀnder angiven bildtitel.
- iwbacklinks
- Find all pages that link to the given interwiki link.
- langbacklinks
- Find all pages that link to the given language link.
- links
- Returnerar alla lÀnkar frÄn angivna sidor.
- linkshere
- Hitta alla sidor som lÀnkar till angivna sidor.
- pageswithprop
- Lista alla sidor som anvÀnder en angiven sidegenskap.
- 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
- HÀmta en uppsÀttning slumpsidor.
- recentchanges
- Enumerate recent changes.
- redirects
- Returnerar alla omdirigeringar till angivna sidor.
- revisions
- HĂ€mta information om sidversion.
- search
- Utför en heltextsökning.
- templates
- Returnerar alla sidinkluderingar pÄ angivna sidor.
- trackingcategories
- Enumerate all existing tracking categories defined in Special:TrackingCategories. A tracking category exists if it contains pages or if its category page exists.
- transcludedin
- Hitta alla sidor som inkluderar angivna sidor.
- watchlist
- HÀmta de senaste Àndringarna pÄ sidor i den nuvarande anvÀndarens bevakningslista.
- watchlistraw
- HÀmta alla sidor pÄ den aktuella anvÀndarens bevakningslista.
- Ett av följande vÀrden: 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, trackingcategories, transcludedin, watchlist, watchlistraw
- redirects
Automatically resolve redirects in query+titles, query+pageids, and query+revids, and in pages returned by query+generator.
- Type: boolean (details)
- converttitles
Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion. Languages that support variant conversion include ban, crh, en, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh och zh.
- Type: boolean (details)
- Fetch site info and revisions of VĂ€lkommen!.
- api.php?action=query&prop=revisions&meta=siteinfo&titles=V%C3%A4lkommen%21&rvprop=user|comment&continue= [open in sandbox]
- HÀmta sidversioner av sidor som börjar med API/.
- api.php?action=query&generator=allpages&gapprefix=API/&prop=revisions&continue= [open in sandbox]
prop=categories (cl)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista alla kategorier sidorna tillhör.
- 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__.
- VĂ€rden (separerade med | eller alternativ): hidden, sortkey, timestamp
- clshow
Vilka sorters kategorier att visa.
- VĂ€rden (separerade med | eller alternativ): !hidden, hidden
- cllimit
Hur mÄnga kategorier att returnera.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- clcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- clcategories
Only list these categories. Useful for checking whether a certain page is in a certain category.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- cldir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- HÀmta en lista över kategorier som sidan Albert Einstein tillhör.
- api.php?action=query&prop=categories&titles=Albert%20Einstein [open in sandbox]
- HÀmta information om alla kategorier som anvÀnds pÄ sidan Albert Einstein.
- api.php?action=query&generator=categories&titles=Albert%20Einstein&prop=info [open in sandbox]
prop=categoryinfo (ci)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnerar information om angivna kategorier.
- cicontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- HĂ€mta information om Category:Foo och Category:Bar.
- api.php?action=query&prop=categoryinfo&titles=Category:Foo|Category:Bar [open in sandbox]
prop=contributors (pc)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
HÀmta listan över inloggade bidragsgivare och antalet anonyma bidragsgivare för en sida.
- pcgroup
Only include users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.
- VĂ€rden (separerade med | eller alternativ): administrators, bot, bureaucrat, interface-admin, suppress, sysop, temp
- pcexcludegroup
Exclude users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.
- VĂ€rden (separerade med | eller alternativ): administrators, bot, bureaucrat, interface-admin, suppress, sysop, temp
- pcrights
Only include users having the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
- VĂ€rden (separerade med | eller alternativ): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, hideuser, import, importupload, interwiki, ipblock-exempt, islamdfarm-admin, managechangetags, markbotedits, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, nominornewtalk, noratelimit, override-export-depth, pagelang, patrol, patrolmarks, protect, read, renameuser, renameuser-global, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- pcexcluderights
Exclude users having the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
- VĂ€rden (separerade med | eller alternativ): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, hideuser, import, importupload, interwiki, ipblock-exempt, islamdfarm-admin, managechangetags, markbotedits, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, nominornewtalk, noratelimit, override-export-depth, pagelang, patrol, patrolmarks, protect, read, renameuser, renameuser-global, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- pclimit
Hur mÄnga bidragsgivare att returnera.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- pccontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Show contributors to the page VĂ€lkommen!.
- api.php?action=query&prop=contributors&titles=V%C3%A4lkommen%21 [open in sandbox]
prop=deletedrevisions (drv)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
HĂ€mta information om raderad sidversion.
May be used in several ways:
- Get deleted revisions for a set of pages, by setting titles or pageids. Ordered by title and timestamp.
- 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. If the user has been revision deleted, a userhidden property will be returned.
- userid
- User ID of the revision creator. If the user has been revision deleted, a userhidden property will be returned.
- size
- Length (bytes) of the revision.
- slotsize
- Length (bytes) of each revision slot.
- sha1
- SHA-1 (base 16) of the revision. If the content has been revision deleted, a sha1hidden property will be returned.
- slotsha1
- SHA-1 (base 16) of each revision slot. If the content has been revision deleted, a sha1hidden property will be returned.
- contentmodel
- Content model ID of each revision slot.
- comment
- Comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Parsed comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
- content
- Content of each revision slot. If the content has been revision deleted, a texthidden property will be returned. For performance reasons, if this option is used, drvlimit is enforced to 50.
- tags
- Tags for the revision.
- roles
- List content slot roles that exist in the revision.
- parsetree
- FörÄldrad. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model
wikitext). For performance reasons, if this option is used, drvlimit is enforced to 50.
- VĂ€rden (separerade med | eller alternativ): comment, content, contentmodel, flags, ids, parsedcomment, roles, sha1, size, slotsha1, slotsize, tags, timestamp, user, userid, parsetree
- Standard: ids|timestamp|flags|comment|user
- drvslots
Which revision slots to return data for, when slot-related properties are included in drvprops. If omitted, data from the main slot will be returned in a backwards-compatible format.
- VĂ€rden (separerade med | eller alternativ): main
- To specify all values, use *.
- drvcontentformat-{slot}
Content serialization format used for output of content.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of drvslots.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- drvlimit
Limit how many revisions will be returned. If drvprop=content, drvprop=parsetree, drvdiffto or drvdifftotext is used, the limit is 50. If drvparse is used, the limit is 1.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- drvexpandtemplates
- FörÄldrad.
Use action=expandtemplates instead. Expand templates in revision content (requires drvprop=content).
- Type: boolean (details)
- drvgeneratexml
- FörÄldrad.
Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires drvprop=content).
- Type: boolean (details)
- drvparse
- FörÄldrad.
Use action=parse instead. Parse revision content (requires drvprop=content). For performance reasons, if this option is used, drvlimit is enforced to 1.
- Type: boolean (details)
- drvsection
Only retrieve the content of the section with this identifier.
- drvdiffto
- FörÄldrad.
Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively. For performance reasons, if this option is used, drvlimit is enforced to 50.
- drvdifftotext
- FörÄldrad.
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. For performance reasons, if this option is used, drvlimit is enforced to 50.
- drvdifftotextpst
- FörÄldrad.
Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with drvdifftotext.
- Type: boolean (details)
- drvcontentformat
- FörÄldrad.
Serialization format used for drvdifftotext and expected for output of content.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- drvstart
The timestamp to start enumerating from. Ignored when processing a list of revision IDs.
- Type: timestamp (allowed formats)
- drvend
The timestamp to stop enumerating at. Ignored when processing a list of revision IDs.
- Type: timestamp (allowed formats)
- drvdir
In which direction to enumerate:
- newer
- List oldest first. Note: drvstart has to be before drvend.
- older
- List newest first (default). Note: drvstart has to be later than drvend.
- Ett av följande vÀrden: newer, older
- Standard: older
- drvtag
Only list revisions tagged with this tag.
- drvuser
Lista endast sidversioner av denna anvÀndare.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- drvexcludeuser
Lista inte sidversioner av denna anvÀndare.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- drvcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- List the information for deleted revision 123456.
- api.php?action=query&prop=deletedrevisions&revids=123456 [open in sandbox]
- List the deleted revisions of the pages VĂ€lkommen! and its talk page with content.
- api.php?action=query&prop=deletedrevisions&titles=V%C3%A4lkommen%21|Diskussion%3AV%C3%A4lkommen%21&drvslots=*&drvprop=user|comment|content [open in sandbox]
prop=duplicatefiles (df)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista alla filer som Àr dubbletter av angivna filer baserat pÄ hashvÀrden.
- dflimit
How many duplicate files to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- dfcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- dfdir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- dflocalonly
Look only for files in the local repository.
- Type: boolean (details)
- Look for duplicates of File:Albert Einstein Head.jpg.
- api.php?action=query&titles=File:Albert_Einstein_Head.jpg&prop=duplicatefiles [open in sandbox]
- Leta efter kopior av alla filer.
- api.php?action=query&generator=allimages&prop=duplicatefiles [open in sandbox]
prop=extlinks (el)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returns all external URLs (not interwikis) from the given pages.
- ellimit
Hur mÄnga lÀnkar som ska returneras.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- elcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- elprotocol
Protocol of the URL. If empty and elquery is set, the protocol is http and https. Leave both this and elquery empty to list all external links.
- Ett av följande vÀrden: Kan vara tom, eller bitcoin, ftp, ftps, geo, git, gopher, http, https, irc, ircs, magnet, mailto, matrix, mms, news, nntp, redis, sftp, sip, sips, sms, ssh, svn, tel, telnet, urn, wikipedia, worldwind, xmpp
- Default: (empty)
- elquery
Search string without protocol. Useful for checking whether a certain page contains a certain external url.
- elexpandurl
- FörÄldrad.
Expand protocol-relative URLs with the canonical protocol.
- Type: boolean (details)
- HÀmta en lista över externa lÀnkar pÄ Main Page.
- api.php?action=query&prop=extlinks&titles=V%C3%A4lkommen%21 [open in sandbox]
prop=fileusage (fu)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Hitta alla sidor som anvÀnder angivna filer.
- fuprop
Vilka egenskaper att hÀmta:
- pageid
- Page ID of each page.
- title
- Titel för varje sida.
- redirect
- Flagga om sidan Àr en omdirigering.
- VĂ€rden (separerade med | eller alternativ): pageid, redirect, title
- Standard: pageid|title|redirect
- funamespace
Only include pages in these namespaces.
- VĂ€rden (separerade med | eller alternativ): 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.
- VĂ€rden (separerade med | eller alternativ): !redirect, redirect
- fulimit
How many to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- fucontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Get a list of pages using File:Example.jpg.
- api.php?action=query&prop=fileusage&titles=File%3AExample.jpg [open in sandbox]
- Get information about pages using File:Example.jpg.
- api.php?action=query&generator=fileusage&titles=File%3AExample.jpg&prop=info [open in sandbox]
prop=imageinfo (ii)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnerar filinformation och uppladdningshistorik.
- iiprop
Vilka filinformation att hÀmta:
- timestamp
- LÀgger till tidsstÀmpel för den uppladdade versionen.
- user
- Adds the user who uploaded each file version. If the user has been revision deleted, a userhidden property will be returned.
- userid
- LÀgg till det anvÀndar-ID som laddade upp varje filversion.
- comment
- Comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Parse the comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
- canonicaltitle
- Adds the canonical title of the file. If the file has been revision deleted, a filehidden property will be returned.
- url
- Gives URL to the file and the description page. If the file has been revision deleted, a filehidden property will be returned.
- size
- Adds the size of the file in bytes and the height, width and page count (if applicable).
- dimensions
- Alias för storlek.
- sha1
- Adds SHA-1 hash for the file. If the file has been revision deleted, a filehidden property will be returned.
- mime
- Adds MIME type of the file. If the file has been revision deleted, a filehidden property will be returned.
- thumbmime
- Adds MIME type of the image thumbnail (requires url and param iiurlwidth). If the file has been revision deleted, a filehidden property will be returned.
- mediatype
- Adds the media type of the file. If the file has been revision deleted, a filehidden property will be returned.
- metadata
- Lists Exif metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
- commonmetadata
- Lists file format generic metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
- extmetadata
- Lists formatted metadata combined from multiple sources. Results are HTML formatted. If the file has been revision deleted, a filehidden property will be returned.
Note: This is an expensive property to request, and should be avoided unless you need it. When using it, you should request only a few results at a time to avoid too much load.
- archivename
- Adds the filename of the archive version for non-latest versions. If the file has been revision deleted, a filehidden property will be returned.
- bitdepth
- Adds the bit depth of the version. If the file has been revision deleted, a filehidden property will be returned.
- 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
- VĂ€rden (separerade med | eller alternativ): archivename, badfile, bitdepth, canonicaltitle, comment, commonmetadata, dimensions, extmetadata, mediatype, metadata, mime, parsedcomment, sha1, size, thumbmime, timestamp, uploadwarning, url, user, userid
- Standard: timestamp|user
- iilimit
How many file revisions to return per file.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 1
- iistart
Timestamp to start listing from.
- Type: timestamp (allowed formats)
- iiend
Timestamp to stop listing at.
- Type: timestamp (allowed formats)
- 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.
- Typ: heltal
- Standard: -1
- iiurlheight
Similar to iiurlwidth.
- Typ: heltal
- Standard: -1
- iimetadataversion
Version of metadata to use. If latest is specified, use latest version. Defaults to 1 for backwards compatibility.
- Standard: 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.
- Standard: sv
- iiextmetadatamultilang
If translations for extmetadata property are available, fetch all of them.
- Type: boolean (details)
- iiextmetadatafilter
If specified and non-empty, only these keys will be returned for iiprop=extmetadata.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- iiurlparam
A handler specific parameter string. For example, PDFs might use page15-100px. iiurlwidth must be used and be consistent with iiurlparam.
- Default: (empty)
- iibadfilecontexttitle
If badfilecontexttitleprop=badfile is set, this is the page title used when evaluating the MediaWiki:Bad image list
- iicontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- iilocalonly
Look only for files in the local repository.
- Type: boolean (details)
- Fetch information about the current version of File:Albert Einstein Head.jpg.
- api.php?action=query&titles=File:Albert%20Einstein%20Head.jpg&prop=imageinfo [open in sandbox]
- Fetch information about versions of File:Test.jpg from 2008 and later.
- api.php?action=query&titles=File:Test.jpg&prop=imageinfo&iilimit=50&iiend=2007-12-31T23:59:59Z&iiprop=timestamp|user|url [open in sandbox]
prop=images (im)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returns all files contained on the given pages.
- imlimit
Hur mÄnga filer att returnera.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- imcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- imimages
Only list these files. Useful for checking whether a certain page has a certain file.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- imdir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- HÀmta en lista över filer som anvÀnds pÄ Main Page.
- api.php?action=query&prop=images&titles=V%C3%A4lkommen%21 [open in sandbox]
- Get information about all files used on the page VĂ€lkommen!.
- api.php?action=query&generator=images&titles=V%C3%A4lkommen%21&prop=info [open in sandbox]
prop=info (in)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
FÄ grundlÀggande sidinformation.
- 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.
- associatedpage
- The prefixed title of the associated subject or talk page.
- url
- Gives a full URL, an edit URL, and the canonical URL for each page.
- readable
- FörÄldrad. Om anvÀndaren kan lÀsa denna sida. AnvÀnd intestactions=read istÀllet.
- preload
- FörÄldrad. Gives the text returned by EditFormPreloadText. Use preloadcontent instead, which supports other kinds of preloaded text too.
- preloadcontent
- Gives the content to be shown in the editor when the page does not exist or while adding a new section.
- editintro
- Gives the intro messages that should be shown to the user while editing this page or revision, as HTML.
- displaytitle
- Gives the manner in which the page title is actually displayed.
- varianttitles
- Ger visningstiteln i alla variationer pÄ webbplatsens innehÄllssprÄk.
- linkclasses
- Gives the additional CSS classes (e.g. link colors) used for links to this page if they were to appear on the page named by inlinkcontext.
- VĂ€rden (separerade med | eller alternativ): associatedpage, displaytitle, editintro, linkclasses, notificationtimestamp, preloadcontent, protection, subjectid, talkid, url, varianttitles, visitingwatchers, watched, watchers, preload, readable
- inlinkcontext
The context title to use when determining extra CSS classes (e.g. link colors) when inprop contains linkclasses.
- Typ: Sidans titel
- Accepterar sidor som inte finns.
- Standard: VĂ€lkommen!
- intestactions
Test whether the current user can perform certain actions on the page.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- intestactionsdetail
Detail level for intestactions. Use the main module's errorformat and errorlang parameters to control the format of the messages returned.
- boolean
- Returnera ett booleskt vÀrde för varje ÄtgÀrd.
- full
- Return messages describing why the action is disallowed, or an empty array if it is allowed.
- quick
- Like full but skipping expensive checks.
- Ett av följande vÀrden: boolean, full, quick
- Standard: boolean
- intestactionsautocreate
Test whether performing intestactions would automatically create a temporary account.
- Type: boolean (details)
- inpreloadcustom
Title of a custom page to use as preloaded content.
- Only used when inprop contains preloadcontent.
- inpreloadparams
Parameters for the custom page being used as preloaded content.
- Only used when inprop contains preloadcontent.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- inpreloadnewsection
Return preloaded content for a new section on the page, rather than a new page.
- Only used when inprop contains preloadcontent.
- Type: boolean (details)
- ineditintrostyle
Some intro messages come with optional wrapper frames. Use moreframes to include them or lessframes to omit them.
- Only used when inprop contains editintro.
- Ett av följande vÀrden: lessframes, moreframes
- Standard: moreframes
- ineditintroskip
List of intro messages to remove from the response. Use this if a specific message is not relevant to your tool, or if the information is conveyed in a different way.
- Only used when inprop contains editintro.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- ineditintrocustom
Title of a custom page to use as an additional intro message.
- Only used when inprop contains editintro.
- incontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Get information about the page VĂ€lkommen!.
- api.php?action=query&prop=info&titles=V%C3%A4lkommen%21 [open in sandbox]
- Get general and protection information about the page VĂ€lkommen!.
- api.php?action=query&prop=info&inprop=protection&titles=V%C3%A4lkommen%21 [open in sandbox]
prop=iwlinks (iw)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returns all interwiki links from the given pages.
- iwprop
Which additional properties to get for each interwiki link:
- url
- Adds the full URL.
- VĂ€rden (separerade med | eller alternativ): url
- iwprefix
Only return interwiki links with this prefix.
- iwtitle
Interwiki link to search for. Must be used with iwprefix.
- iwdir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- iwlimit
How many interwiki links to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- iwcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- iwurl
- FörÄldrad.
Whether to get the full URL (cannot be used with iwprop).
- Type: boolean (details)
- Get interwiki links from the page VĂ€lkommen!.
- api.php?action=query&prop=iwlinks&titles=V%C3%A4lkommen%21 [open in sandbox]
prop=langlinks (ll)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
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.
- VĂ€rden (separerade med | eller alternativ): autonym, langname, url
- lllang
Only return language links with this language code.
- lltitle
Link to search for. Must be used with lllang.
- lldir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- llinlanguagecode
Language code for localised language names.
- Standard: sv
- lllimit
How many langlinks to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- llcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- llurl
- FörÄldrad.
Whether to get the full URL (cannot be used with llprop).
- Type: boolean (details)
- Get interlanguage links from the page VĂ€lkommen!.
- api.php?action=query&prop=langlinks&titles=V%C3%A4lkommen%21&redirects= [open in sandbox]
prop=langlinkscount
- Denna modul krÀver lÀsrÀttigheter.
- Source: ContentTranslation
- License: GPL-2.0-or-later
HÀmta antalet andra sprÄkversioner.
- HÀmta antalet andra sprÄkversioner för sidan "Dog"
- api.php?action=query&prop=langlinkscount&titles=Dog&redirects=1 [open in sandbox]
prop=links (pl)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnerar alla lÀnkar frÄn angivna sidor.
- plnamespace
Show links in these namespaces only.
- VĂ€rden (separerade med | eller alternativ): -1, -2, 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.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- plcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- pltitles
Only list links to these titles. Useful for checking whether a certain page links to a certain title.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- pldir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- Get links from the page VĂ€lkommen!
- api.php?action=query&prop=links&titles=V%C3%A4lkommen%21 [open in sandbox]
- Get information about the link pages in the page VĂ€lkommen!.
- api.php?action=query&generator=links&titles=V%C3%A4lkommen%21&prop=info [open in sandbox]
- Get links from the page VÀlkommen! in the AnvÀndare and Mall namespaces.
- api.php?action=query&prop=links&titles=V%C3%A4lkommen%21&plnamespace=2|10 [open in sandbox]
prop=linkshere (lh)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Hitta alla sidor som lÀnkar till angivna sidor.
- lhprop
Which properties to get:
- pageid
- Page ID of each page.
- title
- Title of each page.
- redirect
- Flag if the page is a redirect.
- VĂ€rden (separerade med | eller alternativ): pageid, redirect, title
- Standard: pageid|title|redirect
- lhnamespace
Only include pages in these namespaces.
- VĂ€rden (separerade med | eller alternativ): 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.
- VĂ€rden (separerade med | eller alternativ): !redirect, redirect
- lhlimit
How many to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- lhcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Get a list of pages linking to the VĂ€lkommen!.
- api.php?action=query&prop=linkshere&titles=V%C3%A4lkommen%21 [open in sandbox]
- Get information about pages linking to the VĂ€lkommen!.
- api.php?action=query&generator=linkshere&titles=V%C3%A4lkommen%21&prop=info [open in sandbox]
prop=pageimages (pi)
- Denna modul krÀver lÀsrÀttigheter.
- Source: PageImages
- License: WTFPL
Returnera information om bilderna pÄ sedan bilder som miniatyrbilder och förekomest av bilder.
- piprop
Vilken information som ska returneras:
- thumbnail
- URL och dimensioner av bild associerad med sidan, om nÄgon.
- name
- Bildtitel
- thumbnail
- URL and dimensions of thumbnail image associated with page, if any.
- name
- Image title.
- original
- URL and original dimensions of image associated with page, if any.
- VĂ€rden (separerade med | eller alternativ): name, original, thumbnail
- Standard: thumbnail|name
- pithumbsize
Maximal bredd i pixlar pÄ miniatyrbilder.
- Typ: heltal
- Standard: 50
- pilimit
Egenskaper av hur mÄnga sidor som ska returneras.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 50.
- Standard: 50
- pilicense
BegrÀnsa sidbilder till en bestÀmd licenstyp
- free
- endast fria bilder
- any
- BÀsta bilden, oavsett om den Àr ledig eller inte.
- Ett av följande vÀrden: any, free
- Standard: free
- picontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Typ: heltal
- pilangcode
SprÄkkoden som bilden kommer renderas i om flera sprÄk stöds
- HÀmta namn och 100-pixel miniatyrbild av en bild pÄ Albert Einstein.
- api.php?action=query&prop=pageimages&titles=Albert%20Einstein&pithumbsize=100 [open in sandbox]
prop=pageprops (pp)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Get various page properties defined in the page content.
- ppcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- 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.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- Get properties for the pages VĂ€lkommen! and MediaWiki.
- api.php?action=query&prop=pageprops&titles=V%C3%A4lkommen%21|MediaWiki [open in sandbox]
prop=redirects (rd)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnerar alla omdirigeringar till angivna sidor.
- rdprop
Which properties to get:
- pageid
- Page ID of each redirect.
- title
- Title of each redirect.
- fragment
- Fragment of each redirect, if any.
- VĂ€rden (separerade med | eller alternativ): fragment, pageid, title
- Standard: pageid|title
- rdnamespace
Only include pages in these namespaces.
- VĂ€rden (separerade med | eller alternativ): 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.
- VĂ€rden (separerade med | eller alternativ): !fragment, fragment
- rdlimit
How many redirects to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- rdcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Get a list of redirects to the VĂ€lkommen!.
- api.php?action=query&prop=redirects&titles=V%C3%A4lkommen%21 [open in sandbox]
- Get information about all redirects to the VĂ€lkommen!.
- api.php?action=query&generator=redirects&titles=V%C3%A4lkommen%21&prop=info [open in sandbox]
prop=revisions (rv)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
HĂ€mta information om sidversion.
May be used in several ways:
- Get data about a set of pages (last revision), by setting titles or pageids.
- Get revisions for one given page, by using titles or pageids with start, end, or limit.
- 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. If the user has been revision deleted, a userhidden property will be returned.
- userid
- User ID of the revision creator. If the user has been revision deleted, a userhidden property will be returned.
- size
- Length (bytes) of the revision.
- slotsize
- Length (bytes) of each revision slot.
- sha1
- SHA-1 (base 16) of the revision. If the content has been revision deleted, a sha1hidden property will be returned.
- slotsha1
- SHA-1 (base 16) of each revision slot. If the content has been revision deleted, a sha1hidden property will be returned.
- contentmodel
- Content model ID of each revision slot.
- comment
- Comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Parsed comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
- content
- Content of each revision slot. If the content has been revision deleted, a texthidden property will be returned. For performance reasons, if this option is used, rvlimit is enforced to 50.
- tags
- Tags for the revision.
- roles
- List content slot roles that exist in the revision.
- parsetree
- FörÄldrad. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model
wikitext). For performance reasons, if this option is used, rvlimit is enforced to 50.
- VĂ€rden (separerade med | eller alternativ): comment, content, contentmodel, flags, ids, parsedcomment, roles, sha1, size, slotsha1, slotsize, tags, timestamp, user, userid, parsetree
- Standard: ids|timestamp|flags|comment|user
- rvslots
Which revision slots to return data for, when slot-related properties are included in rvprops. If omitted, data from the main slot will be returned in a backwards-compatible format.
- VĂ€rden (separerade med | eller alternativ): main
- To specify all values, use *.
- rvcontentformat-{slot}
Content serialization format used for output of content.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of rvslots.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- rvlimit
Limit how many revisions will be returned. If rvprop=content, rvprop=parsetree, rvdiffto or rvdifftotext is used, the limit is 50. If rvparse is used, the limit is 1.
- May only be used with a single page (mode #2).
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- rvexpandtemplates
- FörÄldrad.
Use action=expandtemplates instead. Expand templates in revision content (requires rvprop=content).
- Type: boolean (details)
- rvgeneratexml
- FörÄldrad.
Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires rvprop=content).
- Type: boolean (details)
- rvparse
- FörÄldrad.
Use action=parse instead. Parse revision content (requires rvprop=content). For performance reasons, if this option is used, rvlimit is enforced to 1.
- Type: boolean (details)
- rvsection
Only retrieve the content of the section with this identifier.
- rvdiffto
- FörÄldrad.
Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively. For performance reasons, if this option is used, rvlimit is enforced to 50.
- rvdifftotext
- FörÄldrad.
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. For performance reasons, if this option is used, rvlimit is enforced to 50.
- rvdifftotextpst
- FörÄldrad.
Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with rvdifftotext.
- Type: boolean (details)
- rvcontentformat
- FörÄldrad.
Serialization format used for rvdifftotext and expected for output of content.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- rvstartid
Start enumeration from the timestamp of the revision with this ID. The revision must exist, but need not belong to this page.
- May only be used with a single page (mode #2).
- Typ: heltal
- rvendid
Stop enumeration at the timestamp of the revision with this ID. The revision must exist, but need not belong to this page.
- May only be used with a single page (mode #2).
- Typ: heltal
- rvstart
From which revision timestamp to start enumeration.
- May only be used with a single page (mode #2).
- Type: timestamp (allowed formats)
- rvend
Enumerate up to this timestamp.
- May only be used with a single page (mode #2).
- Type: timestamp (allowed formats)
- rvdir
In which direction to enumerate:
- newer
- List oldest first. Note: rvstart has to be before rvend.
- older
- List newest first (default). Note: rvstart has to be later than rvend.
- May only be used with a single page (mode #2).
- Ett av följande vÀrden: newer, older
- Standard: older
- rvuser
Only include revisions made by user.
- May only be used with a single page (mode #2).
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- rvexcludeuser
Exclude revisions made by user.
- May only be used with a single page (mode #2).
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- rvtag
Only list revisions tagged with this tag.
- rvcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Get data with content for the last revision of titles API and VĂ€lkommen!.
- api.php?action=query&prop=revisions&titles=API|V%C3%A4lkommen%21&rvslots=*&rvprop=timestamp|user|comment|content [open in sandbox]
- Get last 5 revisions of the VĂ€lkommen!.
- api.php?action=query&prop=revisions&titles=V%C3%A4lkommen%21&rvlimit=5&rvprop=timestamp|user|comment [open in sandbox]
- Get first 5 revisions of the VĂ€lkommen!.
- api.php?action=query&prop=revisions&titles=V%C3%A4lkommen%21&rvlimit=5&rvprop=timestamp|user|comment&rvdir=newer [open in sandbox]
- Get first 5 revisions of the VĂ€lkommen! made after 2006-05-01.
- api.php?action=query&prop=revisions&titles=V%C3%A4lkommen%21&rvlimit=5&rvprop=timestamp|user|comment&rvdir=newer&rvstart=2006-05-01T00:00:00Z [open in sandbox]
- HÀmta första 5 revideringarna av huvudsidan och som inte gjorts av anonym anvÀndare 127.0.0.1
- api.php?action=query&prop=revisions&titles=V%C3%A4lkommen%21&rvlimit=5&rvprop=timestamp|user|comment&rvexcludeuser=127.0.0.1 [open in sandbox]
- Get first 5 revisions of the VĂ€lkommen! that were made by the user MediaWiki default.
- api.php?action=query&prop=revisions&titles=V%C3%A4lkommen%21&rvlimit=5&rvprop=timestamp|user|comment&rvuser=MediaWiki%20default [open in sandbox]
prop=stashimageinfo (sii)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnerar filinformation för temporÀra filer.
- siifilekey
Nyckel som identifierar en tidigare uppladdning som lagrats temporÀrt.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- siisessionkey
- FörÄldrad.
Alias for siifilekey, for backward compatibility.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- siiprop
Vilka filinformation att hÀmta:
- timestamp
- LÀgger till tidsstÀmpel för den uppladdade versionen.
- canonicaltitle
- Adds the canonical title of the file. If the file has been revision deleted, a filehidden property will be returned.
- url
- Gives URL to the file and the description page. If the file has been revision deleted, a filehidden property will be returned.
- size
- Adds the size of the file in bytes and the height, width and page count (if applicable).
- dimensions
- Alias för storlek.
- sha1
- Adds SHA-1 hash for the file. If the file has been revision deleted, a filehidden property will be returned.
- mime
- Adds MIME type of the file. If the file has been revision deleted, a filehidden property will be returned.
- thumbmime
- Adds MIME type of the image thumbnail (requires url and param siiurlwidth). If the file has been revision deleted, a filehidden property will be returned.
- metadata
- Lists Exif metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
- commonmetadata
- Lists file format generic metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
- extmetadata
- Lists formatted metadata combined from multiple sources. Results are HTML formatted. If the file has been revision deleted, a filehidden property will be returned.
Note: This is an expensive property to request, and should be avoided unless you need it. When using it, you should request only a few results at a time to avoid too much load.
- bitdepth
- Adds the bit depth of the version. If the file has been revision deleted, a filehidden property will be returned.
- badfile
- Adds whether the file is on the MediaWiki:Bad image list
- VĂ€rden (separerade med | eller alternativ): badfile, bitdepth, canonicaltitle, commonmetadata, dimensions, extmetadata, metadata, mime, sha1, size, thumbmime, timestamp, url
- Standard: 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.
- Typ: heltal
- Standard: -1
- siiurlheight
Similar to siiurlwidth.
- Typ: heltal
- Standard: -1
- siiurlparam
A handler specific parameter string. For example, PDFs might use page15-100px. siiurlwidth must be used and be consistent with siiurlparam.
- Default: (empty)
- Returnerar information för en temporÀr fil
- api.php?action=query&prop=stashimageinfo&siifilekey=124sd34rsdf567 [open in sandbox]
- Returns thumbnails for two stashed files.
- api.php?action=query&prop=stashimageinfo&siifilekey=b34edoe3|bceffd4&siiurlwidth=120&siiprop=url [open in sandbox]
prop=templates (tl)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnerar alla sidinkluderingar pÄ angivna sidor.
- tlnamespace
Visa mallar i endast denna namnrymd.
- VĂ€rden (separerade med | eller alternativ): -1, -2, 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.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- tlcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- tltemplates
Only list these templates. Useful for checking whether a certain page uses a certain template.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- tldir
The direction in which to list.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- Get the templates used on the page VĂ€lkommen!.
- api.php?action=query&prop=templates&titles=V%C3%A4lkommen%21 [open in sandbox]
- Get information about the template pages used on the page VĂ€lkommen!.
- api.php?action=query&generator=templates&titles=V%C3%A4lkommen%21&prop=info [open in sandbox]
- Get pages in the AnvÀndare and Mall namespaces that are transcluded on the page VÀlkommen!.
- api.php?action=query&prop=templates&titles=V%C3%A4lkommen%21&tlnamespace=2|10 [open in sandbox]
prop=transcludedin (ti)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Hitta alla sidor som inkluderar angivna sidor.
- tiprop
Which properties to get:
- pageid
- Page ID of each page.
- title
- Title of each page.
- redirect
- Flag if the page is a redirect.
- VĂ€rden (separerade med | eller alternativ): pageid, redirect, title
- Standard: pageid|title|redirect
- tinamespace
Only include pages in these namespaces.
- VĂ€rden (separerade med | eller alternativ): 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.
- VĂ€rden (separerade med | eller alternativ): !redirect, redirect
- tilimit
How many to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- ticontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Get a list of pages transcluding VĂ€lkommen!.
- api.php?action=query&prop=transcludedin&titles=V%C3%A4lkommen%21 [open in sandbox]
- Get information about pages transcluding VĂ€lkommen!.
- api.php?action=query&generator=transcludedin&titles=V%C3%A4lkommen%21&prop=info [open in sandbox]
list=allcategories (ac)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Enumerate all categories.
- acfrom
The category to start enumerating from.
- accontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- acto
The category to stop enumerating at.
- acprefix
Sök efter alla kategorititlar som börjar med detta vÀrde.
- acdir
Riktning att sortera mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- acmin
Returnera endast kategorier med minst sÄ hÀr mÄnga medlemmar.
- Typ: heltal
- acmax
Returnera endast kategorier med som mest sÄ hÀr mÄnga medlemmar.
- Typ: heltal
- aclimit
Hur mÄnga kategorier att returnera.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- acprop
Vilka egenskaper att hÀmta:
- size
- LĂ€gger till antal sidor i kategorin.
- hidden
- MÀrker kategorier som Àr dolda med
__HIDDENCAT__.
- VĂ€rden (separerade med | eller alternativ): hidden, size
- Default: (empty)
- 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)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista alla raderade revisioner av en anvÀndare or inom en namnrymd.
- 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. If the user has been revision deleted, a userhidden property will be returned.
- userid
- User ID of the revision creator. If the user has been revision deleted, a userhidden property will be returned.
- size
- Length (bytes) of the revision.
- slotsize
- Length (bytes) of each revision slot.
- sha1
- SHA-1 (base 16) of the revision. If the content has been revision deleted, a sha1hidden property will be returned.
- slotsha1
- SHA-1 (base 16) of each revision slot. If the content has been revision deleted, a sha1hidden property will be returned.
- contentmodel
- Content model ID of each revision slot.
- comment
- Comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Parsed comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
- content
- Content of each revision slot. If the content has been revision deleted, a texthidden property will be returned. For performance reasons, if this option is used, adrlimit is enforced to 50.
- tags
- Tags for the revision.
- roles
- List content slot roles that exist in the revision.
- parsetree
- FörÄldrad. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model
wikitext). For performance reasons, if this option is used, adrlimit is enforced to 50.
- VĂ€rden (separerade med | eller alternativ): comment, content, contentmodel, flags, ids, parsedcomment, roles, sha1, size, slotsha1, slotsize, tags, timestamp, user, userid, parsetree
- Standard: ids|timestamp|flags|comment|user
- adrslots
Which revision slots to return data for, when slot-related properties are included in adrprops. If omitted, data from the main slot will be returned in a backwards-compatible format.
- VĂ€rden (separerade med | eller alternativ): main
- To specify all values, use *.
- adrcontentformat-{slot}
Content serialization format used for output of content.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of adrslots.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- adrlimit
Limit how many revisions will be returned. If adrprop=content, adrprop=parsetree, adrdiffto or adrdifftotext is used, the limit is 50. If adrparse is used, the limit is 1.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- adrexpandtemplates
- FörÄldrad.
Use action=expandtemplates instead. Expand templates in revision content (requires adrprop=content).
- Type: boolean (details)
- adrgeneratexml
- FörÄldrad.
Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires adrprop=content).
- Type: boolean (details)
- adrparse
- FörÄldrad.
Use action=parse instead. Parse revision content (requires adrprop=content). For performance reasons, if this option is used, adrlimit is enforced to 1.
- Type: boolean (details)
- adrsection
Only retrieve the content of the section with this identifier.
- adrdiffto
- FörÄldrad.
Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively. For performance reasons, if this option is used, adrlimit is enforced to 50.
- adrdifftotext
- FörÄldrad.
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. For performance reasons, if this option is used, adrlimit is enforced to 50.
- adrdifftotextpst
- FörÄldrad.
Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with adrdifftotext.
- Type: boolean (details)
- adrcontentformat
- FörÄldrad.
Serialization format used for adrdifftotext and expected for output of content.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- adruser
Lista bara revideringar av denna anvÀndaren.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- adrnamespace
Lista bara sidor i denna namnrymd.
- VĂ€rden (separerade med | eller alternativ): 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.
- Kan endast anvÀndas med adruser.
- Type: timestamp (allowed formats)
- adrend
The timestamp to stop enumerating at.
- Kan endast anvÀndas med adruser.
- Type: timestamp (allowed formats)
- adrdir
In which direction to enumerate:
- newer
- List oldest first. Note: adrstart has to be before adrend.
- older
- List newest first (default). Note: adrstart has to be later than adrend.
- Ett av följande vÀrden: newer, older
- Standard: older
- adrfrom
Börja lista vid denna titel.
- Kan inte anvÀndas med adruser.
- adrto
Sluta lista vid denna titel.
- Kan inte anvÀndas med adruser.
- adrprefix
Sök alla sid-titlar som börjar med detta vÀrde.
- Kan inte anvÀndas med adruser.
- adrexcludeuser
Lista inte revideringar av denna anvÀndaren.
- Kan inte anvÀndas med adruser.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- adrtag
Lista bara revideringar taggade med denna tagg.
- adrcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- adrgeneratetitles
When being used as a generator, generate titles rather than revision IDs.
- Type: boolean (details)
- List de senaste 50 raderade bidragen av anvÀndaren Example.
- api.php?action=query&list=alldeletedrevisions&adruser=Example&adrlimit=50 [open in sandbox]
- Lista dem första 50 revideringarna i huvud-namnrymden
- api.php?action=query&list=alldeletedrevisions&adrdir=newer&adrnamespace=0&adrlimit=50 [open in sandbox]
list=allfileusages (af)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista all fil anvÀndningsomrÄden, inklusive icke-existerande.
- afcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- affrom
The title of the file to start enumerating from.
- afto
The title of the file to stop enumerating at.
- afprefix
Sök för all fil-titlar som börjar med detta vÀrde.
- afunique
Only show distinct file titles. Cannot be used with afprop=ids. When used as a generator, yields target pages instead of source pages.
- Type: boolean (details)
- afprop
Which pieces of information to include:
- ids
- Adds the page IDs of the using pages (cannot be used with afunique).
- title
- LĂ€gger till filens titel.
- VĂ€rden (separerade med | eller alternativ): ids, title
- Standard: title
- aflimit
Hur mÄnga saker att returnera totalt.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- afdir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: 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]
- Lista unika filtitlar
- api.php?action=query&list=allfileusages&afunique=&affrom=B [open in sandbox]
- HĂ€mtar alla fil titlar, markerar dem saknade.
- api.php?action=query&generator=allfileusages&gafunique=&gaffrom=B [open in sandbox]
- HÀmtar sidor som innehÄller filerna.
- api.php?action=query&generator=allfileusages&gaffrom=B [open in sandbox]
list=allimages (ai)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Enumerate all images sequentially.
- aisort
Egenskap att sortera efter.
- Ett av följande vÀrden: name, timestamp
- Standard: name
- aidir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending, newer, older
- Standard: 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
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- aistart
The timestamp to start enumerating from. Can only be used with aisort=timestamp.
- Type: timestamp (allowed formats)
- aiend
The timestamp to end enumerating. Can only be used with aisort=timestamp.
- Type: timestamp (allowed formats)
- aiprop
Vilka filinformation att hÀmta:
- timestamp
- LÀgger till tidsstÀmpel för den uppladdade versionen.
- user
- Adds the user who uploaded each file version. If the user has been revision deleted, a userhidden property will be returned.
- userid
- LÀgg till det anvÀndar-ID som laddade upp varje filversion.
- comment
- Comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Parse the comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
- canonicaltitle
- Adds the canonical title of the file. If the file has been revision deleted, a filehidden property will be returned.
- url
- Gives URL to the file and the description page. If the file has been revision deleted, a filehidden property will be returned.
- size
- Adds the size of the file in bytes and the height, width and page count (if applicable).
- dimensions
- Alias för storlek.
- sha1
- Adds SHA-1 hash for the file. If the file has been revision deleted, a filehidden property will be returned.
- mime
- Adds MIME type of the file. If the file has been revision deleted, a filehidden property will be returned.
- mediatype
- Adds the media type of the file. If the file has been revision deleted, a filehidden property will be returned.
- metadata
- Lists Exif metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
- commonmetadata
- Lists file format generic metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
- extmetadata
- Lists formatted metadata combined from multiple sources. Results are HTML formatted. If the file has been revision deleted, a filehidden property will be returned.
Note: This is an expensive property to request, and should be avoided unless you need it. When using it, you should request only a few results at a time to avoid too much load.
- bitdepth
- Adds the bit depth of the version. If the file has been revision deleted, a filehidden property will be returned.
- badfile
- Adds whether the file is on the MediaWiki:Bad image list
- VĂ€rden (separerade med | eller alternativ): badfile, bitdepth, canonicaltitle, comment, commonmetadata, dimensions, extmetadata, mediatype, metadata, mime, parsedcomment, sha1, size, timestamp, url, user, userid
- Standard: timestamp|url
- aiprefix
Sök för alla bild titlar som börjar med detta vÀrde. Kan endast anvÀndas med aisort=name.
- aiminsize
BegrÀnsning pÄ bilder med Ätminstone sÄ hÀr mÄnga bytes.
- Typ: heltal
- aimaxsize
BegrÀnsning pÄ bilder med som mest sÄ hÀr mÄnga bytes.
- Typ: heltal
- aisha1
SHA1 hash av bild. à sidosÀtter aisha1base36.
- aisha1base36
SHA1 hash av bild i bas 36 (anvÀnds i MediaWiki).
- aiuser
Returnera enbart filer uppladdade av denna anvÀndare. Kan enbart anvÀndas med aisort=timestamp. Kan inte anvÀndas tillsammans med aifilterbots.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- aifilterbots
Hur man filtrerar filer uppladdade av bots. Kan enbart anvÀndas med aisort=timestamp. Kan inte anvÀndas tillsammans med aiuser.
- Ett av följande vÀrden: all, bots, nobots
- Standard: all
- aimime
Vilka MIME-typer du vill söka efter, t.ex. image/jpeg.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- ailimit
Hur mÄnga bilder att returnera totalt.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- Visa en lista över filer som börjar pÄ bokstaven B.
- api.php?action=query&list=allimages&aifrom=B [open in sandbox]
- Visa en lista över nyligen överförda filer, ungefÀr som Special:Nya_filer.
- api.php?action=query&list=allimages&aiprop=user|timestamp|url&aisort=timestamp&aidir=older [open in sandbox]
- Visa en lista över filer med MIME-typen image/png eller image/gif
- api.php?action=query&list=allimages&aimime=image/png|image/gif [open in sandbox]
- Visa info om 4 filer som börjar med bokstaven T.
- api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo [open in sandbox]
list=alllinks (al)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Enumerate all links that point to a given namespace.
- alcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- alfrom
The title of the link to start enumerating from.
- alto
The title of the link to stop enumerating at.
- alprefix
Sök alla lÀnkade titlar som börjar med detta vÀrde.
- alunique
Only show distinct linked titles. Cannot be used with alprop=ids. When used as a generator, yields target pages instead of source pages.
- Type: boolean (details)
- alprop
Which pieces of information to include:
- ids
- Adds the page ID of the linking page (cannot be used with alunique).
- title
- Adds the title of the link.
- VĂ€rden (separerade med | eller alternativ): ids, title
- Standard: title
- alnamespace
The namespace to enumerate.
- Ett av följande vÀrden: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- Standard: 0
- allimit
Hur mÄnga saker att returnera totalt.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- aldir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- Lista lÀnkade titlar, inkluderade saknade, med dem sid-IDs dem Àr frÄn, med början vid B.
- api.php?action=query&list=alllinks&alfrom=B&alprop=ids|title [open in sandbox]
- Lista unika lÀnkade titlar.
- api.php?action=query&list=alllinks&alunique=&alfrom=B [open in sandbox]
- HÀmtar alla lÀnkade titlar, markera de saknade.
- api.php?action=query&generator=alllinks&galunique=&galfrom=B [open in sandbox]
- HÀmtar sidor som innehÄller lÀnkarna.
- api.php?action=query&generator=alllinks&galfrom=B [open in sandbox]
list=allpages (ap)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Enumerate all pages sequentially in a given namespace.
- apfrom
The page title to start enumerating from.
- apcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- apto
The page title to stop enumerating at.
- apprefix
Sök efter alla sidtitlar som börjar med detta vÀrde.
- apnamespace
The namespace to enumerate.
- Ett av följande vÀrden: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- Standard: 0
- apfilterredir
Vilka sidor att lista.
- Ett av följande vÀrden: all, nonredirects, redirects
- Standard: all
- apfilterlanglinks
Filter based on whether a page has langlinks. Note that this may not consider langlinks added by extensions.
- Ett av följande vÀrden: all, withlanglinks, withoutlanglinks
- Standard: all
- apminsize
BegrÀnsa till sidor med detta antal byte eller fler.
- Typ: heltal
- apmaxsize
BegrÀnsa till sidor med högst sÄ hÀr mÄnga byte.
- Typ: heltal
- apprtype
BegrÀnsa till endast skyddade sidor.
- VĂ€rden (separerade med | eller alternativ): edit, move, upload
- apprlevel
Filter protections based on protection level (must be used with apprtype= parameter).
- VĂ€rden (separerade med | eller alternativ): Kan vara tom, eller autoconfirmed, sysop
- apprfiltercascade
Filter protections based on cascadingness (ignored when apprtype isn't set).
- Ett av följande vÀrden: all, cascading, noncascading
- Standard: 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.
- Ett av följande vÀrden: all, definite, indefinite
- Standard: all
- aplimit
Hur mÄnga sidor att returnera totalt.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- apdir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- Visa en lista över sidor som börjar pÄ bokstaven B.
- api.php?action=query&list=allpages&apfrom=B [open in sandbox]
- Visa information om fyra sidor som börjar pÄ bokstaven T.
- api.php?action=query&generator=allpages&gaplimit=4&gapfrom=T&prop=info [open in sandbox]
- Show content of first 2 non-redirect pages beginning at Re.
- api.php?action=query&generator=allpages&gaplimit=2&gapfilterredir=nonredirects&gapfrom=Re&prop=revisions&rvprop=content [open in sandbox]
list=allredirects (ar)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista alla omdirigeringar till en namnrymd.
- arcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- arfrom
The title of the redirect to start enumerating from.
- arto
The title of the redirect to stop enumerating at.
- arprefix
Search for all target pages that begin with this value.
- arunique
Only show distinct target pages. Cannot be used with arprop=ids|fragment|interwiki. When used as a generator, yields target pages instead of source pages.
- Type: boolean (details)
- arprop
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).
- VĂ€rden (separerade med | eller alternativ): fragment, ids, interwiki, title
- Standard: title
- arnamespace
The namespace to enumerate.
- Ett av följande vÀrden: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- Standard: 0
- arlimit
How many total items to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- ardir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: 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]
- HÀmtar alla mÄlsidor, markerar de som saknas.
- 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)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista alla sidversioner.
- 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. If the user has been revision deleted, a userhidden property will be returned.
- userid
- User ID of the revision creator. If the user has been revision deleted, a userhidden property will be returned.
- size
- Length (bytes) of the revision.
- slotsize
- Length (bytes) of each revision slot.
- sha1
- SHA-1 (base 16) of the revision. If the content has been revision deleted, a sha1hidden property will be returned.
- slotsha1
- SHA-1 (base 16) of each revision slot. If the content has been revision deleted, a sha1hidden property will be returned.
- contentmodel
- Content model ID of each revision slot.
- comment
- Comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Parsed comment by the user for the revision. If the comment has been revision deleted, a commenthidden property will be returned.
- content
- Content of each revision slot. If the content has been revision deleted, a texthidden property will be returned. For performance reasons, if this option is used, arvlimit is enforced to 50.
- tags
- Tags for the revision.
- roles
- List content slot roles that exist in the revision.
- parsetree
- FörÄldrad. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model
wikitext). For performance reasons, if this option is used, arvlimit is enforced to 50.
- VĂ€rden (separerade med | eller alternativ): comment, content, contentmodel, flags, ids, parsedcomment, roles, sha1, size, slotsha1, slotsize, tags, timestamp, user, userid, parsetree
- Standard: ids|timestamp|flags|comment|user
- arvslots
Which revision slots to return data for, when slot-related properties are included in arvprops. If omitted, data from the main slot will be returned in a backwards-compatible format.
- VĂ€rden (separerade med | eller alternativ): main
- To specify all values, use *.
- arvcontentformat-{slot}
Content serialization format used for output of content.
- This is a templated parameter. When making the request, {slot} in the parameter's name should be replaced with values of arvslots.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- arvlimit
Limit how many revisions will be returned. If arvprop=content, arvprop=parsetree, arvdiffto or arvdifftotext is used, the limit is 50. If arvparse is used, the limit is 1.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- arvexpandtemplates
- FörÄldrad.
Use action=expandtemplates instead. Expand templates in revision content (requires arvprop=content).
- Type: boolean (details)
- arvgeneratexml
- FörÄldrad.
Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires arvprop=content).
- Type: boolean (details)
- arvparse
- FörÄldrad.
Use action=parse instead. Parse revision content (requires arvprop=content). For performance reasons, if this option is used, arvlimit is enforced to 1.
- Type: boolean (details)
- arvsection
Only retrieve the content of the section with this identifier.
- arvdiffto
- FörÄldrad.
Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively. For performance reasons, if this option is used, arvlimit is enforced to 50.
- arvdifftotext
- FörÄldrad.
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. For performance reasons, if this option is used, arvlimit is enforced to 50.
- arvdifftotextpst
- FörÄldrad.
Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with arvdifftotext.
- Type: boolean (details)
- arvcontentformat
- FörÄldrad.
Serialization format used for arvdifftotext and expected for output of content.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- arvuser
Only list revisions by this user.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- arvnamespace
Only list pages in this namespace.
- VĂ€rden (separerade med | eller alternativ): 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.
- Type: timestamp (allowed formats)
- arvend
The timestamp to stop enumerating at.
- Type: timestamp (allowed formats)
- arvdir
In which direction to enumerate:
- newer
- List oldest first. Note: arvstart has to be before arvend.
- older
- List newest first (default). Note: arvstart has to be later than arvend.
- Ett av följande vÀrden: newer, older
- Standard: older
- arvexcludeuser
Don't list revisions by this user.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- arvcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- arvgeneratetitles
When being used as a generator, generate titles rather than revision IDs.
- Type: boolean (details)
- 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 any namespace.
- api.php?action=query&list=allrevisions&arvdir=newer&arvlimit=50 [open in sandbox]
list=alltransclusions (at)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista alla mallinkluderingar (sidor inbÀddade med {{x}}), inklusive icke-befintliga.
- atcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- 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.
- Type: boolean (details)
- 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.
- VĂ€rden (separerade med | eller alternativ): ids, title
- Standard: title
- atnamespace
The namespace to enumerate.
- Ett av följande vÀrden: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- Standard: 10
- atlimit
Hur mÄnga objekt att returnera.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- atdir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: 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]
- Lista unika mallinkluderade titlar.
- api.php?action=query&list=alltransclusions&atunique=&atfrom=B [open in sandbox]
- HĂ€mtar alla mallinkluderade titlar, markerar de som saknas.
- 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)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Enumerate all registered users.
- aufrom
The username to start enumerating from.
- auto
The username to stop enumerating at.
- auprefix
Sök för alla anvÀndare som börjar med detta vÀrde.
- audir
Riktning att sortera i.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- augroup
Inkludera bara anvÀndare i de givna grupperna.
- VĂ€rden (separerade med | eller alternativ): administrators, bot, bureaucrat, interface-admin, suppress, sysop, temp
- auexcludegroup
Exkludera anvÀndare i de givna grupperna.
- VĂ€rden (separerade med | eller alternativ): administrators, bot, bureaucrat, interface-admin, suppress, sysop, temp
- aurights
Inkludera bara anvÀndare med de givna rÀttigheterna. Inkluderar inte rÀttigheter givna med implicita eller automatiskt promotade grupper som *, anvÀndare, eller auto-konfirmerad.
- VĂ€rden (separerade med | eller alternativ): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changeemail, changetags, confirmemail, createaccount, createpage, createtalk, delete, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, hideuser, import, importupload, interwiki, ipblock-exempt, islamdfarm-admin, linkpurge, mailpassword, managechangetags, markbotedits, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, nominornewtalk, noratelimit, override-export-depth, pagelang, patrol, patrolmarks, protect, purge, read, renameuser, renameuser-global, renderfile, renderfile-nonstandard, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, stashbasehtml, stashedit, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- 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.
- VĂ€rden (separerade med | eller alternativ): blockinfo, centralids, editcount, groups, implicitgroups, registration, rights
- aulimit
Hur mÄnga anvÀndarnamn att returnera totalt.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- auwitheditsonly
Lista bara anvÀndare som har gjort redigeringar.
- Type: boolean (details)
- auactiveusers
Lista bara anvÀndare aktiva under de sista 30 dagarna.
- Type: boolean (details)
- auattachedwiki
With auprop=centralids, also indicate whether the user is attached with the wiki identified by this ID.
- auexcludenamed
Exclude users of named accounts.
- Type: boolean (details)
- auexcludetemp
Exclude users of temporary accounts.
- Type: boolean (details)
- Lista anvÀndare som börjar pÄ Y.
- api.php?action=query&list=allusers&aufrom=Y [open in sandbox]
list=automatictranslationdenselanguages
- Denna modul krÀver lÀsrÀttigheter.
- Source: ContentTranslation
- License: GPL-2.0-or-later
HÀmta listan med webbplatslÀnkar för artikeln som motsvarar ett angivet Wikidata-ID, sorterad efter artikelstorlek.
- qid
Wikidata-ID.
- Den hÀr parametern Àr obligatorisk.
- section-titles
Ett booleskt vÀrde som indikerar om avsnittsrubrikerna ska inkluderas i svaret.
- Type: boolean (details)
- limit
Det maximala antalet webbplatslÀnkar att hÀmta.
- Typ: heltal
- Standard: 15
- HÀmta listan med webbplatslÀnkar för artikeln om mÄnen pÄ alla tillgÀngliga sprÄk och sorterade efter artikelstorlek.
- api.php?action=query&list=automatictranslationdenselanguages&qid=Q405&limit=15 [open in sandbox]
- HÀmta listan med webbplatslÀnkar för artikeln om mÄnen, inklusive avsnittsrubriker, pÄ alla tillgÀngliga sprÄk och sorterade efter artikelstorlek.
- api.php?action=query&list=automatictranslationdenselanguages&qid=Q405§ion-titles=true [open in sandbox]
list=backlinks (bl)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Hitta alla sidor som lÀnkar till den givna sidan.
- bltitle
Title to search. Cannot be used together with blpageid.
- blpageid
Page ID to search. Cannot be used together with bltitle.
- Typ: heltal
- blcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- blnamespace
The namespace to enumerate.
- VĂ€rden (separerade med | eller alternativ): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- bldir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- blfilterredir
How to filter for redirects. If set to nonredirects when blredirect is enabled, this is only applied to the second level.
- Ett av följande vÀrden: all, nonredirects, redirects
- Standard: 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).
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- blredirect
If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.
- Type: boolean (details)
- Visa lÀnkar till Main page.
- api.php?action=query&list=backlinks&bltitle=V%C3%A4lkommen%21 [open in sandbox]
- Get information about pages linking to VĂ€lkommen!.
- api.php?action=query&generator=backlinks&gbltitle=V%C3%A4lkommen%21&prop=info [open in sandbox]
list=betafeatures (bf)
- Denna modul krÀver lÀsrÀttigheter.
- Source: BetaFeatures
- License: GPL-2.0-or-later
Lista alla Betafunktioner
- bfcounts
Om antalet anvÀndare som har aktiverat en viss instÀllning ska hÀmtas.
- FÄ alla tillgÀngliga betafunktioner och visar hur mÄnga anvÀndare som har aktiverat dem
- api.php?action=query&list=betafeatures&bfcounts= [open in sandbox]
list=blocks (bk)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista alla blockerade anvÀndare och IP-adresser.
- bkstart
The timestamp to start enumerating from.
- Type: timestamp (allowed formats)
- bkend
The timestamp to stop enumerating at.
- Type: timestamp (allowed formats)
- bkdir
In which direction to enumerate:
- newer
- List oldest first. Note: bkstart has to be before bkend.
- older
- List newest first (default). Note: bkstart has to be later than bkend.
- Ett av följande vÀrden: newer, older
- Standard: older
- bkids
List of block IDs to list (optional).
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- bkusers
List of users to search for (optional).
- Typ: lista över anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare och IP-intervall
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- 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.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- bkprop
Vilka egenskaper att hÀmta.
- id
- LÀgger till ID pÄ blocket.
- user
- LÀgger till anvÀndarnamn för den blockerade anvÀndaren.
- userid
- LÀgger till anvÀndar-ID för den blockerade anvÀndaren.
- by
- Adds the username of the blocking user.
- byid
- Adds the user ID of the blocking user.
- timestamp
- LÀgger till en tidsstÀmpel för nÀr blockeringen gavs.
- expiry
- LÀgger till en tidsstÀmpel för nÀr blockeringen gÄr ut.
- reason
- LÀgger till de skÀl som angetts för blockeringen.
- parsedreason
- Adds the parsed reason given for the block.
- range
- LÀgger till intervallet av IP-adresser som berörs av blockeringen.
- flags
- Tags the ban with (autoblock, anononly, etc.).
- restrictions
- LÀgger till partiella blockeringsbegrÀnsningar om blockeringen inte gÀller för hela webbplatsen.
- VĂ€rden (separerade med | eller alternativ): by, byid, expiry, flags, id, parsedreason, range, reason, restrictions, timestamp, user, userid
- Standard: 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.
- VĂ€rden (separerade med | eller alternativ): !account, !ip, !range, !temp, account, ip, range, temp
- bkcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Lista blockeringar.
- api.php?action=query&list=blocks [open in sandbox]
- Lista blockeringar av anvÀndarna Alice och Bob.
- api.php?action=query&list=blocks&bkusers=Alice|Bob [open in sandbox]
list=categorymembers (cm)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista alla sidor i en angiven kategori.
- cmtitle
Which category to enumerate (required). Must include the Kategori: prefix. Cannot be used together with cmpageid.
- cmpageid
Page ID of the category to enumerate. Cannot be used together with cmtitle.
- Typ: heltal
- cmprop
Which pieces of information to include:
- ids
- LĂ€gger till sid-ID.
- title
- LÀgger till titeln och namnrymds-ID för sidan.
- 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.
- VĂ€rden (separerade med | eller alternativ): ids, sortkey, sortkeyprefix, timestamp, title, type
- Standard: 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.
- VĂ€rden (separerade med | eller alternativ): 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.
- VĂ€rden (separerade med | eller alternativ): file, page, subcat
- Standard: page|subcat|file
- cmcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- cmlimit
The maximum number of pages to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- cmsort
Egenskap att sortera efter.
- Ett av följande vÀrden: sortkey, timestamp
- Standard: sortkey
- cmdir
I vilken riktning att sortera.
- Ett av följande vÀrden: asc, ascending, desc, descending, newer, older
- Standard: ascending
- cmstart
Timestamp to start listing from. Can only be used with cmsort=timestamp.
- Type: timestamp (allowed formats)
- cmend
Timestamp to end listing at. Can only be used with cmsort=timestamp.
- Type: timestamp (allowed formats)
- 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
- FörÄldrad.
AnvÀnd cmstarthexsortkey istÀllet.
- cmendsortkey
- FörÄldrad.
AnvÀnd cmendhexsortkey istÀllet.
- HÀmta de tio första sidorna i Category:Physics.
- api.php?action=query&list=categorymembers&cmtitle=Category:Physics [open in sandbox]
- HÀmta sidinformation om de tio första sidorna i Category:Physics.
- api.php?action=query&generator=categorymembers&gcmtitle=Category:Physics&prop=info [open in sandbox]
list=codexicons
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Get Codex icons
- names
Names of icons
- Den hÀr parametern Àr obligatorisk.
- VĂ€rden (separerade med | eller alternativ): cdxIconAdd, cdxIconAlert, cdxIconAlignCenter, cdxIconAlignLeft, cdxIconAlignRight, cdxIconAppearance, cdxIconArrowDown, cdxIconArrowNext, cdxIconArrowPrevious, cdxIconArrowUp, cdxIconArticle, cdxIconArticleAdd, cdxIconArticleCheck, cdxIconArticleDisambiguation, cdxIconArticleNotFound, cdxIconArticleRedirect, cdxIconArticleSearch, cdxIconArticles, cdxIconArticlesSearch, cdxIconAttachment, cdxIconBell, cdxIconBellOutline, cdxIconBigger, cdxIconBlock, cdxIconBold, cdxIconBook, cdxIconBookmark, cdxIconBookmarkList, cdxIconBookmarkOutline, cdxIconBright, cdxIconBrowser, cdxIconCalendar, cdxIconCamera, cdxIconCancel, cdxIconChart, cdxIconCheck, cdxIconCheckAll, cdxIconClear, cdxIconClock, cdxIconClose, cdxIconCode, cdxIconCollapse, cdxIconConfigure, cdxIconCopy, cdxIconCut, cdxIconDatabase, cdxIconDie, cdxIconDoubleChevronEnd, cdxIconDoubleChevronStart, cdxIconDownTriangle, cdxIconDownload, cdxIconDraggable, cdxIconEdit, cdxIconEditLock, cdxIconEditUndo, cdxIconEllipsis, cdxIconError, cdxIconExitFullscreen, cdxIconExpand, cdxIconEye, cdxIconEyeClosed, cdxIconFeedback, cdxIconFlag, cdxIconFolderPlaceholder, cdxIconFullscreen, cdxIconFunction, cdxIconFunctionArgument, cdxIconFunnel, cdxIconGlobe, cdxIconHalfBright, cdxIconHalfStar, cdxIconHand, cdxIconHeart, cdxIconHelp, cdxIconHelpNotice, cdxIconHieroglyph, cdxIconHighlight, cdxIconHistory, cdxIconHome, cdxIconImage, cdxIconImageAdd, cdxIconImageBroken, cdxIconImageGallery, cdxIconImageLayoutBasic, cdxIconImageLayoutFrame, cdxIconImageLayoutFrameless, cdxIconImageLayoutThumbnail, cdxIconImageLock, cdxIconIndent, cdxIconInfo, cdxIconInfoFilled, cdxIconInstance, cdxIconItalic, cdxIconJournal, cdxIconKey, cdxIconKeyboard, cdxIconLabFlask, cdxIconLanguage, cdxIconLargerText, cdxIconLayout, cdxIconLightbulb, cdxIconLink, cdxIconLinkExternal, cdxIconLinkSecure, cdxIconListBullet, cdxIconListNumbered, cdxIconLiteral, cdxIconLock, cdxIconLogIn, cdxIconLogOut, cdxIconLogoCC, cdxIconLogoCodex, cdxIconLogoMediaWiki, cdxIconLogoMetaWiki, cdxIconLogoWikibooks, cdxIconLogoWikidata, cdxIconLogoWikifunctions, cdxIconLogoWikimedia, cdxIconLogoWikimediaCommons, cdxIconLogoWikimediaDiscovery, cdxIconLogoWikinews, cdxIconLogoWikipedia, cdxIconLogoWikiquote, cdxIconLogoWikisource, cdxIconLogoWikispecies, cdxIconLogoWikiversity, cdxIconLogoWikivoyage, cdxIconLogoWiktionary, cdxIconMap, cdxIconMapPin, cdxIconMapPinAdd, cdxIconMapTrail, cdxIconMarkup, cdxIconMathematics, cdxIconMathematicsDisplayBlock, cdxIconMathematicsDisplayDefault, cdxIconMathematicsDisplayInline, cdxIconMenu, cdxIconMerge, cdxIconMessage, cdxIconMoon, cdxIconMove, cdxIconMoveFirst, cdxIconMoveLast, cdxIconMusicalScore, cdxIconNetwork, cdxIconNetworkOff, cdxIconNewWindow, cdxIconNewline, cdxIconNewspaper, cdxIconNext, cdxIconNoWikitext, cdxIconNotBright, cdxIconNotice, cdxIconOngoingConversation, cdxIconOutdent, cdxIconOutline, cdxIconPageSettings, cdxIconPalette, cdxIconPaste, cdxIconPause, cdxIconPlay, cdxIconPower, cdxIconPrevious, cdxIconPrinter, cdxIconPushPin, cdxIconPuzzle, cdxIconQrCode, cdxIconQuotes, cdxIconRecentChanges, cdxIconRedo, cdxIconReference, cdxIconReferenceExisting, cdxIconReferences, cdxIconReload, cdxIconRestore, cdxIconRobot, cdxIconSandbox, cdxIconSearch, cdxIconSearchCaseSensitive, cdxIconSearchDiacritics, cdxIconSearchRegularExpression, cdxIconSettings, cdxIconShare, cdxIconSignature, cdxIconSmaller, cdxIconSmallerText, cdxIconSortVertical, cdxIconSpecialCharacter, cdxIconSpecialPages, cdxIconSpeechBubble, cdxIconSpeechBubbleAdd, cdxIconSpeechBubbles, cdxIconStar, cdxIconStop, cdxIconStrikethrough, cdxIconSubscript, cdxIconSubtract, cdxIconSuccess, cdxIconSuperscript, cdxIconTable, cdxIconTableAddColumnAfter, cdxIconTableAddColumnBefore, cdxIconTableAddRowAfter, cdxIconTableAddRowBefore, cdxIconTableCaption, cdxIconTableMergeCells, cdxIconTableMoveColumnAfter, cdxIconTableMoveColumnBefore, cdxIconTableMoveRowAfter, cdxIconTableMoveRowBefore, cdxIconTag, cdxIconTemplateAdd, cdxIconTextDirLTR, cdxIconTextDirRTL, cdxIconTextFlow, cdxIconTextStyle, cdxIconTextSummary, cdxIconTrash, cdxIconTray, cdxIconUnBlock, cdxIconUnFlag, cdxIconUnLink, cdxIconUnLock, cdxIconUnStar, cdxIconUnderline, cdxIconUndo, cdxIconUpTriangle, cdxIconUpdate, cdxIconUpload, cdxIconUserActive, cdxIconUserAdd, cdxIconUserAnonymous, cdxIconUserAvatar, cdxIconUserAvatarOutline, cdxIconUserContributions, cdxIconUserGroup, cdxIconUserRights, cdxIconUserTalk, cdxIconUserTemporary, cdxIconUserTemporaryLocation, cdxIconViewCompact, cdxIconViewDetails, cdxIconVisionSimulator, cdxIconVolumeDown, cdxIconVolumeOff, cdxIconVolumeUp, cdxIconWatchlist, cdxIconWikitext, cdxIconWindow, cdxIconZoomIn, cdxIconZoomOut
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- To specify all values, use *.
- Get icons for cdxIconInfo and cdxIconTrash
- api.php?action=query&list=codexicons&names=cdxIconInfo|cdxIconTrash [open in sandbox]
list=contenttranslation
- Denna modul krÀver lÀsrÀttigheter.
- Source: ContentTranslation
- License: GPL-2.0-or-later
FrÄga databasen för innehÄllsöversÀttningar om översÀttningar.
- translationid
ĂversĂ€ttnings-ID.
- from
KÀllans sprÄkkod.
- to
MÄlets sprÄkkod.
- sourcetitle
KĂ€llsidans titel.
- sourcesectiontitle
KĂ€llavsnittets titel (valfritt).
- limit
Maximala antalet översÀttningar att hÀmta.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 100
- offset
Offset i sökresultaten (valfritt).
- type
ĂversĂ€ttningens tillstĂ„nd.
- Ett av följande vÀrden: draft, published
- Standard: draft
- usecase
AnvÀndningsfallet för hur översÀttningarna hÀmtas (valfritt).
- Ett av följande vÀrden: desktop-editor-draft, translation-corpora-units, unified-dashboard
- FÄ översÀttningar pÄbörjade av aktuell anvÀndare.
- api.php?action=query&list=contenttranslation [open in sandbox]
- HÀmta översÀttningsutkast efter id.
- api.php?action=query&list=contenttranslation&translationid=94 [open in sandbox]
- Hitta en översÀttning för angiven titel mellan sprÄkparet
- api.php?action=query&list=contenttranslation&from=en&to=es&sourcetitle=Hibiscus [open in sandbox]
list=contenttranslationcorpora
- Denna modul krÀver lÀsrÀttigheter.
- Source: ContentTranslation
- License: GPL-2.0-or-later
HÀmta den avsnittsjusterade parallella texten för en vald översÀttning. Se Àven list=cxpublishedtranslations. Dumpar finns tillgÀngliga i olika format för Ätkomst med hög volym.
- translationid
ĂversĂ€ttningens ID.
- Den hÀr parametern Àr obligatorisk.
- Typ: heltal
- striphtml
Om alla HTML-taggar ska tas bort för att returnera ren text.
- Type: boolean (details)
- types
Som standard fÄr du alla tre följande alternativ om de Àr tillgÀngliga: kÀlltexten, maskinöversÀttning och anvÀndarens efterredigerade översÀttning. Denna parameter lÄter dig att inte returnera vissa av dessa typer.
- VĂ€rden (separerade med | eller alternativ): mt, source, user
- Standard: source|mt|user
list=contenttranslationfavoritesuggestions
- Denna modul krÀver lÀsrÀttigheter.
- Source: ContentTranslation
- License: GPL-2.0-or-later
FÄ anvÀndarnas favoritförslag för innehÄllsöversÀttning.
- limit
Maximala antalet översÀttningsförslag att hÀmta.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 100
- offset
Offset för sidnumrerade resultat.
- HÀmta favoritförslagen för den aktuella anvÀndaren
- api.php?action=query&list=contenttranslationfavoritesuggestions [open in sandbox]
list=cxpublishedtranslations
- Denna modul krÀver lÀsrÀttigheter.
- Source: ContentTranslation
- License: GPL-2.0-or-later
HÀmta information om alla publicerade översÀttningar
- from
KÀllans sprÄkkod
- Den hÀr parametern Àr obligatorisk.
- to
MÄlets sprÄkkod
- Den hÀr parametern Àr obligatorisk.
- limit
Maximala antalet översÀttningar att hÀmta.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 500
- offset
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Typ: heltal
- Standard: 0
- HÀmta alla publicerade översÀttningar, översatta frÄn engelska till spanska
- api.php?action=query&list=cxpublishedtranslations&from=en&to=es [open in sandbox]
list=cxtranslatorstats
- Denna modul krÀver lÀsrÀttigheter.
- Source: ContentTranslation
- License: GPL-2.0-or-later
HÀmta översÀttningsstatistik för angiven anvÀndare.
- translator
ĂversĂ€ttarens anvĂ€ndarnamn. Denna parameter Ă€r valfri. Om inget giltigt vĂ€rde anges kommer den aktuella inloggade anvĂ€ndaren anvĂ€ndas.
- HÀmta översÀttningsstatistik för angiven anvÀndare.
- api.php?action=query&list=cxtranslatorstats&translator=TranslatorName [open in sandbox]
list=deletedrevs (dr)
- Denna modul Àr förÄldrad.
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista raderade sidversioner.
Operates in three modes:
- List deleted revisions for the given titles, sorted by timestamp.
- List deleted contributions for the given user, sorted by timestamp (no titles specified).
- 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.
- LĂ€gen: 1, 2
- Type: timestamp (allowed formats)
- drend
The timestamp to stop enumerating at.
- LĂ€gen: 1, 2
- Type: timestamp (allowed formats)
- drdir
In which direction to enumerate:
- newer
- List oldest first. Note: drstart has to be before drend.
- older
- List newest first (default). Note: drstart has to be later than drend.
- LĂ€gen: 1, 3
- Ett av följande vÀrden: newer, older
- Standard: older
- drfrom
Börja lista vid denna titel.
- LĂ€ge: 3
- drto
Sluta lista vid denna titel.
- LĂ€ge: 3
- drprefix
Search for all page titles that begin with this value.
- LĂ€ge: 3
- drunique
List only one revision for each page.
- LĂ€ge: 3
- Type: boolean (details)
- drnamespace
Only list pages in this namespace.
- LĂ€ge: 3
- Ett av följande vÀrden: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- Standard: 0
- drtag
Only list revisions tagged with this tag.
- druser
Only list revisions by this user.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- drexcludeuser
Don't list revisions by this user.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- 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. For performance reasons, if this option is used, drlimit is enforced to 50.
- token
- FörÄldrad. Gives the edit token.
- tags
- Tags for the revision.
- VĂ€rden (separerade med | eller alternativ): comment, content, len, minor, parentid, parsedcomment, revid, sha1, tags, user, userid, token
- Standard: user|comment
- drlimit
The maximum amount of revisions to list. If drprop=content is used, the limit is 50.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- drcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- List the last deleted revisions of the pages VĂ€lkommen! and Talk:Main Page, with content (mode 1).
- api.php?action=query&list=deletedrevs&titles=V%C3%A4lkommen%21|Diskussion%3AV%C3%A4lkommen%21&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 Diskussion namespace (mode 3).
- api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique= [open in sandbox]
list=embeddedin (ei)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Hitta alla sidor som bÀddar in (inkluderar) angiven titel.
- eititle
Title to search. Cannot be used together with eipageid.
- eipageid
Page ID to search. Cannot be used together with eititle.
- Typ: heltal
- eicontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- einamespace
The namespace to enumerate.
- VĂ€rden (separerade med | eller alternativ): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- eidir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- eifilterredir
How to filter for redirects.
- Ett av följande vÀrden: all, nonredirects, redirects
- Standard: all
- eilimit
Hur mÄnga sidor att returnera totalt.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- Show pages transcluding Template:Stub.
- api.php?action=query&list=embeddedin&eititle=Template:Stub [open in sandbox]
- Get information about pages transcluding Template:Stub.
- api.php?action=query&generator=embeddedin&geititle=Template:Stub&prop=info [open in sandbox]
list=exturlusage (eu)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
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.
- VĂ€rden (separerade med | eller alternativ): ids, title, url
- Standard: ids|title|url
- eucontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- euprotocol
Protocol of the URL. If empty and euquery is set, the protocol is http and https. Leave both this and euquery empty to list all external links.
- Ett av följande vÀrden: Kan vara tom, eller bitcoin, ftp, ftps, geo, git, gopher, http, https, irc, ircs, magnet, mailto, matrix, mms, news, nntp, redis, sftp, sip, sips, sms, ssh, svn, tel, telnet, urn, wikipedia, worldwind, xmpp
- Default: (empty)
- euquery
Search string without protocol. See Special:LinkSearch. Leave empty to list all external links.
- eunamespace
The page namespaces to enumerate.
- VĂ€rden (separerade med | eller alternativ): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- eulimit
Hur mÄnga sidor att returnera.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- euexpandurl
- FörÄldrad.
Expand protocol-relative URLs with the canonical protocol.
- Type: boolean (details)
- Visa sidor som lÀnkar till https://www.mediawiki.org.
- api.php?action=query&list=exturlusage&euquery=www.mediawiki.org [open in sandbox]
list=filearchive (fa)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
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
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: 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
- LÀgger till tidsstÀmpel för den uppladdade versionen.
- user
- LÀgger till anvÀndaren som laddade upp bildversionen.
- size
- Adds the size of the image in bytes and the height, width and page count (if applicable).
- dimensions
- Alias för storlek.
- description
- LĂ€gger till beskrivning till bildversionen.
- 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.
- VĂ€rden (separerade med | eller alternativ): archivename, bitdepth, description, dimensions, mediatype, metadata, mime, parseddescription, sha1, size, timestamp, user
- Standard: timestamp
- falimit
Hur mÄnga bilder att returnera totalt.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- facontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Visa en lista över alla borttagna filer.
- api.php?action=query&list=filearchive [open in sandbox]
list=imageusage (iu)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Hitta alla sidor som anvÀnder angiven bildtitel.
- iutitle
Title to search. Cannot be used together with iupageid.
- iupageid
Page ID to search. Cannot be used together with iutitle.
- Typ: heltal
- iucontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- iunamespace
The namespace to enumerate.
- VĂ€rden (separerade med | eller alternativ): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- iudir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- iufilterredir
How to filter for redirects. If set to nonredirects when iuredirect is enabled, this is only applied to the second level.
- Ett av följande vÀrden: all, nonredirects, redirects
- Standard: 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).
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- iuredirect
If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.
- Type: boolean (details)
- Visa sidor med hjÀlp av File:Albert Einstein Head.jpg.
- api.php?action=query&list=imageusage&iutitle=File:Albert%20Einstein%20Head.jpg [open in sandbox]
- HÀmta information om sidor med hjÀlp av File:Albert Einstein Head.jpg.
- api.php?action=query&generator=imageusage&giutitle=File:Albert%20Einstein%20Head.jpg&prop=info [open in sandbox]
list=iwbacklinks (iwbl)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
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
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- iwbllimit
Hur mÄnga sidor att returnera totalt.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- iwblprop
Which properties to get:
- iwprefix
- Adds the prefix of the interwiki.
- iwtitle
- Adds the title of the interwiki.
- VĂ€rden (separerade med | eller alternativ): iwprefix, iwtitle
- Default: (empty)
- iwbldir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- Get pages linking to wikibooks:Test.
- api.php?action=query&list=iwbacklinks&iwbltitle=Test&iwblprefix=wikibooks [open in sandbox]
- Get information about pages linking to wikibooks:Test.
- api.php?action=query&generator=iwbacklinks&giwbltitle=Test&giwblprefix=wikibooks&prop=info [open in sandbox]
list=langbacklinks (lbl)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
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
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- lbllimit
Hur mÄnga sidor att returnera totalt.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- lblprop
Which properties to get:
- lllang
- Adds the language code of the language link.
- lltitle
- Adds the title of the language link.
- VĂ€rden (separerade med | eller alternativ): lllang, lltitle
- Default: (empty)
- lbldir
Riktningen att lista mot.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- HÀmta sidor som lÀnkar till fr:Test.
- api.php?action=query&list=langbacklinks&lbltitle=Test&lbllang=fr [open in sandbox]
- Get information about pages linking to fr:Test.
- api.php?action=query&generator=langbacklinks&glbltitle=Test&glbllang=fr&prop=info [open in sandbox]
list=logevents (le)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
HÀmta hÀndelser frÄn loggar.
- 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. If the user has been revision deleted, a userhidden property will be returned.
- userid
- Adds the user ID who was responsible for the log event. If the user has been revision deleted, a userhidden property will be returned.
- timestamp
- Adds the timestamp for the log event.
- comment
- Adds the comment of the log event. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Adds the parsed comment of the log event. If the comment has been revision deleted, a commenthidden property will be returned.
- details
- Lists additional details about the log event. If the log event has been revision deleted, an actionhidden property will be returned.
- tags
- Lists tags for the log event.
- VĂ€rden (separerade med | eller alternativ): comment, details, ids, parsedcomment, tags, timestamp, title, type, user, userid
- Standard: ids|title|type|user|timestamp|comment|details
- letype
Filter log entries to only this type.
- Ett av följande vÀrden: Kan vara tom, eller block, contentmodel, create, delete, import, interwiki, managetags, merge, move, newusers, patrol, protect, renameuser, rights, suppress, tag, upload, usermerge
- 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 (/).
- Ett av följande vÀrden: block/block, block/reblock, block/unblock, contentmodel/change, contentmodel/new, create/create, delete/delete, delete/delete_redir, delete/delete_redir2, delete/event, delete/restore, delete/revision, import/interwiki, import/upload, interwiki/iw_add, interwiki/iw_delete, interwiki/iw_edit, managetags/activate, managetags/create, managetags/deactivate, managetags/delete, merge/merge, merge/merge-into, move/move, move/move_redir, newusers/autocreate, newusers/byemail, newusers/create, newusers/create2, newusers/newusers, patrol/autopatrol, patrol/patrol, protect/modify, protect/move_prot, protect/protect, protect/unprotect, renameuser/renameuser, rights/autopromote, rights/rights, suppress/block, suppress/delete, suppress/event, suppress/reblock, suppress/revision, tag/update, upload/overwrite, upload/revert, upload/upload, usermerge/*
- lestart
The timestamp to start enumerating from.
- Type: timestamp (allowed formats)
- leend
The timestamp to end enumerating.
- Type: timestamp (allowed formats)
- ledir
In which direction to enumerate:
- newer
- List oldest first. Note: lestart has to be before leend.
- older
- List newest first (default). Note: lestart has to be later than leend.
- Ett av följande vÀrden: newer, older
- Standard: older
- leids
Filter entries to those matching the given log ID(s).
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- leuser
Filter entries to those made by the given user.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- letitle
Filter entries to those related to a page.
- lenamespace
Filter entries to those in the given namespace.
- Ett av följande vÀrden: -1, -2, 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.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- lecontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- List recent log events.
- api.php?action=query&list=logevents [open in sandbox]
list=mystashedfiles (msf)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
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.
- VĂ€rden (separerade med | eller alternativ): size, type
- Default: (empty)
- msflimit
How many files to get.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- msfcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- 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)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
List all page property names in use on the wiki.
- ppncontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- ppnlimit
The maximum number of names to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- Get first 10 property names.
- api.php?action=query&list=pagepropnames [open in sandbox]
list=pageswithprop (pwp)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista alla sidor som anvÀnder en angiven sidegenskap.
- pwppropname
Page property for which to enumerate pages (action=query&list=pagepropnames returns page property names in use).
- Den hÀr parametern Àr obligatorisk.
- 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.
- VĂ€rden (separerade med | eller alternativ): ids, title, value
- Standard: ids|title
- pwpcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- pwplimit
The maximum number of pages to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- pwpdir
In which direction to sort.
- Ett av följande vÀrden: ascending, descending
- Standard: 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)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
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.
- Den hÀr parametern Àr obligatorisk.
- psnamespace
Namnrymder att söka efter. Ignoreras om pssearch börjar med ett giltigt namnrymdsprefix.
- VĂ€rden (separerade med | eller alternativ): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- Standard: 0
- pslimit
Maximum number of results to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- psoffset
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Typ: heltal
- VÀrdet fÄr inte vara mindre Àn 0.
- Standard: 0
- Search for page titles beginning with meaning.
- api.php?action=query&list=prefixsearch&pssearch=meaning [open in sandbox]
list=protectedtitles (pt)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
List all titles protected from creation.
- ptnamespace
Only list titles in these namespaces.
- VĂ€rden (separerade med | eller alternativ): 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.
- VĂ€rden (separerade med | eller alternativ): autoconfirmed, sysop
- ptlimit
Hur mÄnga sidor att returnera totalt.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- ptdir
In which direction to enumerate:
- newer
- List oldest first. Note: ptstart has to be before ptend.
- older
- List newest first (default). Note: ptstart has to be later than ptend.
- Ett av följande vÀrden: newer, older
- Standard: older
- ptstart
Start listing at this protection timestamp.
- Type: timestamp (allowed formats)
- ptend
Stop listing at this protection timestamp.
- Type: timestamp (allowed formats)
- 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.
- VĂ€rden (separerade med | eller alternativ): comment, expiry, level, parsedcomment, timestamp, user, userid
- Standard: timestamp|level
- ptcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Lista skyddade titlar.
- api.php?action=query&list=protectedtitles [open in sandbox]
- Find links to protected titles in the main namespace.
- api.php?action=query&generator=protectedtitles&gptnamespace=0&prop=linkshere [open in sandbox]
list=querypage (qp)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Get a list provided by a QueryPage-based special page.
- qppage
The name of the special page. Note, this is case-sensitive.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: Ancientpages, BrokenRedirects, Deadendpages, DoubleRedirects, Fewestrevisions, ListDuplicatedFiles, Listredirects, Lonelypages, Longpages, MediaStatistics, Mostcategories, Mostimages, Mostinterwikis, Mostlinked, Mostlinkedcategories, Mostlinkedtemplates, Mostrevisions, Shortpages, Uncategorizedcategories, Uncategorizedimages, Uncategorizedpages, Uncategorizedtemplates, Unusedcategories, Unusedimages, Unusedtemplates, Unwatchedpages, Wantedcategories, Wantedfiles, Wantedpages, Wantedtemplates, Withoutinterwiki
- qpoffset
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Typ: heltal
- Standard: 0
- qplimit
Number of results to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
list=random (rn)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
HÀmta en uppsÀttning slumpsidor.
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.
- VĂ€rden (separerade med | eller alternativ): 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.
- Ett av följande vÀrden: all, nonredirects, redirects
- Standard: nonredirects
- rnminsize
Limit to pages with at least this many bytes.
- Typ: heltal
- rnmaxsize
Limit to pages with at most this many bytes.
- Typ: heltal
- rncontentmodel
Filter pages that have the specified content model.
- Ett av följande vÀrden: css, javascript, json, text, unknown, vue, wikitext
- rnredirect
- FörÄldrad.
Use rnfilterredir=redirects instead.
- Type: boolean (details)
- rnlimit
Limit how many random pages will be returned.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 1
- rncontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- 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]
- Return page info about one random page from the main namespace that has at least 500 bytes of text.
- api.php?action=query&list=random&rnnamespace=0&rnlimit=1&minsize=500 [open in sandbox]
list=recentchanges (rc)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Enumerate recent changes.
- rcstart
The timestamp to start enumerating from.
- Type: timestamp (allowed formats)
- rcend
The timestamp to end enumerating.
- Type: timestamp (allowed formats)
- rcdir
In which direction to enumerate:
- newer
- List oldest first. Note: rcstart has to be before rcend.
- older
- List newest first (default). Note: rcstart has to be later than rcend.
- Ett av följande vÀrden: newer, older
- Standard: older
- rcnamespace
Filter changes to only these namespaces.
- VĂ€rden (separerade med | eller alternativ): -1, -2, 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.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- rcexcludeuser
Don't list changes by this user.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- 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. If the user has been revision deleted, a userhidden property will be returned.
- userid
- Adds the user ID responsible for the edit. If the user has been revision deleted, a userhidden property will be returned.
- comment
- Adds the comment for the edit. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Adds the parsed comment for the edit. If the comment has been revision deleted, a commenthidden property will be returned.
- 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. If the content has been revision deleted, a sha1hidden property will be returned.
- VĂ€rden (separerade med | eller alternativ): comment, flags, ids, loginfo, parsedcomment, patrolled, redirect, sha1, sizes, tags, timestamp, title, user, userid
- Standard: title|timestamp|ids
- rcshow
Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set rcshow=minor|!anon.
- VĂ€rden (separerade med | eller alternativ): !anon, !autopatrolled, !bot, !minor, !patrolled, !redirect, anon, autopatrolled, bot, minor, patrolled, redirect, unpatrolled
- rclimit
How many total changes to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- rctype
Which types of changes to show.
- VĂ€rden (separerade med | eller alternativ): categorize, edit, external, log, new
- Standard: edit|new|log|categorize
- rctoponly
Only list changes which are the latest revision.
- Type: boolean (details)
- rctitle
Filter entries to those related to a page.
- rccontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- 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.
- Type: boolean (details)
- rcslot
Only list changes that touch the named slot.
- Ett av följande vÀrden: main
- Lista de senaste Àndringarna.
- api.php?action=query&list=recentchanges [open in sandbox]
- Get page info about recent unpatrolled changes.
- api.php?action=query&generator=recentchanges&grcshow=!patrolled&prop=info [open in sandbox]
list=search (sr)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Utför en heltextsökning.
- 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.
- Den hÀr parametern Àr obligatorisk.
- srnamespace
Search only within these namespaces.
- VĂ€rden (separerade med | eller alternativ): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- Standard: 0
- srlimit
How many total pages to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- sroffset
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Typ: heltal
- VÀrdet fÄr inte vara mindre Àn 0.
- Standard: 0
- srwhat
Which type of search to perform.
- Ett av följande vÀrden: nearmatch, text, title
- srinfo
Which metadata to return.
- VĂ€rden (separerade med | eller alternativ): rewrittenquery, suggestion, totalhits
- Standard: 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 snippet of the page, with query term highlighting markup.
- titlesnippet
- Adds the page title, with query term highlighting markup.
- redirecttitle
- Adds the title of the matching redirect.
- redirectsnippet
- Adds the title of the matching redirect, with query term highlighting markup.
- sectiontitle
- Adds the title of the matching section.
- sectionsnippet
- Adds the title of the matching section, with query term highlighting markup.
- isfilematch
- Adds a boolean indicating if the search matched file content.
- categorysnippet
- Adds the matching category name, with query term highlighting markup.
- score
- FörÄldrad. Ignorerad.
- hasrelated
- FörÄldrad. Ignorerad.
- extensiondata
- Adds extra data generated by extensions.
- VĂ€rden (separerade med | eller alternativ): categorysnippet, extensiondata, isfilematch, redirectsnippet, redirecttitle, sectionsnippet, sectiontitle, size, snippet, timestamp, titlesnippet, wordcount, hasrelated, score
- Standard: size|wordcount|timestamp|snippet
- srinterwiki
Include interwiki results in the search, if available.
- Type: boolean (details)
- 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.
- Type: boolean (details)
- srsort
Set the sort order of returned results.
- Ett av följande vÀrden: relevance
- Standard: relevance
- Search for meaning.
- api.php?action=query&list=search&srsearch=meaning [open in sandbox]
- Search texts for meaning.
- api.php?action=query&list=search&srwhat=text&srsearch=meaning [open in sandbox]
- Get page info about the pages returned for a search for meaning.
- api.php?action=query&generator=search&gsrsearch=meaning&prop=info [open in sandbox]
list=tags (tg)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Lista ÀndringsmÀrken.
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
The maximum number of tags to list.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
Which properties to get:
- 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.
- VĂ€rden (separerade med | eller alternativ): active, defined, description, displayname, hitcount, source
- Default: (empty)
- Lista tillgÀngliga taggar.
- api.php?action=query&list=tags&tgprop=displayname|description|hitcount|defined [open in sandbox]
list=trackingcategories (tc)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Enumerate all existing tracking categories defined in Special:TrackingCategories. A tracking category exists if it contains pages or if its category page exists.
- tccontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- tctrackingcatname
Search for all existing tracking category titles that match the provided tracking category name (as defined by "message name" on Special:TrackingCategories.)
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- tcmin
Only return existing tracking categories with at least this many members.
- Typ: heltal
- tcmax
Only return existing tracking categories with at most this many members.
- Typ: heltal
- tclimit
How many tracking categories to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- tcprop
Which properties to get:
- size
- Adds number of pages in the tracking category.
- hidden
- Tags tracking categories that are hidden with
__HIDDENCAT__.
- VĂ€rden (separerade med | eller alternativ): hidden, size
- Default: (empty)
- List tracking categories with information on the number of pages in each.
- api.php?action=query&list=trackingcategories&tcprop=size [open in sandbox]
- Retrieve info about the tracking category pages representing the broken-file-category themselves, if they exist
- api.php?action=query&generator=trackingcategories>ctrackingcatname=broken-file-category&prop=info [open in sandbox]
list=usercontribs (uc)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
HÀmta alla redigeringar av en anvÀndare.
- uclimit
The maximum number of contributions to return.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- ucstart
The start timestamp to return from, i.e. revisions before this timestamp.
- Type: timestamp (allowed formats)
- ucend
The end timestamp to return to, i.e. revisions after this timestamp.
- Type: timestamp (allowed formats)
- uccontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- ucuser
The users to retrieve contributions for. Cannot be used with ucuserids, ucuserprefix, or uciprange.
- Typ: lista över anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare och interwikinamn (t.ex. "prefix>Exempelnamn")
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- ucuserids
The user IDs to retrieve contributions for. Cannot be used with ucuser, ucuserprefix, or uciprange.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- ucuserprefix
Retrieve contributions for all users whose names begin with this value. Cannot be used with ucuser, ucuserids, or uciprange.
- uciprange
The CIDR range to retrieve contributions for. Cannot be used with ucuser, ucuserprefix, or ucuserids.
- ucdir
In which direction to enumerate:
- newer
- List oldest first. Note: ucstart has to be before ucend.
- older
- List newest first (default). Note: ucstart has to be later than ucend.
- Ett av följande vÀrden: newer, older
- Standard: older
- ucnamespace
Only list contributions in these namespaces.
- VĂ€rden (separerade med | eller alternativ): 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. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Adds the parsed comment of the edit. If the comment has been revision deleted, a commenthidden property will be returned.
- 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.
- VĂ€rden (separerade med | eller alternativ): comment, flags, ids, parsedcomment, patrolled, size, sizediff, tags, timestamp, title
- Standard: 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.
- VĂ€rden (separerade med | eller alternativ): !autopatrolled, !minor, !new, !patrolled, !top, autopatrolled, minor, new, patrolled, top
- uctag
Only list revisions tagged with this tag.
- uctoponly
- FörÄldrad.
Only list changes which are the latest revision.
- Type: boolean (details)
- 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)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
HÀmta information om en lista över anvÀndare.
- 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. To check whether the current user can perform the account creation, use action=query&meta=userinfo&uiprop=cancreateaccount.
- VĂ€rden (separerade med | eller alternativ): blockinfo, cancreate, centralids, editcount, emailable, gender, groupmemberships, groups, implicitgroups, registration, rights
- 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.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- ususerids
A list of user IDs to obtain information for.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- Return information for user Example.
- api.php?action=query&list=users&ususers=Example&usprop=groups|editcount|gender [open in sandbox]
list=watchlist (wl)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
HÀmta de senaste Àndringarna pÄ sidor i den nuvarande anvÀndarens bevakningslista.
- wlallrev
Include multiple revisions of the same page within given timeframe.
- Type: boolean (details)
- wlstart
The timestamp to start enumerating from.
- Type: timestamp (allowed formats)
- wlend
The timestamp to end enumerating.
- Type: timestamp (allowed formats)
- wlnamespace
Filter changes to only the given namespaces.
- VĂ€rden (separerade med | eller alternativ): 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.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- wlexcludeuser
Don't list changes by this user.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- wldir
In which direction to enumerate:
- newer
- List oldest first. Note: wlstart has to be before wlend.
- older
- List newest first (default). Note: wlstart has to be later than wlend.
- Ett av följande vÀrden: newer, older
- Standard: older
- wllimit
How many total results to return per request.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 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. If the user has been revision deleted, a userhidden property will be returned.
- userid
- Adds user ID of whoever made the edit. If the user has been revision deleted, a userhidden property will be returned.
- comment
- Adds comment of the edit. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Adds parsed comment of the edit. If the comment has been revision deleted, a commenthidden property will be returned.
- 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.
- tags
- Lists tags for the entry.
- expiry
- Adds the expiry time.
- VĂ€rden (separerade med | eller alternativ): comment, expiry, flags, ids, loginfo, notificationtimestamp, parsedcomment, patrol, sizes, tags, timestamp, title, user, userid
- Standard: 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.
- VĂ€rden (separerade med | eller alternativ): !anon, !autopatrolled, !bot, !minor, !patrolled, !unread, anon, autopatrolled, bot, minor, patrolled, 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.
- VĂ€rden (separerade med | eller alternativ): categorize, edit, external, log, new
- Standard: edit|new|log|categorize
- wlowner
Used along with wltoken to access a different user's watchlist.
- Typ: anvÀndare, genom anvÀndarnamn
- wltoken
A security token (available in the user's preferences) to allow access to another user's watchlist.
- wlcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- 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 additional information about the top revision for recently changed pages on the current user's watchlist, including when temporarily watched items will expire.
- api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment|expiry [open in sandbox]
- HÀmta information om de senaste Àndringarna pÄ sidor pÄ den aktuella anvÀndarens bevakningslista.
- api.php?action=query&list=watchlist&wlallrev=&wlprop=ids|title|timestamp|user|comment [open in sandbox]
- HÀmta sidinformation för nyligen uppdaterade sidor pÄ nuvarande anvÀndares bevakningslista.
- api.php?action=query&generator=watchlist&prop=info [open in sandbox]
- HÀmta Àndringsinformation för nyligen uppdaterade sidor pÄ nuvarande anvÀndares bevakningslista.
- 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)
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul kan anvÀndas som en generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
HÀmta alla sidor pÄ den aktuella anvÀndarens bevakningslista.
- wrcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- wrnamespace
Only list pages in the given namespaces.
- VĂ€rden (separerade med | eller alternativ): 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.
- Type: integer or max
- VÀrdet mÄste ligga mellan 1 och 500.
- Standard: 10
- wrprop
Which additional properties to get:
- changed
- Adds timestamp of when the user was last notified about the edit.
- VĂ€rden (separerade med | eller alternativ): changed
- wrshow
Only list items that meet these criteria.
- VĂ€rden (separerade med | eller alternativ): !changed, changed
- wrowner
Used along with wrtoken to access a different user's watchlist.
- Typ: anvÀndare, genom anvÀndarnamn
- 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.
- Ett av följande vÀrden: ascending, descending
- Standard: ascending
- wrfromtitle
Title (with namespace prefix) to begin enumerating from.
- wrtotitle
Title (with namespace prefix) to stop enumerating at.
- Lista sidor pÄ den aktuella anvÀndarens bevakningslista.
- 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)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnera meddelande frÄn denna sida.
- ammessages
Vilka meddelande att ge som utdata. * (standard) betyder alla meddelande .
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- Standard: *
- amprop
Vilka egenskaper att hÀmta.
- VĂ€rden (separerade med | eller alternativ): default
- amenableparser
Set to enable parser, will preprocess the wikitext of message (substitute magic words, handle templates, etc.).
- Type: boolean (details)
- amnocontent
If set, do not include the content of the messages in the output.
- Type: boolean (details)
- amincludelocal
Also include local messages, i.e. messages that don't exist in the software but do exist as in the MediaWiki namespace. This lists all MediaWiki-namespace pages, so it will also list those that aren't really messages such as Common.js.
- Type: boolean (details)
- amargs
Argument som ska substitueras i meddelandet.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- amfilter
Returnera enbart meddelande med namn som innehÄller denna strÀng.
- amcustomised
Returnera endast meddelanden i detta anpassningstillstÄnd.
- Ett av följande vÀrden: all, modified, unmodified
- Standard: all
- amlang
Returnera meddelanden pÄ detta sprÄk.
- amfrom
Returnera meddelanden med början pÄ detta meddelande.
- amto
Returnera meddelanden fram till och med detta meddelande.
- amtitle
Sidnamn som ska anvÀndas som kontext vid parsning av meddelande (för alternativet amenableparser).
- amprefix
Returnera meddelanden med detta prefix.
- Visa meddelanden som börjar med ipb-.
- api.php?action=query&meta=allmessages&refix=ipb- [open in sandbox]
- Visa meddelanden august och mainpage pÄ tyska.
- api.php?action=query&meta=allmessages&ammessages=august|mainpage&amlang=de [open in sandbox]
meta=authmanagerinfo (ami)
- Source: MediaWiki
- License: GPL-2.0-or-later
HĂ€mta information om aktuell autentiseringsstatus.
- 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.
- Ett av följande vÀrden: change, create, create-continue, link, link-continue, login, login-continue, remove, unlink
- amimergerequestfields
Merge field information for all authentication requests into one array.
- Type: boolean (details)
- amimessageformat
Format to use for returning messages.
- Ett av följande vÀrden: html, none, raw, wikitext
- Standard: 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=cxdeletedtranslations (dt)
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Source: ContentTranslation
- License: GPL-2.0-or-later
HÀmta antalet av dina publicerade översÀttningar som raderades.
- dtafter
TidsstÀmpel för att endast hÀmta nyare raderingar.
- Type: timestamp (allowed formats)
- dtnamespace
Namnrymder som de raderade översÀttningarna publicerades i. Huvudnamnrymden Àr standard.
- Ett av följande vÀrden: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- HÀmta antalet av dina raderade översÀttningar som publicerades till huvudnamnrymden och raderades efter 2019-04-07 16:24:44
- api.php?action=query&meta=cxdeletedtranslations&dtafter=2019-04-07T16%3A24%3A44.000Z&dtnamespace=0 [open in sandbox]
meta=filerepoinfo (fri)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnera metainformation om bildegenskaper som konfigureras pÄ wikin.
- friprop
Which repository properties to get (properties available may vary on other wikis).
- canUpload
- Whether files can be uploaded to this repository, e.g. via CORS and shared authentication.
- displayname
- The human-readable name of the repository wiki.
- favicon
- Repository wiki's favicon URL, from $wgFavicon.
- initialCapital
- Whether file names implicitly start with a capital letter.
- local
- Whether that repository is the local one or not.
- name
- The key of the repository - used in e.g. $wgForeignFileRepos and imageinfo return values.
- rootUrl
- Root URL path for image paths.
- scriptDirUrl
- Root URL path for the repository wiki's MediaWiki installation.
- thumbUrl
- Root URL path for thumbnail paths.
- url
- Public zone URL path.
- VĂ€rden (separerade med | eller alternativ): canUpload, displayname, favicon, initialCapital, local, name, rootUrl, scriptDirUrl, thumbUrl, url
- Standard: canUpload|displayname|favicon|initialCapital|local|name|rootUrl|scriptDirUrl|thumbUrl|url
- Get information about file repositories.
- api.php?action=query&meta=filerepoinfo&friprop=name|displayname [open in sandbox]
meta=globalpreferences (gpr)
- Denna modul krÀver lÀsrÀttigheter.
- Source: GlobalPreferences
- License: GPL-2.0-or-later
HÀmta globala instÀllningar för nuvarande anvÀndare.
Kan hÀmta bÄde globala instÀllningar och deras lokala ÄsidosÀttanden.
- gprprop
Vilka instÀllningar som ska inkluderas:
- preferences
- Globala instÀllningar.
- localoverrides
- Lokala ÄsidosÀttanden för globala instÀllningar.
- VĂ€rden (separerade med | eller alternativ): localoverrides, preferences
- Standard: preferences|localoverrides
meta=languageinfo (li)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Return information about available languages.
Continuation may be applied if retrieving the information takes too long for one request.
- liprop
Which information to get for each language.
- code
- The language code. (This code is MediaWiki-specific, though there are overlaps with other standards.)
- bcp47
- The BCP-47 language code.
- dir
- The writing direction of the language (either
ltrorrtl). - autonym
- The autonym of the language, that is, the name in that language.
- name
- The name of the language in the language specified by the uselang parameter, with language fallbacks applied if necessary.
- variantnames
- The short names for language variants used for language conversion links.
- fallbacks
- The language codes of the fallback languages configured for this language. The implicit final fallback to 'en' is not included (but some languages may fall back to 'en' explicitly).
- variants
- The language codes of the variants supported by this language.
- VĂ€rden (separerade med | eller alternativ): autonym, bcp47, code, dir, fallbacks, name, variantnames, variants
- Standard: code
- licode
Language codes of the languages that should be returned, or
*for all languages.- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- Standard: *
- licontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Get the language codes of all supported languages.
- api.php?action=query&meta=languageinfo [open in sandbox]
- Get the autonyms and German names of all supported languages.
- api.php?action=query&meta=languageinfo&liprop=autonym|name&uselang=de [open in sandbox]
- Get the fallback languages and variants of Occitan.
- api.php?action=query&meta=languageinfo&liprop=fallbacks|variants&licode=oc [open in sandbox]
- Get the BCP-47 language code and direction of all supported languages.
- api.php?action=query&meta=languageinfo&liprop=bcp47|dir [open in sandbox]
meta=siteinfo (si)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returnera allmÀn information om webbplatsen.
- 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.
- autocreatetempuser
- Returns configuration for the automatic creation of temporary user accounts (also known as IP masking).
- clientlibraries
- Returns client-side libraries installed on the wiki
- 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
- Returnerar en lista över sprÄkkoder som LanguageConverter har aktiverat och de varianter som varje stöder.
- 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.
- autopromote
- Returns the automatic promotion configuration.
- autopromoteonce
- Returns the automatic promotion configuration that are only done once.
- copyuploaddomains
- Returns the list of allowed copy upload domains
- VĂ€rden (separerade med | eller alternativ): autocreatetempuser, autopromote, autopromoteonce, clientlibraries, copyuploaddomains, dbrepllag, defaultoptions, extensions, extensiontags, fileextensions, functionhooks, general, interwikimap, languages, languagevariants, libraries, magicwords, namespacealiases, namespaces, protocols, restrictions, rightsinfo, showhooks, skins, specialpagealiases, statistics, uploaddialog, usergroups, variables
- Standard: general
- sifilteriw
Return only local or only nonlocal entries of the interwiki map.
- Ett av följande vÀrden: !local, local
- sishowalldb
List all database servers, not just the one lagging the most.
- Type: boolean (details)
- sinumberingroup
Lists the number of users in user groups.
- Type: boolean (details)
- siinlanguagecode
Language code for localised language names (best effort) and skin names.
- HĂ€mta information om webbplatsen.
- api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics [open in sandbox]
- Fetch a list of local interwiki prefixes.
- api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local [open in sandbox]
- Check the current replication lag.
- api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb= [open in sandbox]
meta=tokens
- Source: MediaWiki
- License: GPL-2.0-or-later
Gets tokens for data-modifying actions.
- type
Types of token to request.
- VĂ€rden (separerade med | eller alternativ): createaccount, csrf, login, patrol, rollback, userrights, watch
- To specify all values, use *.
- Standard: 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)
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
FÄ information om den aktuella anvÀndaren.
- 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.
- theoreticalratelimits
- Lists all rate limits that would apply to the current user if they were not exempt from all ratelimits based on user rights or ip.
- Adds the user's email address and email authentication date.
- realname
- Adds the user's real name.
- acceptlang
- Echoes the
Accept-Languageheader 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.
- latestcontrib
- LÀgg till datumet för anvÀndarens senaste bidrag.
- cancreateaccount
- Indicates whether the user is allowed to create accounts. To check whether some specific account can be created, use action=query&list=users&usprop=cancreate.
- VĂ€rden (separerade med | eller alternativ): acceptlang, blockinfo, cancreateaccount, centralids, changeablegroups, editcount, email, groupmemberships, groups, hasmsg, implicitgroups, latestcontrib, options, ratelimits, realname, registrationdate, rights, theoreticalratelimits, unreadcount
- To specify all values, use *.
- uiattachedwiki
With uiprop=centralids, indicate whether the user is attached with the wiki identified by this ID.
- FÄ information om den aktuella anvÀndaren.
- api.php?action=query&meta=userinfo [open in sandbox]
- FÄ ytterligare information om den aktuella anvÀndaren.
- api.php?action=query&meta=userinfo&uiprop=blockinfo|groups|rights|hasmsg [open in sandbox]
action=removeauthenticationdata
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Remove authentication data for the current user.
- request
Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=remove.
- Den hÀr parametern Àr obligatorisk.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Attempt to remove the current user's data for FooAuthenticationRequest.
- api.php?action=removeauthenticationdata&request=FooAuthenticationRequest&token=123ABC [open in sandbox]
action=resetpassword
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Send a password reset email to a user.
- user
User being reset.
- Typ: anvÀndare, genom anvÀndarnamn
Email address of the user being reset.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- 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
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Radera och ÄterstÀll sidversioner.
- type
Type of revision deletion being performed.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: archive, filearchive, logging, oldimage, revision
- target
Page title for the revision deletion, if required for the type.
- ids
Identifiers for the revisions to be deleted.
- Den hÀr parametern Àr obligatorisk.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- hide
What to hide for each revision.
- VĂ€rden (separerade med | eller alternativ): comment, content, user
- show
What to unhide for each revision.
- VĂ€rden (separerade med | eller alternativ): comment, content, user
- suppress
Whether to suppress data from administrators as well as others.
- Ett av följande vÀrden: no, nochange, yes
- Standard: nochange
- reason
Reason for the deletion or undeletion.
Tags to apply to the entry in the deletion log.
- VĂ€rden (separerade med | eller alternativ):
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Hide content for revision 12345 on the page VĂ€lkommen!.
- api.php?action=revisiondelete&target=V%C3%A4lkommen%21&type=revision&ids=12345&hide=content&token=123ABC [open in sandbox]
- Hide all data on log entry 67890 with the reason BLP violation.
- api.php?action=revisiondelete&type=logging&ids=67890&hide=content|comment|user&reason=BLP%20violation&token=123ABC [open in sandbox]
action=rollback
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
à ngra den senaste redigeringen pÄ sidan.
Om den senaste anvÀndaren som redigerade sidan gjorde flera redigeringar i rad kommer alla rullas tillbaka.
- 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.
- Typ: heltal
Tags to apply to the rollback.
- VĂ€rden (separerade med | eller alternativ):
- user
Name of the user whose edits are to be rolled back.
- Den hÀr parametern Àr obligatorisk.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, interwikinamn (t.ex. "prefix>Exempelnamn") och anvÀndar-ID (t.ex. "#12345")
- summary
Custom edit summary. If empty, default summary will be used.
- Default: (empty)
- markbot
Mark the reverted edits and the revert as bot edits.
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- Ett av följande vÀrden: nochange, preferences, unwatch, watch
- Standard: preferences
- token
A "rollback" token retrieved from action=query&meta=tokens
For compatibility, the token used in the web UI is also accepted.
- Den hÀr parametern Àr obligatorisk.
- Roll back the last edits to page VĂ€lkommen! by user Example.
- api.php?action=rollback&title=V%C3%A4lkommen%21&user=Example&token=123ABC [open in sandbox]
- Roll back the last edits to page VĂ€lkommen! 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=V%C3%A4lkommen%21&user=192.0.2.5&token=123ABC&summary=Reverting%20vandalism&markbot=1 [open in sandbox]
action=rsd
- Source: MediaWiki
- License: GPL-2.0-or-later
Export an RSD (Really Simple Discovery) schema.
- Export the RSD schema.
- api.php?action=rsd [open in sandbox]
action=setnotificationtimestamp
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
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 "Skicka e-post till mig nÀr en sida eller fil pÄ min bevakningslista Àndras" preference is enabled.
- entirewatchlist
Work on all watched pages.
- Type: boolean (details)
- timestamp
Timestamp to which to set the notification timestamp.
- Type: timestamp (allowed formats)
- torevid
Revision to set the notification timestamp to (one page only).
- Typ: heltal
- newerthanrevid
Revision to set the notification timestamp newer than (one page only).
- Typ: heltal
- continue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- titles
A list of titles to work on.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- pageids
A list of page IDs to work on.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- revids
A list of revision IDs to work on. Note that almost all query modules will convert revision IDs to the corresponding page ID and work on the latest revision instead. Only prop=revisions uses exact revisions for its response.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- generator
Get the list of pages to work on by executing the specified query module.
Note: Generator parameter names must be prefixed with a "g", see examples.
- allcategories
- Enumerate all categories.
- alldeletedrevisions
- Lista alla raderade revisioner av en anvÀndare or inom en namnrymd.
- allfileusages
- Lista all fil anvÀndningsomrÄden, inklusive icke-existerande.
- allimages
- Enumerate all images sequentially.
- alllinks
- Enumerate all links that point to a given namespace.
- allpages
- Enumerate all pages sequentially in a given namespace.
- allredirects
- Lista alla omdirigeringar till en namnrymd.
- allrevisions
- Lista alla sidversioner.
- alltransclusions
- Lista alla mallinkluderingar (sidor inbÀddade med {{x}}), inklusive icke-befintliga.
- backlinks
- Hitta alla sidor som lÀnkar till den givna sidan.
- categories
- Lista alla kategorier sidorna tillhör.
- categorymembers
- Lista alla sidor i en angiven kategori.
- deletedrevisions
- HĂ€mta information om raderad sidversion.
- duplicatefiles
- Lista alla filer som Àr dubbletter av angivna filer baserat pÄ hashvÀrden.
- embeddedin
- Hitta alla sidor som bÀddar in (inkluderar) angiven titel.
- exturlusage
- Enumerate pages that contain a given URL.
- fileusage
- Hitta alla sidor som anvÀnder angivna filer.
- images
- Returns all files contained on the given pages.
- imageusage
- Hitta alla sidor som anvÀnder angiven bildtitel.
- iwbacklinks
- Find all pages that link to the given interwiki link.
- langbacklinks
- Find all pages that link to the given language link.
- links
- Returnerar alla lÀnkar frÄn angivna sidor.
- linkshere
- Hitta alla sidor som lÀnkar till angivna sidor.
- pageswithprop
- Lista alla sidor som anvÀnder en angiven sidegenskap.
- 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
- HÀmta en uppsÀttning slumpsidor.
- recentchanges
- Enumerate recent changes.
- redirects
- Returnerar alla omdirigeringar till angivna sidor.
- revisions
- HĂ€mta information om sidversion.
- search
- Utför en heltextsökning.
- templates
- Returnerar alla sidinkluderingar pÄ angivna sidor.
- trackingcategories
- Enumerate all existing tracking categories defined in Special:TrackingCategories. A tracking category exists if it contains pages or if its category page exists.
- transcludedin
- Hitta alla sidor som inkluderar angivna sidor.
- watchlist
- HÀmta de senaste Àndringarna pÄ sidor i den nuvarande anvÀndarens bevakningslista.
- watchlistraw
- HÀmta alla sidor pÄ den aktuella anvÀndarens bevakningslista.
- Ett av följande vÀrden: 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, trackingcategories, transcludedin, watchlist, watchlistraw
- redirects
Automatically resolve redirects in titles, pageids, and revids, and in pages returned by generator.
- Type: boolean (details)
- converttitles
Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion. Languages that support variant conversion include ban, crh, en, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh och zh.
- Type: boolean (details)
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- à terstÀll meddelandestatus för hela bevakningslistan.
- api.php?action=setnotificationtimestamp&entirewatchlist=&token=123ABC [open in sandbox]
- Reset the notification status for VĂ€lkommen!.
- api.php?action=setnotificationtimestamp&titles=V%C3%A4lkommen%21&token=123ABC [open in sandbox]
- Set the notification timestamp for VĂ€lkommen! so all edits since 1 January 2012 are unviewed.
- api.php?action=setnotificationtimestamp&titles=V%C3%A4lkommen%21×tamp=2012-01-01T00:00:00Z&token=123ABC [open in sandbox]
- Reset the notification status for pages in the AnvÀndare namespace.
- api.php?action=setnotificationtimestamp&generator=allpages&gapnamespace=2&token=123ABC [open in sandbox]
action=setpagelanguage
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Ăndra sprĂ„ket pĂ„ en sida.
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.
- Typ: heltal
- lang
Language code of the language to change the page to. Use default to reset the page to the wiki's default content language.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: aae, ab, abr, abs, ace, acf, acm, ady, ady-cyrl, aeb, aeb-arab, aeb-latn, af, aig, aln, alt, am, ami, an, ang, ann, anp, apc, ar, arc, arn, arq, ary, arz, as, ase, ast, atj, av, avk, awa, ay, az, azb, ba, ban, ban-bali, bar, bbc, bbc-latn, bcc, bci, bcl, bdr, be, be-tarask, bew, bg, bgc, bgn, bh, bho, bi, bjn, blk, bm, bn, bo, bpy, bqi, br, brh, bs, btm, bto, bug, bug-bugi, bxr, ca, cbk-zam, ccp, cdo, cdo-hant, cdo-latn, ce, ceb, ch, chn, chr, chy, ckb, co, cop, cps, cpx, cpx-hans, cpx-hant, cr, crh, crh-cyrl, crh-latn, crh-ro, cs, csb, cu, cv, cy, da, dag, de, de-at, de-ch, de-formal, default, dga, din, diq, dlg, dsb, dtp, dty, dua, dv, dz, ee, efi, egl, el, eml, en, en-ca, en-gb, eo, es, es-formal, et, eu, ext, fa, fat, ff, fi, fit, fj, fo, fon, fr, frc, frp, frr, fur, fvr, fy, ga, gaa, gag, gan, gan-hans, gan-hant, gcf, gcr, gd, gl, gld, glk, gn, gom, gom-deva, gom-latn, gor, got, gpe, grc, gsw, gu, guc, gur, guw, gv, ha, hak, hak-hans, hak-hant, hak-latn, haw, he, hi, hif, hif-latn, hil, hke, hno, hoc-latn, hr, hrx, hsb, hsn, ht, hu, hu-formal, hy, hyw, ia, iba, ibb, id, ie, ig, igl, ii, ik, ike-cans, ike-latn, ilo, inh, io, is, isv-cyrl, isv-latn, it, iu, ja, jam, jbo, jut, jv, ka, kaa, kab, kai, kaj, kbd, kbd-cyrl, kbp, kcg, kea, kg, kge, khw, ki, kiu, kjh, kjp, kk, kk-arab, kk-cn, kk-cyrl, kk-kz, kk-latn, kk-tr, kl, km, kn, knc, ko, ko-kp, koi, kr, krc, kri, krj, krl, ks, ks-arab, ks-deva, ksh, ksw, ku, ku-arab, ku-latn, kum, kus, kv, kw, ky, la, lad, lb, lbe, lez, lfn, lg, li, lij, liv, ljp, lki, lld, lmo, ln, lo, loz, lrc, lt, ltg, lua, lus, luz, lv, lzh, lzz, mad, mag, mai, map-bms, mdf, mg, mhr, mi, min, mk, ml, mn, mnc, mnc-latn, mnc-mong, mni, mnw, mo, mos, mr, mrh, mrj, ms, ms-arab, mt, mui, mwl, my, myv, mzn, nah, nan, nan-hant, nan-latn-pehoeji, nan-latn-tailo, nap, nb, nds, nds-nl, ne, new, nia, nit, niu, nl, nl-informal, nmz, nn, no, nod, nog, nov, nqo, nr, nrm, nso, nup, nv, ny, nyn, nyo, nys, oc, ojb, olo, om, or, os, pa, pag, pam, pap, pap-aw, pcd, pcm, pdc, pdt, pfl, pi, pih, pl, pms, pnb, pnt, prg, ps, pt, pt-br, pwn, qu, qug, rgn, rif, rki, rm, rmc, rmy, rn, ro, roa-tara, rsk, ru, rue, rup, ruq, ruq-cyrl, ruq-latn, rut, rw, ryu, sa, sah, sas, sat, sc, scn, sco, sd, sdc, sdh, se, se-fi, se-no, se-se, sei, ses, sg, sgs, sh, sh-cyrl, sh-latn, shi, shn, shy, shy-latn, si, sjd, sje, sk, skr, skr-arab, sl, sli, sm, sma, smn, sms, sn, so, sq, sr, sr-ec, sr-el, srn, sro, ss, st, stq, sty, su, sv, sw, syl, szl, szy, ta, tay, tcy, tdd, te, tet, tg, tg-cyrl, tg-latn, th, ti, tig, tk, tl, tly, tn, to, tok, tpi, tr, tru, trv, ts, tt, tt-cyrl, tt-latn, ttj, tum, tw, ty, tyv, tzm, udm, ug, ug-arab, ug-latn, uk, ur, uz, ve, vec, vep, vi, vls, vmf, vmw, vo, vot, vro, wa, wal, war, wls, wlx, wo, wuu, wuu-hans, wuu-hant, xal, xh, xmf, xsy, yi, yo, yrl, yua, yue, yue-hans, yue-hant, za, zea, zgh, zh, zh-cn, zh-hans, zh-hant, zh-hk, zh-mo, zh-my, zh-sg, zh-tw, zu
- reason
Reason for the change.
Change tags to apply to the log entry resulting from this action.
- VĂ€rden (separerade med | eller alternativ):
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Change the language of the page VĂ€lkommen! to Basque.
- api.php?action=setpagelanguage&title=V%C3%A4lkommen%21&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
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
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.
- Den hÀr parametern Àr obligatorisk.
- section
Section identifier. 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
Ăndra sammanfattning.
- Default: (empty)
- contentmodel
Content model of the new content.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: css, javascript, json, text, unknown, vue, wikitext
- contentformat
Content serialization format used for the input text.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- baserevid
Revision ID of the base revision.
- Den hÀr parametern Àr obligatorisk.
- Typ: heltal
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
action=sxdelete
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: ContentTranslation
- License: GPL-2.0-or-later
Radera översÀttningen av utkastsavsnittet och dess parallella korpus frÄn databasen.
- sectiontranslationid
Avsnittets översÀttnings-ID som Àr associerat med översÀttningen av utkastsavsnittet.
- Den hÀr parametern Àr obligatorisk.
- Typ: heltal
- translationid
ĂversĂ€ttnings-ID som Ă€r associerat med översĂ€ttningen av utkastsavsnittet.
- Den hÀr parametern Àr obligatorisk.
- Typ: heltal
- sectionid
ID för avsnittet i utkastet till avsnittsöversÀttning.
- Den hÀr parametern Àr obligatorisk.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Radera ett utkast som Àr associerat med ett angivet översÀttnings-ID och avsnitts-ID.
- api.php?action=sxdelete&translationid=1§ionid=100_20 [open in sandbox]
action=sxsave
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: ContentTranslation
- License: GPL-2.0-or-later
Spara översÀttningsskiss för avsnittet och lagra den parallella texten
- sourcelanguage
KÀllans sprÄkkod.
- Den hÀr parametern Àr obligatorisk.
- targetlanguage
MÄlets sprÄkkod.
- Den hÀr parametern Àr obligatorisk.
- sourcetitle
KĂ€llsidans titel.
- Den hÀr parametern Àr obligatorisk.
- targettitle
MÄlsidans titel.
- Den hÀr parametern Àr obligatorisk.
- content
JSON-kodad avsnittsdata. Varje avsnitt Àr ett objekt och har följande nycklar: content, sectionId, origin, validate
- Den hÀr parametern Àr obligatorisk.
- sourcerevision
KĂ€llsidans versions-ID.
- Den hÀr parametern Àr obligatorisk.
- Typ: heltal
- sourcesectiontitle
KĂ€llavsnittets titel.
- Den hÀr parametern Àr obligatorisk.
- targetsectiontitle
MÄlavsnittets titel.
- Den hÀr parametern Àr obligatorisk.
- sectionid
Sidans avsnitts-ID.
- Den hÀr parametern Àr obligatorisk.
- issandbox
AnvÀnd en sandlÄdetitel för översÀttningen.
- Type: boolean (details)
- progress
ĂversĂ€ttningens framsteg.
- Den hÀr parametern Àr obligatorisk.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
action=tag
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
LÀgg till eller ta bort ÀndringsmÀrken frÄn individuella sidversioner eller loggposter.
- rcid
One or more recent changes IDs from which to add or remove the tag.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- revid
One or more revision IDs from which to add or remove the tag.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- logid
One or more log entry IDs from which to add or remove the tag.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- add
Tags to add. Only manually defined tags can be added.
- VĂ€rden (separerade med | eller alternativ):
- remove
Tags to remove. Only tags that are either manually defined or completely undefined can be removed.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- reason
Reason for the change.
- Default: (empty)
Tags to apply to the log entry that will be created as a result of this action.
- VĂ€rden (separerade med | eller alternativ):
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- 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=ulslocalization
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Source: UniversalÂLanguageÂSelector
- License: GPL-2.0-or-later OR MIT
FÄ lokalanpassningen av ULS pÄ ett visst sprÄk.
- language
SprÄkkod.
- Den hÀr parametern Àr obligatorisk.
- FÄ lokalanpassning för Tamil
- api.php?action=ulslocalization&language=ta [open in sandbox]
- FÄ lokalanpassning för Hindi
- api.php?action=ulslocalization&language=hi [open in sandbox]
action=ulssetlang
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: UniversalÂLanguageÂSelector
- License: GPL-2.0-or-later OR MIT
Uppdatera det sprÄk som anvÀndaren valt för grÀnssnittet.
- languagecode
Den föredragna sprÄkkoden.
- Den hÀr parametern Àr obligatorisk.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
action=unblock
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
UpphÀv en anvÀndares blockering.
- id
ID för blockeringen att hÀva (hÀmtas genom list=blocks). Kan inte anvÀndas tillsammans med user eller userid.
- Typ: heltal
- user
AnvÀndarnamn, IP-adresser eller IP-adressintervall att hÀva blockering för. Kan inte anvÀndas tillsammans med id eller userid.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn, IP-adress, TillfÀllig anvÀndare, IP-intervall och anvÀndar-ID (t.ex. "#12345")
- userid
- FörÄldrad.
Ange user=#ID istÀllet.
- Typ: heltal
- reason
Reason for unblock.
- Default: (empty)
Change tags to apply to the entry in the block log.
- VĂ€rden (separerade med | eller alternativ):
- watchuser
Watch the user's or IP address's user and talk pages.
- Type: boolean (details)
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- 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
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
à terstÀll sidversioner för en raderad sida.
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 undelete.
- Den hÀr parametern Àr obligatorisk.
- reason
Reason for restoring.
- Default: (empty)
Change tags to apply to the entry in the deletion log.
- VĂ€rden (separerade med | eller alternativ):
- timestamps
Timestamps of the revisions to undelete. If both timestamps and fileids are empty, all will be undeleted.
- Type: list of timestamps (allowed formats)
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- fileids
IDs of the file revisions to restore. If both timestamps and fileids are empty, all will be restored.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- undeletetalk
Undelete all revisions of the associated talk page, if any.
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- Ett av följande vÀrden: nochange, preferences, unwatch, watch
- Standard: preferences
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Undelete page VĂ€lkommen!.
- api.php?action=undelete&title=V%C3%A4lkommen%21&token=123ABC&reason=Restoring%20V%C3%A4lkommen%21 [open in sandbox]
- Undelete two revisions of page VĂ€lkommen!.
- api.php?action=undelete&title=V%C3%A4lkommen%21&token=123ABC×tamps=2007-07-03T22:00:45Z|2007-07-02T19:48:56Z [open in sandbox]
action=unlinkaccount
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Ta bort ett lÀnkat tredjepartskonto frÄn aktuell anvÀndare.
- request
Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=unlink.
- Den hÀr parametern Àr obligatorisk.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- 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
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Ladda upp en fil eller hÀmta status för vÀntande uppladdningar.
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, was uploaded in pieces, or stored otherwise in the upload stash, 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 or chunk.
- filename
Target filename.
- comment
Upload comment. Also used as the initial page text for new files if text is not specified.
- Default: (empty)
Change tags to apply to the upload log entry and file page revision.
- VĂ€rden (separerade med | eller alternativ):
- text
Initial page text for new files.
- watch
- FörÄldrad.
Watch the page.
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- Ett av följande vÀrden: nochange, preferences, watch
- Standard: preferences
- ignorewarnings
Ignore any warnings.
- Type: boolean (details)
- file
File contents.
- MÄste lÀggas upp som filuppladdning med hjÀlp av multipart/form-data.
- url
URL to fetch the file from.
- filekey
Nyckel som identifierar en tidigare uppladdning som lagrats temporÀrt.
- sessionkey
- FörÄldrad.
Same as filekey, maintained for backward compatibility.
- stash
Om angiven, kommer servern att temporÀrt lagra filen istÀllet för att lÀgga till den i centralförvaret.
- Type: boolean (details)
- filesize
Filesize of entire upload.
- Typ: heltal
- VÀrdet mÄste ligga mellan 0 och 104 857 600.
- offset
Offset of chunk in bytes.
- Typ: heltal
- VÀrdet fÄr inte vara mindre Àn 0.
- chunk
Chunk contents.
- MÄste lÀggas upp som filuppladdning med hjÀlp av multipart/form-data.
- async
Make potentially large file operations asynchronous when possible.
- Type: boolean (details)
- checkstatus
Only fetch the upload status for the given file key.
- Type: boolean (details)
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Ladda upp frÄn URL.
- api.php?action=upload&filename=Wiki.png&url=http%3A//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png&token=123ABC [open in sandbox]
- Slutför en uppladdning som misslyckades pÄ grund av varningar.
- api.php?action=upload&filename=Wiki.png&filekey=filekey&ignorewarnings=1&token=123ABC [open in sandbox]
action=userrights
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
Ăndra en anvĂ€ndares gruppmedlemskap.
- user
User.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn och anvÀndar-ID (t.ex. "#12345")
- userid
- FörÄldrad.
Specify user=#ID instead.
- Typ: heltal
- add
Add the user to these groups, or if they are already a member, update the expiry of their membership in that group.
- VĂ€rden (separerade med | eller alternativ): administrators, bot, bureaucrat, interface-admin, suppress, sysop, temp
- 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.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- Standard: infinite
- remove
Remove the user from these groups.
- VĂ€rden (separerade med | eller alternativ): administrators, bot, bureaucrat, interface-admin, suppress, sysop, temp
- reason
Reason for the change.
- Default: (empty)
- token
A "userrights" token retrieved from action=query&meta=tokens
For compatibility, the token used in the web UI is also accepted.
- Den hÀr parametern Àr obligatorisk.
Change tags to apply to the entry in the user rights log.
- VĂ€rden (separerade med | eller alternativ):
- watchuser
Watch the user's user and talk pages.
- Type: boolean (details)
- Add user FooBot to group bot, and remove from groups sysop and bureaucrat.
- api.php?action=userrights&user=FooBot&add=bot&remove=sysop|bureaucrat&token=123ABC [open in sandbox]
- Add the user with ID 123 to group bot, and remove from groups sysop and 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
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
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.
- Den hÀr parametern Àr obligatorisk.
- user
Username, for use when testing account creation. The named user must not exist.
- Typ: anvÀndare, genom nÄgot av anvÀndarnamn och anvÀndar-ID (t.ex. "#12345")
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=visualeditor
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Source: VisualEditor
- License: MIT
Returnerar HTML5 för en sida frÄn Parsoid-tjÀnsten.
- page
Sidan som ÄtgÀrden ska utföras pÄ.
- Den hÀr parametern Àr obligatorisk.
- badetag
Om RESTBase-frÄgan returnerade en ETag som verkar ogiltigt, skicka med den för loggning.
- format
Formatet för utdata.
- Ett av följande vÀrden: json, jsonfm
- Standard: jsonfm
- paction
à tgÀrd att utföra.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: metadata, parse, parsefragment, templatesused, wikitext
- wikitext
Wikitext att skicka till Parsoid att konvertera till HTML (paction=parsefragment).
- section
Avsnittet att behandla.
- stash
Ăndra detta till "true" om du vill anvĂ€nda stashing-API nĂ€r du sparar.
- Type: boolean (details)
- oldid
Versionsnummer att anvÀnda (standard Àr senaste versionen).
- Typ: heltal
- editintro
Redigera intro till att lÀgga till notiser.
- pst
För-spara omvandlad wikitext innan den sÀnds till Parsoid (paction=parsefragment).
- Type: boolean (details)
- preload
Sidan att anvÀnda innehÄll frÄn om den hÀmtade sidan inte Ànnu har nÄgot innehÄll.
- preloadparams
Parametrar att lÀgga in i den förhandsinlÀsta sidan, om nÄgra finns.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
action=visualeditoredit
- Denna modul Àr intern eller instabil. Dess funktion kan Àndras utan föregÄende meddelande.
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: VisualEditor
- License: MIT
Spara en HTML5-sida till MediaWiki (konverterad till wikitext via Parsoid-tjÀnsten).
- paction
à tgÀrd att utföra.
- Den hÀr parametern Àr obligatorisk.
- Ett av följande vÀrden: diff, save, serialize, serializeforcache
- page
Sidan som ÄtgÀrden ska utföras pÄ.
- Den hÀr parametern Àr obligatorisk.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- wikitext
Wikitexten att arbeta med.
- section
Avsnittet att behandla.
- sectiontitle
Rubrik för nytt avsnitt.
- basetimestamp
NÀr du sparar, stÀll in denna till tidsstÀmpel för versionen som redigerades. AnvÀnds för att upptÀcka redigeringskonflikter.
- Type: timestamp (allowed formats)
- starttimestamp
NÀr du sparar, stÀll in denna till tidsstÀmpel för nÀr sidan laddades. AnvÀnds för att upptÀcka redigeringskonflikter.
- Type: timestamp (allowed formats)
- oldid
Versionsnummer att anvÀnda. Standard Àr senaste versionen.
- Typ: heltal
- minor
Flagga för mindre redigering.
- watchlist
LÀgg till eller ta bort sidan ovillkorligen frÄn den aktuella anvÀndarens bevakningslista, anvÀnd instÀllningar eller Àndra inte bevakning.
- html
HTML att skicka till Parsoid i utbyte mot wikitext.
- etag
ETag att skicka.
- summary
Redigeringssammanfattning.
- captchaid
Captcha-ID (vid sparning med ett captcha-svar).
- captchaword
Svar till captcha (vid sparning med ett captcha-svar).
- cachekey
AnvÀnd resultatet frÄn en tidigare serializeforcache-begÀran med denna nyckel. à sidosÀtter html.
- nocontent
UtelÀmna HTML-innehÄllet frÄn den nya versionen i svaret.
- Type: boolean (details)
- returnto
Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.
- Typ: Sidans titel
- Accepterar sidor som inte finns.
- returntoquery
URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.
- Default: (empty)
- returntoanchor
URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.
- Default: (empty)
- useskin
Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.
- Ett av följande vÀrden: apioutput, authentication-popup, contenttranslation, fallback, json, minerva, monobook, timeless, vector, vector-2022
Ăndra taggar att tillĂ€mpa i redigeringen.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- plugins
Insticksprogram som Àr kopplade till API-begÀran.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- data-{plugin}
Godtyckliga data som skickas av ett plugin med API-begÀran.
- This is a templated parameter. When making the request, {plugin} in the parameter's name should be replaced with values of plugins.
- mobileformat
Returnera tolk-utdata i ett format som passar mobila enheter.
- Type: boolean (details)
action=watch
- Denna modul krÀver lÀsrÀttigheter.
- Denna modul krÀver skrivrÀttigheter.
- Denna modul accepterar endast POST-begÀranden.
- Source: MediaWiki
- License: GPL-2.0-or-later
LÀgg till eller ta bort sidor frÄn aktuell anvÀndares bevakningslista.
- title
- FörÄldrad.
The page to (un)watch. Use titles instead.
- unwatch
If set the page will be unwatched rather than watched.
- Type: boolean (details)
- continue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- titles
A list of titles to work on.
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- pageids
A list of page IDs to work on.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- revids
A list of revision IDs to work on. Note that almost all query modules will convert revision IDs to the corresponding page ID and work on the latest revision instead. Only prop=revisions uses exact revisions for its response.
- Typ: lista över heltal
- Separera vÀrden med | eller alternativ.
- Högsta antalet vÀrden Àr 50 (500 för klienter som tillÄts högre grÀnser).
- generator
Get the list of pages to work on by executing the specified query module.
Note: Generator parameter names must be prefixed with a "g", see examples.
- allcategories
- Enumerate all categories.
- alldeletedrevisions
- Lista alla raderade revisioner av en anvÀndare or inom en namnrymd.
- allfileusages
- Lista all fil anvÀndningsomrÄden, inklusive icke-existerande.
- allimages
- Enumerate all images sequentially.
- alllinks
- Enumerate all links that point to a given namespace.
- allpages
- Enumerate all pages sequentially in a given namespace.
- allredirects
- Lista alla omdirigeringar till en namnrymd.
- allrevisions
- Lista alla sidversioner.
- alltransclusions
- Lista alla mallinkluderingar (sidor inbÀddade med {{x}}), inklusive icke-befintliga.
- backlinks
- Hitta alla sidor som lÀnkar till den givna sidan.
- categories
- Lista alla kategorier sidorna tillhör.
- categorymembers
- Lista alla sidor i en angiven kategori.
- deletedrevisions
- HĂ€mta information om raderad sidversion.
- duplicatefiles
- Lista alla filer som Àr dubbletter av angivna filer baserat pÄ hashvÀrden.
- embeddedin
- Hitta alla sidor som bÀddar in (inkluderar) angiven titel.
- exturlusage
- Enumerate pages that contain a given URL.
- fileusage
- Hitta alla sidor som anvÀnder angivna filer.
- images
- Returns all files contained on the given pages.
- imageusage
- Hitta alla sidor som anvÀnder angiven bildtitel.
- iwbacklinks
- Find all pages that link to the given interwiki link.
- langbacklinks
- Find all pages that link to the given language link.
- links
- Returnerar alla lÀnkar frÄn angivna sidor.
- linkshere
- Hitta alla sidor som lÀnkar till angivna sidor.
- pageswithprop
- Lista alla sidor som anvÀnder en angiven sidegenskap.
- 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
- HÀmta en uppsÀttning slumpsidor.
- recentchanges
- Enumerate recent changes.
- redirects
- Returnerar alla omdirigeringar till angivna sidor.
- revisions
- HĂ€mta information om sidversion.
- search
- Utför en heltextsökning.
- templates
- Returnerar alla sidinkluderingar pÄ angivna sidor.
- trackingcategories
- Enumerate all existing tracking categories defined in Special:TrackingCategories. A tracking category exists if it contains pages or if its category page exists.
- transcludedin
- Hitta alla sidor som inkluderar angivna sidor.
- watchlist
- HÀmta de senaste Àndringarna pÄ sidor i den nuvarande anvÀndarens bevakningslista.
- watchlistraw
- HÀmta alla sidor pÄ den aktuella anvÀndarens bevakningslista.
- Ett av följande vÀrden: 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, trackingcategories, transcludedin, watchlist, watchlistraw
- redirects
Automatically resolve redirects in titles, pageids, and revids, and in pages returned by generator.
- Type: boolean (details)
- converttitles
Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion. Languages that support variant conversion include ban, crh, en, gan, iu, ku, mni, sh, shi, sr, tg, tly, uz, wuu, zgh och zh.
- Type: boolean (details)
- token
A "watch" token retrieved from action=query&meta=tokens
- Den hÀr parametern Àr obligatorisk.
- Watch the page VĂ€lkommen!.
- api.php?action=watch&titles=V%C3%A4lkommen%21&token=123ABC [open in sandbox]
- Unwatch the page VĂ€lkommen!.
- api.php?action=watch&titles=V%C3%A4lkommen%21&unwatch=&token=123ABC [open in sandbox]
- Watch the first few pages in the main namespace.
- api.php?action=watch&generator=allpages&gapnamespace=0&token=123ABC [open in sandbox]
action=webapp-manifest
- Denna modul krÀver lÀsrÀttigheter.
- Source: MobileFrontend
- License: GPL-2.0-or-later
Returnerar ett webbappsmanifest.
format=json
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Output data in JSON format.
- callback
If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.
- utf8
If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences. Default when formatversion is not 1.
- Type: boolean (details)
- ascii
If specified, encodes all non-ASCII using hexadecimal escape sequences. Default when formatversion is 1.
- Type: boolean (details)
- formatversion
Output formatting
- 1
- Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
- 2
- Modern format.
- latest
- Use the latest format (currently 2), may change without warning.
- Ett av följande vÀrden: 1, 2, latest
- Standard: 1
- Return the query result in the JSON format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=json [open in sandbox]
format=jsonfm
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Output data in JSON format (pretty-print in HTML).
- wrappedhtml
Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.
- Type: boolean (details)
- callback
If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.
- utf8
If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences. Default when formatversion is not 1.
- Type: boolean (details)
- ascii
If specified, encodes all non-ASCII using hexadecimal escape sequences. Default when formatversion is 1.
- Type: boolean (details)
- formatversion
Output formatting
- 1
- Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
- 2
- Modern format.
- latest
- Use the latest format (currently 2), may change without warning.
- Ett av följande vÀrden: 1, 2, latest
- Standard: 1
- Return the query result in the JSON format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=jsonfm [open in sandbox]
format=none
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Output nothing.
- Return the query result in the NONE format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=none [open in sandbox]
format=php
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Output data in serialized PHP format.
- formatversion
Output formatting
- 1
- Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
- 2
- Modern format.
- latest
- Use the latest format (currently 2), may change without warning.
- Ett av följande vÀrden: 1, 2, latest
- Standard: 1
- Return the query result in the PHP format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=php [open in sandbox]
format=phpfm
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Output data in serialized PHP format (pretty-print in HTML).
- wrappedhtml
Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.
- Type: boolean (details)
- formatversion
Output formatting
- 1
- Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
- 2
- Modern format.
- latest
- Use the latest format (currently 2), may change without warning.
- Ett av följande vÀrden: 1, 2, latest
- Standard: 1
- Return the query result in the PHP format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=phpfm [open in sandbox]
format=rawfm
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Output data, including debugging elements, in JSON format (pretty-print in HTML).
- wrappedhtml
Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.
- Type: boolean (details)
- Return the query result in the RAW format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=rawfm [open in sandbox]
format=xml
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Output data in XML format.
- xslt
If specified, adds the named page as an XSL stylesheet. The value must be a title in the MediaWiki namespace ending in
.xsl.- includexmlnamespace
If specified, adds an XML namespace.
- Type: boolean (details)
- Return the query result in the XML format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml [open in sandbox]
format=xmlfm
- Denna modul krÀver lÀsrÀttigheter.
- Source: MediaWiki
- License: GPL-2.0-or-later
Output data in XML format (pretty-print in HTML).
- wrappedhtml
Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.
- Type: boolean (details)
- xslt
If specified, adds the named page as an XSL stylesheet. The value must be a title in the MediaWiki namespace ending in
.xsl.- includexmlnamespace
If specified, adds an XML namespace.
- Type: boolean (details)
- Return the query result in the XML format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=xmlfm [open in sandbox]
Data types
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.
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.
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.
- expiry
Expiry values may be relative (e.g. 5 months or 2 weeks) or absolute (e.g. 2014-09-18T12:34:56Z). For no expiry, use infinite, indefinite, infinity or never.
- timestamp
Timestamps may be specified in several formats, see the Timestamp library input formats documented on mediawiki.org for details. ISO 8601 date and time is recommended: 2001-01-15T14:56:00Z. Additionally, the string now may be used to specify the current timestamp.
Templated parameters
Templated parameters support cases where an API module needs a value for each value of some other parameter. For example, if there were an API module to request fruit, it might have a parameter fruits to specify which fruits are being requested and a templated parameter {fruit}-quantity to specify how many of each fruit to request. An API client that wants 1 apple, 5 bananas, and 20 strawberries could then make a request like fruits=apples|bananas|strawberries&apples-quantity=1&bananas-quantity=5&strawberries-quantity=20.
Credits
API developers:
- Yuri Astrakhan (creator, lead developer Sep 2006âSep 2007)
- Roan Kattouw (lead developer Sep 2007â2009)
- Victor Vasiliev
- Bryan Tong Minh
- Sam Reed
- Brad Jorsch (lead developer 2013â2020)
Please send your comments, suggestions and questions to mediawiki-api@lists.wikimedia.org or file a bug report at https://phabricator.wikimedia.org/.