MediaWiki API súgó

Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.

Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=info (in)

(main | query | info)

Alapvető lapinformációk lekérése.

Jellemző paraméterek:
Other general parameters are available.
inprop

További lekérendő tulajdonságok:

protection
A lapok védelmi szintjeinek listázása.
talkid
A vitalap lapazonosítója a nem-vitalapoknál.
watched
A lapok figyelési státusza.
watchers
A lapot figyelők száma, ha lehetséges.
visitingwatchers
A figyelők száma, akik látták a lap friss változtatásait, ha engedélyezett.
notificationtimestamp
A figyelőlista értesítési időbélyege.
subjectid
A tartalmi lap lapazonosítója a vitalapoknál.
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
Elavult. A felhasználó olvashatja-e a lapot. Használd helyette az intestactions=read értéket.
preload
Elavult. 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
A lap ténylegesen megjelenített címe.
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.
Értékek (elválasztó: | vagy más): 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.

Típus: lapcím
Nemlétező oldalakat is elfogad
Alapértelmezett: Kezdőlap
intestactions

Annak ellenőrzése, hogy a felhasználó végrehajthat-e bizonyos műveleteket a lapon.

Az értékékeket a | karakterrel vagy az alternatív elválasztóval válaszd el.
Az értékek maximális száma 50. (500 magasabb korláttal rendelkező ügyfelek számára).
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
Return messages describing why the action is disallowed, or an empty array if it is allowed.
quick
Like full but skipping expensive checks.
A következő értékek egyike: boolean, full, quick
Alapértelmezett: boolean
intestactionsautocreate

Test whether performing intestactions would automatically create a temporary account.

Típus: logikai (részletek)
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.
Az értékékeket a | karakterrel vagy az alternatív elválasztóval válaszd el.
Az értékek maximális száma 50. (500 magasabb korláttal rendelkező ügyfelek számára).
inpreloadnewsection

Return preloaded content for a new section on the page, rather than a new page.

Only used when inprop contains preloadcontent.
Típus: logikai (részletek)
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.
A következő értékek egyike: lessframes, moreframes
Alapértelmezett: 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.
Az értékékeket a | karakterrel vagy az alternatív elválasztóval válaszd el.
Az értékek maximális száma 50. (500 magasabb korláttal rendelkező ügyfelek számára).
ineditintrocustom

Title of a custom page to use as an additional intro message.

Only used when inprop contains editintro.
incontinue

Ha további eredmények érhetők el, használd ezt a folytatáshoz. További részletekért lásd: lekérdezések folytatása (mediawiki.org).