Справка MediaWiki API
ÐÑо авÑомаÑиÑеÑки ÑгенеÑиÑÐ¾Ð²Ð°Ð½Ð½Ð°Ñ ÑÑÑаниÑа докÑменÑаÑии MediaWiki API.
ÐокÑменÑаÑÐ¸Ñ Ð¸ пÑимеÑÑ: https://www.mediawiki.org/wiki/API
action=mobileview
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑÑебÑÐµÑ Ð¿Ñав на ÑÑение.
- ÐÑÑоÑник: MobileFrontend
- ÐиÑензиÑ: GPL-2.0-or-later
ÐозвÑаÑÐ°ÐµÑ Ð´Ð°Ð½Ð½Ñе, Ð½ÐµÐ¾Ð±Ñ Ð¾Ð´Ð¸Ð¼Ñе Ð´Ð»Ñ Ð¼Ð¾Ð±Ð¸Ð»ÑнÑÑ Ð¿ÑедÑÑавлений.
- page
Ðаголовок ÑÑÑаниÑÑ Ð´Ð»Ñ Ð¾Ð±ÑабоÑки.
- ÐÑо обÑзаÑелÑнÑй паÑамеÑÑ.
- redirect
Whether redirects should be followed.
- Ðдно из ÑледÑÑÑÐ¸Ñ Ð·Ð½Ð°Ñений: yes, no
- Ðо ÑмолÑаниÑ: yes
- sections
Pipe-separated list of section numbers for which to return text. "all" can be used to return for all. Ranges in format "1-4" mean get sections 1,2,3,4. Ranges without second number, e.g. "1-" means get all until the end. "references" can be used to specify that all sections containing references should be returned.
- prop
Which information to get:
- text
- HTML of selected sections.
- sections
- Information about all sections on the page.
- normalizedtitle
- Normalized page title.
- lastmodified
- ISO 8601 timestamp for when the page was last modified, e.g. "2014-04-13T22:42:14Z".
- lastmodifiedby
- Information about the user who modified the page last.
- revision
- Return the current revision ID of the page.
- protection
- Information about protection level.
- editable
- Whether the current user can edit this page. This includes all factors for logged-in users but not blocked status for anons.
- languagecount
- Number of languages that the page is available in.
- hasvariants
- Whether or not the page is available in other language variants.
- displaytitle
- The rendered title of the page, with {{DISPLAYTITLE}} and such applied.
- pageprops
- Page properties.
- ÐнаÑÐµÐ½Ð¸Ñ (ÑазделÑннÑе Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ | или алÑÑеÑнаÑивного ÑазделиÑелÑ): id, text, sections, normalizedtitle, lastmodified, lastmodifiedby, revision, protection, editable, languagecount, hasvariants, displaytitle, pageprops, description, contentmodel, namespace, image, thumb
- Ðо ÑмолÑаниÑ: text|sections|normalizedtitle
- sectionprop
ÐакÑÑ Ð¸Ð½ÑоÑмаÑÐ¸Ñ Ð¾ ÑÐ°Ð·Ð´ÐµÐ»Ð°Ñ Ð¿Ð¾Ð»ÑÑаÑÑ.
- ÐнаÑÐµÐ½Ð¸Ñ (ÑазделÑннÑе Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ | или алÑÑеÑнаÑивного ÑазделиÑелÑ): toclevel, level, line, number, index, fromtitle, anchor
- Ðо ÑмолÑаниÑ: toclevel|line
- pageprops
What page properties to return, a pipe ("|") separated list or "*" for all properties.
- Ðо ÑмолÑаниÑ: notoc|noeditsection|wikibase_item
- variant
ÐÑеобÑазÑйÑе конÑÐµÐ½Ñ Ð² ÑÑÐ¾Ñ ÑзÑковой ваÑианÑ.
- Ðо ÑмолÑаниÑ: (пÑÑÑо)
- noimages
ÐеÑнÑÑÑ HTML без изобÑажений.
- Тип: логиÑеÑкий (подÑобнее)
- noheadings
Don't include headings in output.
- Тип: логиÑеÑкий (подÑобнее)
- notransform
Don't transform HTML into mobile-specific version.
- Тип: логиÑеÑкий (подÑобнее)
- onlyrequestedsections
Return only requested sections even with prop=sections.
- Тип: логиÑеÑкий (подÑобнее)
- offset
Pretend all text result is one string, and return the substring starting at this point.
- ÐнаÑение должно бÑÑÑ Ð½Ðµ менÑÑе 0.
- Тип: Ñелое ÑиÑло
- Ðо ÑмолÑаниÑ: 0
- maxlen
Pretend all text result is one string, and limit result to this length.
- ÐнаÑение должно бÑÑÑ Ð½Ðµ менÑÑе 0.
- Тип: Ñелое ÑиÑло
- Ðо ÑмолÑаниÑ: 0
- revision
ÐапÑоÑиÑÑ Ð¾Ð¿ÑеделеннÑÑ Ð²ÐµÑÑиÑ.
- ÐнаÑение должно бÑÑÑ Ð½Ðµ менÑÑе 0.
- Тип: Ñелое ÑиÑло
- Ðо ÑмолÑаниÑ: 0
- thumbheight
ÐакÑималÑÐ½Ð°Ñ Ð²ÑÑоÑа миниаÑÑÑÑ
- ÐнаÑение должно бÑÑÑ Ð½Ðµ менÑÑе 0.
- Тип: Ñелое ÑиÑло
- thumbwidth
ÐакÑималÑÐ½Ð°Ñ ÑиÑина миниаÑÑÑÑ
- ÐнаÑение должно бÑÑÑ Ð½Ðµ менÑÑе 0.
- Тип: Ñелое ÑиÑло
- thumbsize
ÐакÑималÑнÑе ÑазмеÑÑ ÑÑкизов.
- ÐнаÑение должно бÑÑÑ Ð½Ðµ менÑÑе 0.
- Тип: Ñелое ÑиÑло
- ÐолÑÑиÑÑ Ð¸Ð½ÑоÑмаÑÐ¸Ñ Ð¾ Ñаздел 0 ÑÑаÑÑи Doom metal
- api.php?action=mobileview&page=Doom_metal§ions=0 [оÑкÑÑÑÑ Ð² пеÑоÑниÑе]
- Get information about section 0 and sections containing references of Candlemass
- api.php?action=mobileview&page=Candlemass§ions=0|references [оÑкÑÑÑÑ Ð² пеÑоÑниÑе]
- Get information about sections 1 and later and sections containing references of Candlemass
- api.php?action=mobileview&page=Candlemass§ions=1-|references [оÑкÑÑÑÑ Ð² пеÑоÑниÑе]