WikibaseLexeme and WikibaseMediaInfo are two extensions that add new entity types, including datatypes for those entities. I suspect that WikibaseMediaInfo might be easier to look into – in WikibaseLexeme, the extension registration is complicated a bit by the fact that the extension has to be installed on client wikis as well, but only the client parts, not the repo parts, whereas WikibaseMediaInfo doesn’t have this issue.
Several other extensions add new datatypes (but not entity
types): at least Math,
I’m not aware of any extensions that add new datatypes and are
specifically intended to be used as examples or building blocks
for your own extensions.
Hi, I would like to implement a new property type for my project. Are there any examples of extensions that add new prop types to wikibase?
I already implemented most of what I need by changing wikibase code, but I doubt a property to store multiline code snippets will be accepted into wikibase at this stage, so it has to be done as an extension. Any suggestions would be appreciated.
Note that I had to change two repos:
_______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata