⧼api-help-title⧽
action=compare
(main | compare)
- ⧼api-help-flag-readrights⧽
- ⧼api-help-source⧽
- ⧼api-help-license⧽
- fromtitle
- ⧼apihelp-compare-param-fromtitle⧽
- fromid
- ⧼apihelp-compare-param-fromid⧽
- Type: integer
- fromrev
- ⧼apihelp-compare-param-fromrev⧽
- Type: integer
- fromslots
- ⧼apihelp-compare-param-fromslots⧽
- Values (separate with U+007C (pipe), or prefix the list with U+001F and separate with U+001F): main
- fromtext-{slot}
- ⧼apihelp-compare-param-fromtext-{slot}⧽
- ⧼api-help-param-templated⧽
- fromsection-{slot}
- ⧼apihelp-compare-param-fromsection-{slot}⧽
- ⧼api-help-param-templated⧽
- fromcontentformat-{slot}
- ⧼apihelp-compare-param-fromcontentformat-{slot}⧽
- ⧼api-help-param-templated⧽
- One of the following values: application/json, application/octet-stream, application/unknown, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- fromcontentmodel-{slot}
- ⧼apihelp-compare-param-fromcontentmodel-{slot}⧽
- ⧼api-help-param-templated⧽
- One of the following values: css, javascript, json, text, unknown, wikitext
- frompst
- ⧼apihelp-compare-param-frompst⧽
- Type: boolean
- fromtext
- ⧼api-help-param-deprecated⧽
- ⧼apihelp-compare-param-fromtext⧽
- fromcontentformat
- ⧼api-help-param-deprecated⧽
- ⧼apihelp-compare-param-fromcontentformat⧽
- One of the following values: application/json, application/octet-stream, application/unknown, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- fromcontentmodel
- ⧼api-help-param-deprecated⧽
- ⧼apihelp-compare-param-fromcontentmodel⧽
- One of the following values: css, javascript, json, text, unknown, wikitext
- fromsection
- ⧼api-help-param-deprecated⧽
- ⧼apihelp-compare-param-fromsection⧽
- totitle
- ⧼apihelp-compare-param-totitle⧽
- toid
- ⧼apihelp-compare-param-toid⧽
- Type: integer
- torev
- ⧼apihelp-compare-param-torev⧽
- Type: integer
- torelative
- ⧼apihelp-compare-param-torelative⧽
- One of the following values: cur, next, prev
- toslots
- ⧼apihelp-compare-param-toslots⧽
- Values (separate with U+007C (pipe), or prefix the list with U+001F and separate with U+001F): main
- totext-{slot}
- ⧼apihelp-compare-param-totext-{slot}⧽
- ⧼api-help-param-templated⧽
- tosection-{slot}
- ⧼apihelp-compare-param-tosection-{slot}⧽
- ⧼api-help-param-templated⧽
- tocontentformat-{slot}
- ⧼apihelp-compare-param-tocontentformat-{slot}⧽
- ⧼api-help-param-templated⧽
- One of the following values: application/json, application/octet-stream, application/unknown, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- tocontentmodel-{slot}
- ⧼apihelp-compare-param-tocontentmodel-{slot}⧽
- ⧼api-help-param-templated⧽
- One of the following values: css, javascript, json, text, unknown, wikitext
- topst
- ⧼apihelp-compare-param-topst⧽
- Type: boolean
- totext
- ⧼api-help-param-deprecated⧽
- ⧼apihelp-compare-param-totext⧽
- tocontentformat
- ⧼api-help-param-deprecated⧽
- ⧼apihelp-compare-param-tocontentformat⧽
- One of the following values: application/json, application/octet-stream, application/unknown, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- tocontentmodel
- ⧼api-help-param-deprecated⧽
- ⧼apihelp-compare-param-tocontentmodel⧽
- One of the following values: css, javascript, json, text, unknown, wikitext
- tosection
- ⧼api-help-param-deprecated⧽
- ⧼apihelp-compare-param-tosection⧽
- prop
- ⧼apihelp-compare-param-prop⧽
- diff
- diffsize
- rel
- ids
- title
- user
- comment
- parsedcomment
- size
- timestamp
- Values (separate with U+007C (pipe), or prefix the list with U+001F and separate with U+001F): comment, diff, diffsize, ids, parsedcomment, rel, size, timestamp, title, user
- Default: diff|ids|title
- slots
- ⧼apihelp-compare-param-slots⧽
- Values (separate with U+007C (pipe), or prefix the list with U+001F and separate with U+001F): main
- To specify all values, use *.
- ⧼apihelp-compare-example-1⧽
- api.php?action=compare&fromrev=1&torev=2 ⧼api-help-open-in-apisandbox⧽