You may use solve_disambiguations.py to change links. It also works for any link. There is a sample in the doc string how to do it.
Best xqt
Am 20.02.2019 um 01:05 schrieb John Bray johnbray822@gmail.com:
I have many pages for people who have variant forms of their names, with redirects in place. I'd like to standardise the names as seen by users.
So Jim with [[F. Bloggs]] points at a redirect page which in turn points to Fred Bloggs
fixing_redirects.py will change Jim to have [[Fred Bloggs|F. Bloggs]] but won't do the final step of producing [[Fred Bloggs]]
Is there way of doing this in one step, or a way to automatically remove the display text for links?
John _______________________________________________ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot