Помош со Извршникот на МедијаВики

Ова е самосоздадена документациска страница за извршникот на МедијаВики.

Документација и примери: https://www.mediawiki.org/wiki/API

action=mergehistory

(main | mergehistory)
  • За овој модул се потребни права на читање.
  • За овој модул се потребни права на пишување.
  • Овој модул прифаќа само POST-барања.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0-or-later

Спојување на истории на страници.

Параметри:
from

Title of the page from which history will be merged. Cannot be used together with fromid.

fromid

Page ID of the page from which history will be merged. Cannot be used together with from.

Вид: цел број
to

Title of the page to which history will be merged. Cannot be used together with toid.

toid

Page ID of the page to which history will be merged. Cannot be used together with to.

Вид: цел број
timestamp

Timestamp up to which revisions will be moved from the source page's history to the destination page's history. If omitted, the entire page history of the source page will be merged into the destination page.

Тип: време и датум (допуштени формати)
reason

Reason for the history merge.

По основно: (празно)
token

Шифра „csrf“ добиена од action=query&meta=tokens

Овој параметар е задолжителен.