Jump to content

Decentralizing wiki technology: Difference between revisions

From IdeaWazaWiki
wikademia>Wikademia
m Text replace - '__NOEDITSECTION__' to '<!--__-__-->'
Lumo (talk | contribs)
Expand wiki decentralization models, preserve original example, and add a learning pilot
Line 1: Line 1:
'''Decentralizing wiki technology''' is a project to formulate a framework of how to decentralize the subsystems of the various wiki projects.  
'''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.


In practice, this project could perhaps be a fork of BOINC, GnuTella, OFFsystem or FreeNet or some synthesis of the aforementioned... or something else.
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.
__NOTOC__
==Brainstorming==
== What a project can decentralize ==
It might work something like the following. Anyone can setup tracker and/or content server (that runs as part of [[Wikademia Screen Saver]], some other program, or just as a service in the background). These servers and nodes track changes and where you can find articles on the network.
 
{| class="wikitable"
! scope="col" | Approach
! scope="col" | What is shared
! scope="col" | What still needs coordination
|-
! scope="row" | Mirroring
| Independent hosts serve copies of a wiki's published pages.
| Copies need updates. The source wiki still decides which revisions it publishes.
|-
! scope="row" | 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.
|-
! scope="row" | 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.<ref>[https://www.mediawiki.org/wiki/Help:Export MediaWiki export documentation], [https://www.mediawiki.org/wiki/Help:Import MediaWiki import documentation], and [https://federated.wiki/federated-wiki.html the Federated Wiki project].</ref>
 
== 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.<ref>[https://docs.ipfs.tech/concepts/content-addressing/ IPFS documentation on content identifiers], an example of identifying content by the data it contains.</ref>
 
== 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.<ref>[https://openid.net/developers/how-connect-works/ OpenID Foundation, ''How OpenID Connect Works''].</ref>
 
== Images, attribution, and removals ==


Trackers could be large or small. They could be dedicated machines, or run in the background of peoples' electronic devices.
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.<ref>[https://www.mediawiki.org/wiki/Help:Export MediaWiki export documentation], [https://creativecommons.org/licenses/by-sa/4.0/deed Creative Commons BY-SA 4.0], and [https://www.mediawiki.org/wiki/Help:RevisionDelete MediaWiki help on revision deletion].</ref>


For example, since Wikipedia is quite large, Wikipedia would probably have the most tracker servers.
== Earlier experiments and related ideas ==


Wikademia would probably have a great deal fewer. All of this could be dynamically balanced and tweaked according to need.
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.<ref>[https://research.utwente.nl/en/publications/a-decentralized-wiki-engine-for-collaborative-wikipedia-hosting/ University of Twente publication record], [https://boinc.berkeley.edu/ BOINC], [https://www.hyphanet.org/pages/about.html Hyphanet, formerly Freenet], and [https://sourceforge.net/projects/offsystem/ the OFFSystem project archive].</ref>


When someone wants to view an article on cows, they basically ping a tracker server, saying in computer talk, "I want to see an article on Cows".
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.<ref>[https://github.com/gollum/gollum Gollum project] and [https://git-scm.com/book/en/v2/Distributed-Git-Distributed-Workflows ''Pro Git'', distributed workflows].</ref>


Their machine could attempt to tell this to multiple tracker servers, and could hopefully get a rather speedy response.
== Learning project with a small pilot ==


===Trust===
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.
The tracker server would say, "In order the amount of trust you can put into the integrity of the article, you can find the most up to date revision of the article on Cows on the servers x, y, z, and c".


The person who requested the article on cows would then send a message off to machines x, y, z, and c". Hopefully, x would respond first, in a speedy manner and the article would pop up speedily.
==Discussion questions, essay ideas, and learning related AI prompt ideas==


Presuming this goes right, the individual may decide he or she would like to edit the article.
* 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.


They make their changes and send them off to a few of the servers that contain the article on cows. This would then be propagated and perhaps reviewed by editors and then integrated into the best version.
== Further reading ==


Maybe it could simply be integrated. Suppose someone came along and saw that it was vandalism. They could revert it as normally is done, and then that revert could be propagated.
* [https://torrentfreak.com/will-bittorrent-sites-become-obsolete-080530/ ''Will BitTorrent Sites Become Obsolete?''] (2008), a historical discussion of trackerless file discovery. See also the [https://www.bittorrent.org/beps/bep_0005.html BitTorrent distributed hash table specification].


Maybe OpenID could be used to verify identities. That is an interesting challenge. How could identities be trusted on a decentralized system. OpenId?
==Readings from Wikipedia==


There could be separate nodes for images.
* [[Wikipedia:Federated Wiki|Federated Wiki]]
* [[Wikipedia:Peer-to-peer|Peer-to-peer networks]]
* [[Wikipedia:Content-addressable storage|Content-addressable storage]]
* [[Wikipedia:Version control|Version control]]


==Questions==
== See also ==
* Would a whole copy of the all the text be needed on servers?
* Could images and other media be stored in a more decentralized fashion?


==See also==
* [[Decentralization]]
* [[Distributed P2P search engine]]
* [[Distributed P2P search engine]]
* [[P2P]]
* [[P2P|Peer-to-peer wiki system]]
* [[Real-time wiki collaboration]]
* [[Wikis]]


==External links==
== References ==
* ''[http://www.gossamer-threads.com/lists/wiki/foundation/121420 Possibility of a git-based fully distributed Wikipedia]
 
* ''[http://torrentfreak.com/will-bittorrent-sites-become-obsolete-080530/ Will BitTorrent Sites Become Obsolete?]
<references />
* [http://offsystem.sourceforge.net/ Sourceforge: OffSystem] - A distributed owner-free file system
* March 2007 ''[http://www.globule.org/publi/DWECWH_webist2007.html A Decentralized Wiki Engine for Collaborative Wikipedia Hosting]


[[Category:Decentralization]]
[[Category:Decentralization]]
<!--__-__-->
[[Category:Wiki technology]]
__NOTOC__

Revision as of 03:11, 24 November 2026

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]

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