Page MenuHomePhabricator

integrate wikidata (composer) built with mediawiki/vendor
Closed, DuplicatePublic

Description

Integrate wikidata (composer) built with mediawiki/vendor . Otherwise stuff will break as soon as core and wikidata share a dependency. Because the composer run for mediawiki/core does not know about the composer from the wikidata built. So we need to have one build with one composer run that knows about both parts so it does not duplicate the same namespace.

Details

Reference
bz72703

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:46 AM
bzimport added a project: Wikidata.org.
bzimport set Reference to bz72703.
bzimport added a subscriber: Unknown Object (MLST).

Oops we yesterday in all the discussions forgot that the autoloader does not try to load a class again that is already loaded. And the next autoloader is only tried until one succeeds. (So as long as nobody uses require/include on a duplicate that will not break.)
Proof: https://github.com/JeroenDeDauw/DoubleLoad

We still probably want to have a unified build, because composer then will detect incompatible version requirements.

Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
hoo updated the task description. (Show Details)Oct 28 2016, 3:47 PM
hoo set Security to None.