MediaWiki API yardımı

Bu otomatik olarak oluşturulan bir MediaWiki API belgelenme sayfasıdır.

Belgeler ve örnekler: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

submodule=setsorting

(main | collection | setsorting)

API module for reordering items in a collection

Parametre:
Other general parameters are available.
items

Items should be listed using their old index and ordered by their new position

Bu parametre gerekli.
Tür: tamsayı listesi
Değerleri | veya alternatif ile ayırın.
Maksimum değer sayısı 50 (500 için daha yüksek sınırlara izin verilir).
Örnekler:
In a collection of 3 items, swap the first and second item
api.php?action=collection&submodule=setsorting&items=1|0|2 [sandbox'ta açın]
In a collection of 3 items, make the 3rd item first, and delete the 2nd item
api.php?action=collection-setsorting&items=2|0 [sandbox'ta açın]
"https://tr.wikiquote.org/wiki/Özel:ApiHelp" sayfasından alınmıştır