code that formats Wikibase entries in recent changes needs improvement and tests added.
some parts are generic and might be better put in core, so Flow extension and other stuff can share and do things consistently.
some parts are generic for wikibase to format both the "old" and "enhanced" format.