MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
command=createentry
(main | readinglists | createentry)
- このモジュールは内部的または不安定です。動作が予告なく変更される場合があります。
- このモジュールは読み取りの権限を必要とします。
- このモジュールは書き込みの権限を必要とします。
- このモジュールは POST リクエストのみを受け付けます。
- Source: ReadingLists
- License: GPL-2.0+
Add a new page to a list belonging to the current user.
List entries must be unique. Pages are not limited to the wiki where the API is accessed.
パラメーター:
- list
List ID.
- このパラメーターは必須です。
- Type: integer
- project
Project name of the wiki hosting the page. (Typically this is the domain name of the wiki.)
- このパラメーターは必須です。
- title
Page title.
- このパラメーターは必須です。
例:
- Add the page Dog from project en.wikipedia.org</bar> to the list with ID 33.
- api.php?action=readinglists&command=createentry&list=33&project=en.wikipedia.org&title=Dog&token=123ABC [サンドボックスで開く]