미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
action=wbsetqualifier
- 이 모듈은 read 권한을 요구합니다.
- 이 모듈은 write 권한을 요구합니다.
- 이 모듈은 POST 요청만을 허용합니다.
- 출처: WikibaseClient
- 라이선스: GPL-2.0-or-later
Creates a qualifier or sets the value of an existing one.
- claim
A GUID identifying the claim for which a qualifier is being set
- 이 변수는 필수입니다.
- property
ID of the snaks property. Should only be provided when creating a new qualifier or changing the property of an existing one
- value
The new value of the qualifier. Should only be provided for PropertyValueSnak qualifiers
- snaktype
The type of the snak. Should only be provided when creating a new qualifier or changing the type of an existing one
- 다음 값 중 하나: novalue, somevalue, value 또는 다른 문자열: novalue, somevalue, value
- snakhash
The hash of the snak to modify. Should only be provided for existing qualifiers
- summary
Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.
- tags
Change tags to apply to the revision.
- 값 (|로 구분): 또는 다른 문자열:
- token
"csrf" 토큰은 action=query&meta=tokens에서 가져옵니다
- 이 변수는 필수입니다.
- baserevid
The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.
- Type: integer
- bot
이 편집을 봇으로 표시합니다. 이 URL 플래그는 사용자가 그룹 "봇"에 속해 있을 경우에만 준수합니다.
- Type: boolean (details)
- Set the qualifier for the given claim with property P1 to string value GdyjxP8I6XB3
- api.php?action=wbsetqualifier&claim=Q2$4554c0f4-47b2-1cd9-2db9-aa270064c9f3&property=P1&value="GdyjxP8I6XB3"&snaktype=value&token=foobar [연습장에서 열기]