Page MenuHomePhabricator

wikibase-sitelinks-wikivoyage message does not work in entity view
Closed, ResolvedPublic

Description

If I hard-code or define wikibase-sitelinks-wikivoyage message in WikimediaMessages extension, it still does not work with entity view.

This is because wikibase-sitelinks-wikivoyage and such messages are required by the wikibase.ui.entityViewInit resource loader module.

To solve this, we need to either:

  1. inject these into the module dynamically based on settings

or

  1. generate this with php and re-use this part of the html, instead of regenerate it with JS.

Without resolving this bug, we will have "<wikibase-sitelinks-wikivoyage>(2 entries)" or such as section headings on Wikidata.


Version: master
Severity: blocker

Details

Reference
bz50798

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:47 AM
bzimport set Reference to bz50798.
bzimport added a subscriber: Unknown Object (MLST).

Change 72090 had a related patch set uploaded by Aude:
(bug 50798) Allow dynamic site link group section headings in item view

https://gerrit.wikimedia.org/r/72090

see also https://gerrit.wikimedia.org/r/#/c/72095/ for defining the actual message key for wikidata

Change 72090 merged by Daniel Werner:
(bug 50798) Allow dynamic site link group section headings in item view

https://gerrit.wikimedia.org/r/72090