MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
command=orderentry
(main | readinglists | orderentry)
- このモジュールは内部的または不安定です。動作が予告なく変更される場合があります。
- このモジュールは読み取りの権限を必要とします。
- このモジュールは書き込みの権限を必要とします。
- このモジュールは POST リクエストのみを受け付けます。
- Source: ReadingLists
- License: GPL-2.0+
Set the order of entries of a list belonging to the current user.
The order will be used by the readinglistentries module. Clients might also make use of it for their own display purposes.
パラメーター:
- list
List ID.
- このパラメーターは必須です。
- Type: integer
- order
All entry IDs of the list, in the desired order.
- このパラメーターは必須です。
- Type: list of integers
- 複数の値は | もしくは代わりの文字で区切ってください。 Maximum number of values is 1,000.
例:
- Reorder pages in the reading list with ID 12.
- api.php?action=readinglists&command=orderentry&list=12&order=6|3|9|18|12&token=123ABC [サンドボックスで開く]