MediaWiki API гӀо

Это автоматически сгенерированная страница документации MediaWiki API.

Документация и примеры: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=description (desc)

(main | query | description)
  • Этот модуль является внутренним или нестабильным, и вам не следует его использовать. Его работа может быть изменена без предварительного уведомления.
  • Этот модуль требует прав на чтение.
  • Хьост: WikibaseClient
  • Лицензи: GPL-2.0-or-later

Get a short description a.k.a. subtitle explaining what the target page is about.

The description is plain text, on a single line, but otherwise arbitrary (potentially including raw HTML tags, which also should be interpreted as plain text). It must not be used in HTML unescaped!

Определённые параметры:
Other general parameters are available.
desccontinue

Когда доступно больше результатов, используйте это для продолжения. Более подробную информацию о том, как продолжить запросы, можно найти на mediawiki.org.

Тайпа: дийнатерахьан маьӀна
Ӏадйитаран кеп: 0
descprefersource

Which description source to prefer if present:

local
Local descriptions via {{SHORTDESC:...}} parser function in the wikitext of the page.
central
Central descriptions from the associated Викихаамаш item.
Одно из следующих значений: central, local
Ӏадйитаран кеп: local
Масалаш:
Get the description for the page 'London'.
api.php?action=query&prop=description&titles=London [открыть в песочнице]
Get the description for the page 'London', preferring the central description if it exists.
api.php?action=query&prop=description&titles=London&descprefersource=central [открыть в песочнице]