Page MenuHomePhabricator

fixing_redirects.py should have rewrite option
Open, LowPublicFeature

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

JAnD created this task.Oct 10 2019, 8:59 PM
Restricted Application added a project: Pywikibot. · View Herald TranscriptOct 10 2019, 8:59 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
JAnD added a comment.Oct 10 2019, 9:32 PM

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".
JAnD added a comment.Oct 18 2019, 12:26 PM

Isn't this T123287?

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

JAnD updated the task description. (Show Details)Oct 18 2019, 12:27 PM
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