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

prop=info (in)

(main | query | info)

Get basic page information.

Parameters:
inprop

Katere dodatne lastnosti naj se pridobijo:

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
Število opazovalcev, če je dovoljeno.
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
Predpona naslova povezane zadeve ali pogovorne strani.
url
Gives a full URL, an edit URL, and the canonical URL for each page.
readable
Opuščeno. Whether the user can read this page. Use intestactions=read instead.
preload
Gives the text returned by EditFormPreloadText.
displaytitle
Poda način, na katerega je naslov strani dejansko prikazan.
varianttitles
Gives the display title in all variants of the site content language.
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.
Values (separate with | or alternative): associatedpage, displaytitle, linkclasses, notificationtimestamp, preload, protection, subjectid, talkid, url, varianttitles, visitingwatchers, watched, watchers, readable
inlinkcontext

The context title to use when determining extra CSS classes (e.g. link colors) when inprop contains linkclasses.

Vrsta: naslov strani
Sprejme neobstoječe strani.
Privzeto: Glavna stran
intestactions

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

Loči vrednosti z | ali alternative.
Največje število vrednosti je 50 (500 za odjemalce z večjimi dovoljenimi omejitvami)
intestactionsdetail

Detail level for intestactions. Use the main module's errorformat and errorlang parameters to control the format of the messages returned.

boolean
Return a boolean value for each action.
full
Vrnitev sporočil, ki opisujejo, zakaj dejanje ni dovoljeno, ali prazno polje, če je dovoljeno.
quick
Like full but skipping expensive checks.
One of the following values: boolean, full, quick
Privzeto: boolean
incontinue

When more results are available, use this to continue.

Zgleda:
Pridobi informacije o strani Main Page.
api.php?action=query&prop=info&titles=Main%20Page [open in sandbox]
Pridobi splošne informacije in informacije o zaščiti za stran Main Page.
api.php?action=query&prop=info&inprop=protection&titles=Main%20Page [open in sandbox]