This table is being restored but we need to rebuild any data that has changed due to edits between now and the backup restore point.
Current plan is:
[x] Adapt extensions/Wikibase/repo/maintenance/rebuildItemsPerSite.php to take a list of items to rebuild
[x] Deploy the maint script
[] Generate list of items that were touched between the time the tables are completely restored in their place **TBA** and the time that the DB restore was taken from 23:02:13 7 April 2020
[] Run maintenance script
We are not worried about creating duplicates entries for a single item-site combination in this table (i.e. two sitelinks to one wiki for one item) that might cause problems because we already have had true duplicates in the past. c.f. https://www.wikidata.org/wiki/Wikidata:True_duplicates
There is also an unique index across siteid and page so we don't worry about a given page being linked to two items.