---
title: "revision_compare (Wikipedia)"
description: "Revision Compare"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/wikipedia/Wikipedia.Wikipedia.revision_compare
original: https://documentation.invantive.eu/en/datamodels/wikipedia/Wikipedia.Wikipedia.revision_compare
updated: 2026-11-01T16:27:10Z
license: https://documentation.invantive.eu/en/
---

# revision_compare: Wikipedia Revision Compare

`read only` `REST`

- Catalog: `Wikipedia`
- Schema: `Wikipedia`
- Label: Revision Compare

Can only retrieve data.

## API Source

- Endpoint: `/revision/{from}/compare/{to}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `from` | `` | [x] |  |  |
| `to` | `` | [x] |  |  |
| `wiki` | `` | [ ] |  |  |

## Table Columns

The columns of the table `revision_compare` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `line_number` | `int64` | Line Number | [ ] | filters on the platform, writable, `lineNumber` |  |
| `offset_from` | `int64` | Offset From | [ ] | filters on the platform, writable, `offset.from` |  |
| `offset_to` | `int64` | Offset To | [ ] | filters on the platform, writable, `offset.to` |  |
| `text` | `varchar2` | Line Text | [ ] | filters on the platform, writable |  |
| `type` | `int64` | Type | [ ] | filters on the platform, writable |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Wikipedia](/en/release-notes/drivers?driver=wikipedia)

### Changes of This Table, 26.0 to 27.0

<div class="rn-item" id="WKA-27.0-D012">

##### Table function Wikipedia.Wikipedia.revision_compare is added

The table function has 5 columns and can select.

<div class="rn-chips">

- importance 3

</div>

</div>

[All changes of the driver, 26.0 to 27.0](/en/release-notes/drivers?driver=wikipedia&step=26.0-to-27.0#wikipedia-26.0-to-27.0)

