• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wikimedia / mediawiki-extensions-WikibaseDataModel / 63
29%

Build:
DEFAULT BRANCH: master
Ran 28 Aug 2013 06:26PM UTC
Jobs 3
Files 38
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
63

push

travis-ci

JeroenDeDauw
EntityId rewrite

This includes

* Dropping of id prefix configurability (as previously discussed)
* Separation of the id class and the entity id DataValue (EntityId
no longer derives from DataValue. A new EntityIdDataValue
composites in a EntrityId)
* The EntityId class now has as fields entity type (string) and
id serialization (string)
* New ItemId and PropertyId derivatives, which in the constructor
only take the id serialization. The long term goal is to make
EntityId abstract
* Serialization format compatibility where required. The format
of the DataValue will remain the same for now

Some implications

* No more global state is used
* No more semi-dependency from DataModel on lib
* getPrefixedId is no longer evil and thus not deprecated any more
* EntityId and derivatives no longer expose the id format. A
FooIdDerivative that has a md5 in it can be created if that'd make sense
* One can type hint against ItemId or PropertyId, which are
guaranteed to be valid ids for the correct entity type

This is a breaking change for Wikibase, which needs to have
https://gerrit.wikimedia.org/r/#/c/80506/ merged soon after
this commit goes in.

Change-Id: I9b05e8305

575 of 1008 relevant lines covered (57.04%)

16.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 63.1 28 Aug 2013 06:26PM UTC 0
57.04
Travis Job 63.1
2 63.2 28 Aug 2013 06:26PM UTC 0
57.04
Travis Job 63.2
3 63.3 28 Aug 2013 06:26PM UTC 0
57.04
Travis Job 63.3
Source Files on build 63
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #63
  • 1e3f1730 on github
  • Prev Build on master (#62)
  • Next Build on master (#64)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc