MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=move
(main | move)
- มอดูลนี้ต้องการสิทธิในการอ่าน
- มอดูลนี้ต้องการสิทธิในการเขียน
- มอดูลนี้ยอมรับเฉพาะคำขอ POST เท่านั้น
- แหล่งที่มา: MediaWiki
- สัญญาอนุญาต: GPL-2.0-or-later
ย้ายหน้า
Specific parameters:
Other general parameters are available.
- from
Title of the page to rename. Cannot be used together with fromid.
- fromid
Page ID of the page to rename. Cannot be used together with from.
- Type: integer
- to
Title to rename the page to.
- This parameter is required.
- reason
เหตุผลในการเปลี่ยนชื่อ
- ค่าเริ่มต้น: (ว่าง)
- movetalk
เปลี่ยนชื่อหน้าคุย ถ้ามี
- Type: boolean (details)
- movesubpages
เปลี่ยนชื่อหน้าย่อย ถ้าทำได้
- Type: boolean (details)
- noredirect
ไม่ต้องสร้างหน้าเปลี่ยนทาง
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- ค่าใดค่าหนึ่งต่อไปนี้: nochange, preferences, unwatch, watch
- Default: preferences
- ignorewarnings
ละเลยคำเตือนทั้งหมด
- Type: boolean (details)
Change tags to apply to the entry in the move log and to the null revision on the destination page.
- ค่า (คั่นด้วย | หรือข้อความทดแทน):
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
ตัวอย่าง:
- ย้าย Badtitle ไปยัง Goodtitle โดยไม่ทิ้งหน้าเปลี่ยนทางไว้
- api.php?action=move&from=Badtitle&to=Goodtitle&token=123ABC&reason=Misspelled%20title&movetalk=&noredirect= [เปิดในกระบะทราย]