Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API.

Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_pag

action=wbsetqualifier

(main | wbsetqualifier)
  • Ten moduł wymaga praw odczytu.
  • Ten moduł wymaga praw zapisu.
  • Ten moduł akceptuje tylko żądania POST.
  • Źródło: WikibaseClient
  • Licencja: GPL-2.0-or-later

Tworzy kwalifikator lub ustawia wartość istniejącego.

Parametry:
claim

GUID identyfikujący stwierdzenie, dla którego jest ustawiany kwalifikator

This parameter is required.
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

Jedna z następujących wartości: 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.

Wartości (oddziel za pomocą | lub alternatywy):
token

Token „csrf” pobrany z action=query&meta=tokens

This parameter is required.
baserevid

The numeric identifier for the revision to base the modification on. This is used for detecting conflicts during save.

Type: integer
bot

Oznacz tę zmianę jako wykonaną przez bota. Ten znacznik adresu URL będzie brany pod uwagę tylko, jeśli użytkownik należy do grupy „Boty”.

Type: boolean (details)