Last modified: 2014-07-21 21:22:29 UTC
When recording redirects in wb_entity_per_page, we need a column (or separate table) to hold the redirect target. This will also allow us to efficiently identifry and filter redirects when iterating over all entit
...when iterating over all entity IDs.
*** Bug 66074 has been marked as a duplicate of this bug. ***
After some thought, it seems that it's more sensible to have redirect in a separate table, and remove them from wb_entity_per_page. This will assure compatibility with existing code that uses wb_entity_per_page to iterate over all entities, and it generally makes for a nicer database layout. Adjusting the description accordingly.
We are not going to track them for now.
Needed after all.
After some back-and-forth, we decided to add a column to entity_per_page after all, see the thread on wikidata-tech startwing with <http://lists.wikimedia.org/pipermail/wikidata-tech/2014-July/000540.html>.
Change 147137 had a related patch set uploaded by Daniel Kinzler: Tests for redirect handling in EntityRevisionLookup https://gerrit.wikimedia.org/r/147137
Change 147118 merged by jenkins-bot: Track redirects in EPP table https://gerrit.wikimedia.org/r/147118
Change 147137 merged by jenkins-bot: Tests for redirect handling in EntityRevisionLookup https://gerrit.wikimedia.org/r/147137