Revision hashing in MediaWiki: Difference between revisions
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..." |
No edit summary |
||
| Line 44: | Line 44: | ||
If you need true Git-level cryptographic immutability, audit verification, or offline branching for wiki content, common solutions include deploying file-backed wiki engines like '''Gitit''' or '''Gollum''', or streaming MediaWiki revisions via XML dumps (<code>dumpBackup.php</code>) into a local Git repository for cryptographic verification. | If you need true Git-level cryptographic immutability, audit verification, or offline branching for wiki content, common solutions include deploying file-backed wiki engines like '''Gitit''' or '''Gollum''', or streaming MediaWiki revisions via XML dumps (<code>dumpBackup.php</code>) into a local Git repository for cryptographic verification. | ||
== Readings == | |||
=== Wikipedia === | |||
* [[Wikipedia:Git|Git (software)]] | |||
* [[Wikipedia:MediaWiki|MediaWiki]] | |||
* [[Wikipedia:SHA-1|SHA-1 cryptographic hash function]] | |||
* [[Wikipedia:Merkle tree|Merkle trees and hash graphs]] | |||
* [[Wikipedia:Directed acyclic graph|Directed acyclic graph (DAG)]] | |||
* [[Wikipedia:Content-addressable storage|Content-addressable storage]] | |||
* [[Wikipedia:Revision control|Revision control systems]] | |||
* [[Wikipedia:Three-way merge|Three-way merge algorithm]] | |||
* [[Wikipedia:Base36|Base36 encoding scheme]] | |||
== See also == | |||
* [[MediaWiki:Database layout|MediaWiki database layout]] | |||
* [[Multi-Content Revisions]] | |||
* [[Version control systems]] | |||
* [[Content-addressable storage]] | |||
* [[Data integrity]] | |||
[[Category:MediaWiki architecture]] | |||
[[Category:Revision control]] | |||
[[Category:Cryptographic hash functions]] | |||
[[Category:MediaWiki database]] | |||
[[Category:Software comparisons]] | |||