עזרה של MediaWiki API

זהו דף תיעוד של API שנוצר באופן אוטומטי.

תיעוד ודוגמאות: https://www.mediawiki.org/wiki/API

action=move

(main | move)
  • יחידה זו דורשת הרשאות קריאה.
  • יחידה זו דורשת הרשאות כתיבה.
  • יחידה זו מקבלת רק בקשות POST.

העברת עמוד.

פרמטרים:
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.

to

Title to rename the page to.

פרמטר זה נדרש.
reason

Reason for the rename.

ברירת מחדל: (ריק)
movetalk

Rename the talk page, if it exists.

movesubpages

Rename subpages, if applicable.

noredirect

Don't create a redirect.

watch
מיושן.

Add the page and the redirect to the current user's watchlist.

unwatch
מיושן.

Remove the page and the redirect from the current user's watchlist.

watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.

ערך אחד: watch, unwatch, preferences, nochange
ברירת מחדל: preferences
ignorewarnings

Ignore any warnings.

token

אסימון "csrf" אוחזר מ־action=query&meta=tokens

פרמטר זה נדרש.