# Wikibase Client / Wikibase Repository relation to MediaWiki

Decision Date: January 2021

Summary: We will document Wikibase Repository as a standalone system and Wikibase Client as a subsystem that is embedded into a MediaWiki application.

# Details

Starting with documenting early architecture decisions, we noticed that the MediaWiki to Wikibase Client relation on the one hand and the MediaWiki to Wikibase Repository relation on the other hand are of quite different nature: While Wikibase Client is primarily made of "plugins" (= extensions) that live inside MediaWiki and adds functionality to another system, Wikibase Repository is a system of its own.

We decided that the corresponding "Solution Strategy" sections of both WikibaseClient and WikibaseRepo are the best place to document the reasons why Wikibase was created as a set of MediaWiki extensions.

In addition to that, we reflect the MediaWiki to Wikibase Client relation in the Technical Context diagram for Wikibase Client by embedding it as a subsystem into a higher-level MediaWiki application. However, we do not regard MediaWiki as an external system in the Technical Context diagram for Wikibase Repository.

Still, MediaWiki will be shown as a component in the Building Block View of Wikibase Repository.