Last modified: 2014-10-27 15:30:03 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 T67580, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65580 - snak value html is inconsistent in js vs. non-js
snak value html is inconsistent in js vs. non-js
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=frontend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-21 12:45 UTC by Aude
Modified: 2014-10-27 15:30 UTC (History)
6 users (show)

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


Attachments

Description Aude 2014-05-21 12:45:11 UTC
snak value html is inconsistent in js vs. non-js

this causes problems when people want to extract the actual value from the dom, and all the JS dom is not fully initialized when they do, etc.

i don't see good enough reason for this html to be different in js.
Comment 1 Henning 2014-10-27 15:30:03 UTC
Checked on current master: The DOM is basically the same with the JS adding another level by initializing the valueview widgets that cannot be simulated in non-JS easily.

In any case, people intending to manipulate the DOM or re-use information from the DOM, should simply wait for the entityview to initialize, e.g. by listening to the "create" event on the entityview widget(s). If not, they would just slow down basic page/entity initialization.

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


Navigation
Links