Page MenuHomePhabricator

Clarify the purpose of "MediaWiki binding" in API building blocks
Closed, DeclinedPublic

Description

Various Building blocks views, e.g. WikibaseRepo's Edit Entity API diagram (https://wmde.github.io/wikidata-wikibase-architecture/systems/WikibaseRepo/05-Building_Block_View.html#action-api-edit-entity* include building blocks described to be of type "MediaWiki binding".

I would claim this is not particularly meaningful, in the sense that, unlike other types of building block, it does not say much on the purpose of the building blocks of this type (compared to e.g. "Handling user input"), it is also not accurate (see below).

I assume Mediawiki is seen as a "framework" for WikibaseRepo component. I would imagine that building blocks that exist on the boundary between WikibaseRepo and Mediawiki do fulfill some particular purpose. To stick to Edit Entity API building block diagram example, there is e.g. ResultBuilder there which, arguably, is also "MW binding" blocks as it "translates" results of operation in WikibaseRepo to MediaWiki's API result. Similarly EntityPermissionChecker does have some more specific role, than just "binding to Mediawiki", doesn't ?

Or has been the point that EntityPermissionChecker's "type" is irrelevant on this level of detail, so it just is thrown to a general "Other framework related stuff" bucket?

Event Timeline

I'm not sure how best to tackle this right now, so might leave it in doing and discuss it.
We discussed removing much of this lower level stuff, in which case I won't invest the time in trying to organize and explain it before just removing it.

Addshore renamed this task from Clarify the purpose of "MediaWiki binding" building blocks to Clarify the purpose of "MediaWiki binding" in API building blocks.Jan 27 2021, 10:34 AM