Jump to content

Decentralizing wiki technology

From IdeaWazaWiki
Revision as of 03:16, 24 November 2026 by Lumo (talk | contribs) (Compare Arweave, AO, and ICP as wiki storage and compute options)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Decentralizing wiki technology means distributing some of the work of running a wiki across systems operated by different people or organizations. The work can include storing pages and media, finding copies, accepting edits, and deciding what readers see. A wiki might keep one editorial team while using independent mirrors for reading. Several wikis might instead exchange pages while each community maintains its own version. The design depends on which part of the system needs to remain available or open to independent control.

This page develops the original idea of using volunteer nodes and trackers to distribute wiki content. It uses an article about cows to illustrate how finding a copy, verifying a revision, and accepting an edit could work.

What a project can decentralize

Approach What is shared What still needs coordination
Mirroring Independent hosts serve copies of a wiki's published pages. Copies need updates. The source wiki still decides which revisions it publishes.
Federation Separate wiki sites exchange or fork pages. Each site can publish its own version. Sites need to track where versions came from, and readers need a way to choose which version to follow.
Peer-to-peer distribution Volunteer nodes store and deliver copies or selected parts of a collection. Clients need a way to discover reachable peers, verify the content, and decide which published revision to request.

These approaches can be combined. MediaWiki's export and import tools can transfer page text and revision history. Federated Wiki illustrates a different model in which contributors can draw on pages from other sites and publish edits on their own site.[1]

Finding and verifying a copy

Imagine a reader requesting the article Cows. A tracker, or directory node, could list the sites that hold copies. Other directory nodes could publish their own lists so that a reader can still find copies when one directory is unavailable. Volunteer machines could store an entire collection or just selected pages and media. A smaller wiki would need enough copies of its own pages to remain available even if larger wikis had many more volunteers.

Once a directory points to a copy, the reader needs a way to verify its revision. One design would publish an authenticated index containing the source wiki, revision identifier, and a digest of the exported content. A reader could use the digest to check whether a mirror returned those exact bytes. An older valid index can still point to an older revision, so the system also needs a way to indicate when the index was last updated and which publisher issued it. If two communities maintain their own editions of Cows, each can have a different latest revision.[2]

Who accepts edits and reverses vandalism?

An editor could propose a change against a known version of Cows. Within a community that maintains one published edition, editors could review the proposal, check for intervening edits, and publish an agreed revision. Mirrors would then receive that revision. If the edit was vandalism, the community could publish a revert and mirrors could follow it. In a federation, another community could accept the change, reject it, or adapt it to its own edition. Overlapping changes still need comparison and sometimes editorial judgment.

An identity service such as OpenID Connect can help verify a sign-in across sites that choose to trust the same identity provider. Each site still sets its own permissions and decides who can edit, moderate, or approve a revision. A pilot should spell out how participants report abuse or mistakes and which sites can act on the report.[3]

Images, attribution, and removals

Text, images, and other media can be copied separately. For each file, keep a record of its source, license, and attribution. A page may also need templates or other dependencies to render correctly on a different wiki. Preserve revision history or another attribution record that meets the applicable license when reusing text. If a revision is hidden at its original site, copies already made can still exist. Operators should agree on how to publish corrections and respond to removal requests before distributing material widely.[4]

A 2007 research paper, A Decentralized Wiki Engine for Collaborative Wikipedia Hosting, examined how to distribute the work of hosting a large wiki. The original project ideas on this page also drew on systems such as BOINC for volunteer computing, Gnutella for locating peers, and projects such as Freenet and OFFSystem for distributed file sharing. Those examples raise different design questions. A system for locating or serving content still needs rules for tracking revisions and settling editorial disagreements.[5]

A Git-backed wiki is another approach. Gollum, for example, stores wiki content in a Git repository. Contributors can keep local copies with revision history and exchange changes. A public site can publish a selected branch after someone reviews the changes it contains.[6]

Arweave, AO, and the Internet Computer

These networks can support different parts of a wiki. A project can choose where to keep public snapshots, where to process edits, and where to serve the current page.

  • Arweave for public snapshots. Arweave is designed for permanent storage. A wiki could publish a reviewed snapshot of Cows with its source revision and attribution, then keep a separate pointer to the edition it currently presents to readers. Changing that pointer leaves the earlier snapshot available. A gateway can block access through its own service, while copies can remain available elsewhere.[7]
  • AO for processing updates. In AO's documented model, processes respond to messages and their message history is stored on Arweave. A wiki process could receive revision proposals and publish a new reference for Cows when the required reviewers approve it. The application would have to define who can approve an edit and how to handle competing proposals.[8]
  • Internet Computer (ICP) for hosting the application. ICP canisters combine executable code with persistent state. A wiki could use canisters to serve its web interface and manage pages, edit permissions, and updates. The project would need to decide who controls upgrades and which revisions it can hide from its public interface.[9]

A practical design is to keep working drafts and material that may require removal in a system with a clear deletion policy, and to use permanent storage for selected public material. Before publishing even a test snapshot or message, decide who can amend the current edition, what becomes part of the public record, and how corrections will reach readers.

Learning project with a small pilot

Set up a test with fictional pages, one source wiki, and two copies. Export a page and its history, then check whether the copies include the required credit and whether the page displays correctly. Simulate one copy becoming unavailable, one receiving an update late, and two editors changing the same fact. Record whether readers can find a version, how long it takes a correction to reach each copy, and who is responsible for resolving the conflict. A group can then decide whether simple mirroring meets its goals or whether it needs independent publishing and federation.

  • Who should decide which revision a new reader sees when two communities maintain different editions of the same page?
  • Essay idea. Compare mirroring with federation for a teaching wiki. Explain how each approach would handle a server outage, a disputed edit, and a request to remove private information.
  • AI learning prompt. “Design a two-site experiment with fictional wiki pages. List the tests for finding a copy, checking a revision, correcting an error, and preserving attribution.” Check that the proposed tests distinguish recovering access from deciding which version to publish.

Further reading

Readings from Wikipedia

See also

References