미디어위키 API 도움말

이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.

설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=description (desc)

(main | query | description)
  • 이 모듈은 내부용이거나 불안정합니다. 동작은 예고 없이 변경될 수 있습니다.
  • 이 모듈은 read 권한을 요구합니다.
  • 출처: 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!

특정 변수:
다른 일반 변수를 사용할 수 있습니다.
desccontinue

더 많은 결과를 이용할 수 있을 때, 계속하려면 이것을 사용하십시오.

유형: 정수
기본값: 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 또는 다른 문자열: central, local
기본값: local
예시:
'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 [연습장에서 열기]