Page MenuHomePhabricator

edit counter gives wrong result for replace.py
Closed, DuplicatePublic

Description

C:\pwb\GIT\core>pwb.py replace -fix:tiny -search:"insource:/\<(?:span|div)[^>]+
*\/ *\>/" -namespace:10 -cc
NOTE: option cosmetic_changes is False

Retrieving 1 pages from wikipedia:de.


>>> Vorlage:ISO 639-1 zu Langform <<<
@@ -187 +187 @@
- | #default = <div class="error"/>
+ | #default = <div class="error"></div>

Do you want to accept these changes? ([y]es, [N]o, [e]dit, open in [b]rowser, [a
]ll, [q]uit): y

0 pages changed.

Displays 0 pages changed. but 1 page has been changed.

Event Timeline

Xqt created this task.Jul 16 2016, 7:44 PM
Restricted Application added subscribers: pywikibot-bugs-list, Zppix, Aklapper. · View Herald TranscriptJul 16 2016, 7:44 PM
Dalba triaged this task as Low priority.Aug 14 2016, 8:10 AM