Page MenuHomePhabricator

redirect.py does not support Wikibase redirects
Closed, ResolvedPublic

Description

P132 has a paste of log and error.

Wikidata policy now requires redirect after merge (no delete), so this should be fixed asap.

Details

Event Timeline

revi raised the priority of this task from to Needs Triage.
revi triaged this task as High priority.
revi updated the task description. (Show Details)
revi changed Security from none to None.
revi updated the task description. (Show Details)
revi subscribed.
Ricordisamoa renamed this task from redirect.py does not support wikidata redirect item to redirect.py does not support Wikibase redirects.Dec 10 2014, 6:55 AM

RedirectRobot.fix_1_double_redirect() searches for APISite.redirectRegex() in the page content, which of course doesn't work for Wikibase.

Change 181195 had a related patch set uploaded (by Ladsgroup):
Temp. workaround for Bug: T77971

https://gerrit.wikimedia.org/r/181195

Patch-For-Review

Change 181195 abandoned by Ladsgroup:
Temp. workaround for Bug: T77971

Reason:
With I767dd8 no need for this

https://gerrit.wikimedia.org/r/181195

So, is this fixed now?

No, it isn't. ItemPage does not have a set_redirect_target() method yet.

Change 190160 had a related patch set uploaded (by Ladsgroup):
set_redirect_target method for ItemPage objects

https://gerrit.wikimedia.org/r/190160

Change 190160 merged by jenkins-bot:
set_redirect_target method for ItemPage objects

https://gerrit.wikimedia.org/r/190160

Ladsgroup lowered the priority of this task from High to Low.May 31 2015, 4:58 PM
Ladsgroup removed a project: Patch-For-Review.

Another patch is needed to add support of set_redirect_target for items in Wikidata. I will write it