Bugs item #3582204, was opened at 2012-10-31 04:28 Message generated for change (Tracker Item Submitted) made by driesv You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3582204...
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: rewrite Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Dries V (driesv) Assigned to: Russell Blau (russblau) Summary: replace.py exceptinsidetag:template does not work correct
Initial Comment: I have a page "Test" with only the following text: Het puntenboek is het vertrekpunt van je rapporten. Standaard heeft {{!}} een ''Standaard puntenboek'' aangemaakt. Indien je meerdere puntenboeken gebruikt dan zal het ''groepnummer'' een belangrijke rol spelen. {{!}}
For the convenience, I changed my templates to {{!}}.
I run the following script: python replace.py -page:Test " ''Groepnummer'' " " test " -always -nocase -exceptinsidetag:template
The text isn't replaced.
If I loose the last template {{!}}. The script works. Offcourse, when I don't use -exceptinsidetag:template, the script always works.
Version.py:
unicode test: triggers problem #3081100 Pywikipedia (r10622 (wikipedia.py), 2012/10/28, 10:40:09) Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) [GCC 4.4.5] config-settings: use_api = True use_api_login = True unicode test: triggers problem #3081100
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3582204...