Jump to content

User:Aaron Liu/WikiPatch

From Wikipedia, the free encyclopedia

WikiPatch (also considered as WikiDiff (already exists), DiffWiki (already exists), and WikiPatch again (exists but whatever) is Aaron Liu's ingenious [sic] proposal for an extension to federate MediaWiki.

Mechanicsm[edit]

The extension introduces a Patch: namespace that stores diffs of the instance's edits to a foreign page. Titles inside the Patch:namespace are like "Patch:<interwiki prefix>:<lang>:<foreign page name>". When not specified, the interwiki prefix and lang is automatically replaced with values defined by the wiki with $wg-magic (defaulting to the English Wikipedia), which will be part of the title blacklist or sth to avoid duplication. Patch: pages store both the diff so far and the revision the diff was intended to apply to. With every view of a foreign article, a separate "latest applicable revision" is also stored; if the diff doesn't apply, we apply the diff to the latest applicable revision and provide a button to fallback to the revision the diff originally applied to.

Interwiki-linked pages are displayed within the current MediaWiki instance, and clicking edit will automatically generate a diff. All this can be disabled for unfederated wikis only. A dropdown will be slapped onto the "Read" button with the most subscribed-to instances.

Devolpment[edit]

Ünfortunately", Aaron Liu is currently too busy procrastinating to actually learn the Gemini protocol or even PHP, the world's best fucking language. He would much prefer to code in Kotlin.

)