Bugs item #2838855, was opened at 2009-08-17 12:22 Message generated for change (Comment added) made by melancholie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2838855...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None
Status: Closed Resolution: Works For Me
Priority: 5 Private: No Submitted By: Melancholie (melancholie) Assigned to: Nobody/Anonymous (nobody) Summary: replace.py ignores redirects
Initial Comment: With replace.py there is no obvious possibility to change the content of redirect pages. There is no -noredirect like for interwiki.py e.g.
I am not sure whether the bot just ignores it or is following the redirect, but I sometimes need to replace content of redirect pages.
Example content:
#REDIRECT [[dest#sec1]] [[Category:Foobar]]
If the section link (or "../link/" like for mwlwiki) should be replaced or the category etc., there should be the chance to do so. Maybe it's just a documentation issue?
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2009-08-19 15:54
Message: Sorry, there is -redirectonly of course (e.g. -redirectonly:Template:!), only documented/mentioned in pagegenerators.py though!
----------------------------------------------------------------------
Comment By: Melancholie (melancholie) Date: 2009-08-17 12:25
Message: Current replace.py version: r7115
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2838855...
pywikipedia-bugs@lists.wikimedia.org