MediaWiki API súgó

Ez egy automatikusan generált MediaWiki API-dokumentációs lap.

Dokumentáció és példák: https://www.mediawiki.org/wiki/API

action=compare

(main | compare)
  • Ez a modul olvasási jogot igényel.
  • Forrás: MediaWiki
  • Licenc: GPL-2.0+

Get the difference between 2 pages.

A revision number, a page title, or a page ID for both "from" and "to" must be passed.

Paraméterek:
fromtitle

First title to compare.

fromid

First page ID to compare.

Típus: egész
fromrev

First revision to compare.

Típus: egész
totitle

Second title to compare.

toid

Second page ID to compare.

Típus: egész
torev

Second revision to compare.

Típus: egész
Example:
Create a diff between revision 1 and 2.
api.php?action=compare&fromrev=1&torev=2 [open in sandbox]
A lap eredeti címe: „https://hu.opensuse.org/Speciális:ApiHelp