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=wbremovequalifiers

(main | wbremovequalifiers)
  • 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

Usuwa kwalifikator ze stwierdzenia.

Parametry:
claim

GUID identyfikujący stwierdzenie, z którego usuwa się kwalifikatory

This parameter is required.
qualifiers

Snak hashes of the qualifiers to remove

This parameter is required.
Oddziel wartości za pomocą | lub alternatywy.
Maximum number of values is 50 (500 for clients allowed higher limits).
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)
Przykład:
Remove qualifier with hash "1eb8793c002b1d9820c833d234a1b54c8e94187e" from claim with GUID of "Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F"
api.php?action=wbremovequalifiers&claim=Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F&references=1eb8793c002b1d9820c833d234a1b54c8e94187e&token=foobar&baserevid=7201010 [otwórz w brudnopisie]