Platonides wrote:
okparanoid wrote:
Hello,
i'm admin on mediawiki site on my companie's intranet.
I have renamed a lot of pages to integrate them in a new namespace.
As a result i have a lot of links that link to the olds names of the
pages which are became redirect pages.
that's a problem for us and for cosmetic reason i have to update all
this links to link directly on the renamed pages.
Is there a maintenance script who can do this ?
Search all the links in the wiki and change them if the link point on a
redirect page ?
Thanks for your help
Best regards
There's no script to do that, but you can use a pywikipedia bot to edit
your wiki fixing the redirect links.
Regards
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I have taken a look at pywikipedia but i have only found the ability to
correct double redirect, and not directly correct the link to the page :
http://meta.wikimedia.org/wiki/Redirect.py
Perhaps have i missing something ?
Regards