Conversation
This entity just contains a string. I am not implementing all of the needed things yet, so that I can work through the creation process and see the minimum set of required things. So far this commit a) adds a class that extends EntityDocument (required) but there are ways this interface could be reduced b) adds an ID, that is just a simple string (required) again, this interface could be simplified c) adds a special page so that I would be able to try and create the entity. Note: It would have been nicer to be able to say that an entity type brings an interface with it, instead of needing to add this to WikibaseRepo extension.json directly Change-Id: Ia1750a56fd70d6a9699e592a6805ddb61bcf8428
ERROR 1: No content handler defined for entity type sea-horse-entity-type The Content handler connects Wikibase and entiities into MediaWiki. To persist things this will have a bunch of other stuff that needs adding. Change-Id: Ia93d7c10a9e1c6fe7cdb271f8f28c6870b87311a
The next error was: The given PageIdentity Special:Badtitle/NS4269:361d048c2506cd65cec4490edfdbe198 does not represent a proper page in MediaWiki\Page\WikiPageFactory->newFromTitle() So when the page is trying to be saved, mediawiki complains... Change-Id: Ia2f81a69483251701f024a496cfd757099fec1a7
Change-Id: I563809050a05cc25fff1b58571ad2e916860f1ac
Change-Id: I7558aad25dc53c360f0bf175b44779a371c0c532
Change-Id: I3d8d75934037051af103ed8257aed534d5249553
Change-Id: Iedef018fb2612e7d02b0033c4ca20f292d8213f1
Change-Id: Ib45ebac2343eb5b12e556c44ae83323c86abcea3
Change-Id: I670d270a13c90c2d446d6333de9152c488219bdc
|
After 7c01dee recent changes is once again fixed |
Change-Id: I4a5b84456ccb3354f87f2edbb249e6afca1f019b
Change-Id: Ia2889e614df1e3d70d89e7988a5e5d9cd566d6e3
Change-Id: I882ce1ba7b3d8756cf26dde63463ed16e0dd6d1f
|
This entity now has a baseline implementation of having "fingerprints", making use of the already existing datamodel classes (even thought they are slightly cubersome in their current state) hence a small bit of refactoring along the way. There is also a custom display of this fingerprint. So the creation page has also altered slightly This is somewhat similar to EntitySchemas right now? |
|
Again github is doing things out of order.... Note that labeldata is not yet populated 2c5cc0c#diff-c3a82eefebb31e23dbbf2673e224ad17d37a6fc04deba235a7a3999e88ed16e7R9 probably because we didn't define a way to look it up... |
Change-Id: I5290c6d4da89287c211ab63183d14b6ab4f78211
Change-Id: I741968266104ae2bf2d088ffdaf02e7a12c13bb1
This was broken before now, as my ID has lower case letters in it EntityDataUriManager always upper cased IDs, which actually means that lookups would no longer be able to find them... This behaviour is probably only wanted for OLDER entities? and should probably be implemented somewhere else.. Change-Id: Ia439afac127447fa7999f27597ea162cbe0c6e24
Change-Id: I575b5f1709558f45f1e70e6cf175dc6428d9cf5b
Change-Id: I2a645d99d981c8bed42f2892f7dc7a62037f54aa
















No description provided.