Last modified: 2013-01-14 16:21:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45263, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43263 - [statements-ui] correct item labels, links to items & properties on page load/reaload
[statements-ui] correct item labels, links to items & properties on page load...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks: 43001 43068
  Show dependency treegraph
 
Reported: 2012-12-19 12:34 UTC by tobias.gritschacher
Modified: 2013-01-14 16:21 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description tobias.gritschacher 2012-12-19 12:34:52 UTC
Links to properties and items as well as displaying the proper label for items in the statements view is working only after adding new claims via the javascript UI without reloading the page. To make those work when the page gets loaded initially or after a reload this needs to be implemented in EntityView as well.
Comment 1 Daniel A. R. Werner 2012-12-20 10:33:56 UTC
This requires additional information to be available initially in the JS UI. This is the info which is delivered via the wbUsedProperties variable currently. This should be renamed to wbUsedEntities and contain all required information.
So far this didn't contain the url information to the entity, this information should be added as well.

See
EntityView::registerJsConfigVars
and
EntityView::getBasicEntityInfo
Comment 2 Daniel A. R. Werner 2012-12-20 10:55:00 UTC
Ie0675c6a solves this
Comment 3 abraham.taherivand 2013-01-14 16:21:51 UTC
Verified in Wikidata demo sprint 28

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links