Page MenuHomePhabricator

fixing_redirects.py should have rewrite option
Closed, ResolvedPublicFeature

Description

In page i have link [[Foo]]

Foo is redirect to Bar
Now:

bot tries to fix redirect: [[Bar|Foo]]

requsted:
add [r]ewrite option (like in solve_diasmbiguation):
[[Bar]]

so I can select, if I want first or second option

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript

Isn't this T123287?

No,
I want [[Oldtitle]] -> [[Newtitle]] and possibility to change [[Oldtitle|Foo]] -> [[Newtitle]], the same function as in solve_sisambiguation

Xqt triaged this task as Low priority.Oct 11 2019, 1:49 AM
Xqt changed the subtype of this task from "Task" to "Feature Request".

Isn't this T123287?

T123287 does the requeested change, but I meant possibility to check if
[[Foo]] -> [[Bar|Foo]] or [[Foo]] -> [[Bar]]

Xqt renamed this task from fixing_redirects.py should have revrite option to fixing_redirects.py should have rewrite option.Oct 23 2019, 4:17 AM

Change 697446 had a related patch set uploaded (by Zabe; author: Zabe):

[pywikibot/core@master] [IMPR] fixing_redirects.py: add rewrite parameter

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

Change 697446 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] fixing_redirects.py: add overwrite parameter

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

@JAnD please reopen if it isn't implemented in the was you meant it.