Jump to content

Revision hashing in MediaWiki: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 October 2026

  • curprev 05:3005:30, 4 October 2026 Idea talk contribs 4,201 bytes +885 No edit summary
  • curprev 05:2705:27, 4 October 2026 Idea talk contribs 3,316 bytes +3,316 Created page with "Q: Does MediaWiki have an edit hash capability or any Git-like qualities with respect to tracking changes (and verifying changes) and so forth? A: MediaWiki does calculate content hashes, but its architecture is fundamentally different from Git's cryptographic DAG (Directed Acyclic Graph). == Revision Content Hashing (<code>rev_sha1</code>) == MediaWiki calculates a '''SHA-1 hash''' for the content of every edit. * '''Storage:''' The hash is stored in the database u..."