Page MenuHomePhabricator

[Story] Reorganize DataTypes code on component level
Closed, InvalidPublic

Description

This is about the https://packagist.org/packages/data-values/data-types component.

Right now it contains PHP and JS. This is not ideal. The component could be split into a PHP and a JS one. However, personally I think it already does not justify itself in its current form, much less when it gets split. To address both these concerns, I suggest to move the JS code into DataValues JavaScript and the PHP code into DataValues Interfaces.

Event Timeline

JeroenDeDauw raised the priority of this task from to Needs Triage.
JeroenDeDauw updated the task description. (Show Details)
JeroenDeDauw added a project: DataTypes.
JeroenDeDauw moved this task to Backlog on the DataTypes board.
JeroenDeDauw subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Lydia_Pintscher set Security to None.

With https://github.com/wmde/DataTypes/pull/34 I'd rather just move the PHP code to Wikibase.git for now. It's very little, is not entirely "finished" and is currently only used in Wikibase.git anyway. (I went through all the the packages depending on this one, and of those that are PHP, all of them actually did not need the component...)

Jonas renamed this task from Reorganize DataTypes code on component level to [Story] Reorganize DataTypes code on component level.Nov 2 2015, 3:29 PM
Addshore subscribed.

JS code has been split into an npm package and included in WIkibase by submodule.
PHP code is being moved to Wikibase

T180454