When viewing an old revision of a page, all of the current properties are displayed, instead of whatever properties the item had during that revision.
Version: unspecified
Severity: major
When viewing an old revision of a page, all of the current properties are displayed, instead of whatever properties the item had during that revision.
Version: unspecified
Severity: major
This is because the entities serialized as 'wbUsedEntities' for the frontend are the current for some reason. Without JavaScript enabled, the right statements will be displayed.
I've already noticed a while ago while debugging that the whole EntityView logic is called twice, also EntityView::registerJsConfigVars() is running twice. Perhaps this is somehow related.
I was wrong about the code running twice, but the EntityView::registerJsConfigVars() is simply getting called with the wrong EntityContent (the current one) given.
This does not work when in diff view.
fix is here: https://gerrit.wikimedia.org/r/#/c/49068/
It seems like this has been reintroduced. See https://www.wikidata.org/w/index.php?title=Q192925&oldid=6198828 . It flashes the correct version (without labels). Then it pulls in later statements through AJAX.
Related URL: https://gerrit.wikimedia.org/r/60868 (Gerrit Change I906214322ee6dcb32d397e110d2f097f098cc253)
Related URL: https://gerrit.wikimedia.org/r/60884 (Gerrit Change I906214322ee6dcb32d397e110d2f097f098cc253)