=== AC
[] Add wikidata link to overflow menu
[] Selecting the wikidata item link will navigate to the wikidata item page
[] If no wikidata item is available, the link should not appear
=== Dev notes
- Link should look something like: https://www.wikidata.org/wiki/Q5296
- Make the change in mediawiki/extensions/Wikibase repo
- This'll likely involve adding a hook handler in [[ https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/client/ClientHooks.php | client/ClientHooks.php ]], which has plenty of other non-Wikibase hook handlers
- This is an opportunity to migrate the `ExtMobileFrontend::getWikibaseDescription` to Wikibase
- Model this on https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/a69151b82f799ceafb7039cc6830cdf35672367e/client/includes/ParserOutput/ClientParserOutputDataUpdater.php#L69-L86
- There's no need for additional feature flagging. We're not planning on enabling AMC on wikidatawiki any time soon so there's no need to worry about Wikidata entities linking to themselves right now
=== Sign off notes
We are moving Wikibase functionality out of MobileFrontend. At end of this task review the remaining Wikibase code for descriptions and entities in ExtMobileFrontend page. Make sure removing this code is captured in a task.