Page MenuHomePhabricator

langlinks table not updated on interwiki link change
Closed, InvalidPublic

Description

Steps to reproduce

Add/change a link to any page on wikidata.

Expected behavior

The change shows up in the langlinks table immediately or after some time.

Actual behavior

An edit on the page is required to update the langlinks table.

This is a problem, especially for categories, as they typically receive a small number of edits. There should be some automatic process for syncing these changes - either immediately or with some reasonable delay.


Version: master
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=59961

Details

Reference
bz59962

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:40 AM
bzimport set Reference to bz59962.
bzimport added a subscriber: Unknown Object (MLST).

Changing the item on wikidata.org should indeed cause any client page that uses that data to be purged and re-rendered. However, I'm not sure whether we store language links from wikidata in langlinks at all.

Needs further investigation/verification.

Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).

For now, there was a decision to not put it in the table that way. So I am closing this bug. Someone said, it should be an option in the api later on, but the patch is stuck in review.

Lucie set Security to None.

Still, the behavior is inconsistent (or at least, it was a year ago; I have not re-tested it):

  • the langlinks table is not updated on a wikidata edit
  • the langlinks table /is/ updated on a purge

either the links should not be in the langlinks table at all, or they should always be there.

I created a bug to test if the langlink table is still editable the way you described it: https://phabricator.wikimedia.org/T78677