In my previous post, we got to the point of being able to create a new Wikibase Entity, it is stored in the MediaWiki database as a page, however we can’t actually view it via any interface currently.

In this post, we will work through another set of code changes, tackling each issue as we see it arise, until we can see the entity represented in the various places that users might expect.
Viewing the page
The provided entity serialization is neither legacy nor current
When clicking on one of the links on Special:RecentChanges to a phrase page that we have created, we get our first error.
/wiki/Phrase:Phrase66900b01937842.29097733 MWContentSerializationException: The provided entity serialization is neither legacy nor current
from /var/www/html/w/extensions/Wikibase/lib/includes/Store/EntityContentDataCodec.php(253)Code language: JavaScript (javascript)
The full stack trace is a little large, but you can find it in a paste bin.
This error is very similar to an issue we saw in the creation blog post, but this time the codec class can not deserialize what we have stored in the database, as we have not registered a deserializer for phrases.
Adding a deserializer to the entity registration file is very simple:




My first and currently only Joomla component development was for the