MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=mergehistory

(main | mergehistory)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: MediaWiki
  • License: GPL-2.0+

ادمج تاريخ الصفحة.

Parameters:
from

عنوان الصفحة التي سيتم دمج تاريخها. لا يمكن أن تُستخدَم بجانب fromid.

fromid

معرف الصفحة التي سيتم دمج تاريخها. لا يمكن أن تُستخدَم بجانب from.

Type: integer
to

عنوان الصفحة التي سيتم دمج تاريخها. لا يمكن أن تُستخدَم بجانب toid.

toid

معرف الصفحة التي سيتم دمج تاريخها. لا يمكن أن تُستخدَم بجانب to.

Type: integer
timestamp

الطابع الزمني للمراجعات التي سيتم نقلها من تاريخ صفحة المصدر إلى تاريخ صفحة الوجهة. إذا تم حذفها، سيتم دمج تاريخ الصفحة كاملا من صفحة المصدر إلى صفحة الوجهة.

Type: timestamp (allowed formats)
reason

سبب دمج التاريخ.

Default: (empty)
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
Examples:
دمج تاريخ Oldpage كاملا إلى Newpage.
api.php?action=mergehistory&from=Oldpage&to=Newpage&token=123ABC&reason=Reason [open in sandbox]
دمج مراجعات الصفحة Oldpage dating up to 2015-12-31T04:37:41Z إلى Newpage.
api.php?action=mergehistory&from=Oldpage&to=Newpage&token=123ABC&reason=Reason&timestamp=2015-12-31T04%3A37%3A41Z [open in sandbox]