matej_suchanek created this task. matej_suchanek added a project: Wikidata. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION Steps to Reproduce: 1. Find an item (eg. sandbox <https://www.wikidata.org/wiki/Q4115189#P31>) which has at least one statement for a property. 2. Add another statement <https://www.wikidata.org/w/index.php?title=Q4115189&diff=1012388664&oldid=1012388314> for the same property. 3. Inspect HTML. Actual Results: The id attribute is set to "new": <div class="listview-item wikibase-statementview wikibase-statement-new wb-normal wikibase-toolbar-item wikibase-statement-Q4115189$cc2f2089-4695-38ac-a28c-3e769a6398c2" id="new" aria-disabled="false"> ... </div> Expected Results: The id attribute is set according to the `wikibase-statement-Q...` class (in this case, `Q4115189$cc2f2089-4695-38ac-a28c-3e769a6398c2`). This is important for when `mw.hook( 'wikibase.statement.saved' )` is fired. TASK DETAIL https://phabricator.wikimedia.org/T232777 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: matej_suchanek Cc: Aklapper, matej_suchanek, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs