PAWS is using the stable tag to update pywikibot. The updated code is in the stable branch.
Description was:
Title: pwb replace.py # of pages changed notification is wrong for one change
Steps to Reproduce:
Create a wiki-test-page in wiki with the attached content.
run the following (modify with your test page)
@PAWS:~$ pwb.py replace -page:user:Arjunaraoc/pwb-test-page -regex Please enter the text that should be replaced: <nowiki/> Please enter the new text: Please enter another text that should be replaced, or press Enter to start: The summary message for the command line replacements will be something like: Bot: Automated text replacement (-<nowiki/>+) Press Enter to use this automatic message, or enter a description of the changes your bot will make:
Actual Results:
Retrieving 1 pages from wikipedia:te. >>> వాడుకరి:Arjunaraoc/pwb-test-page <<< @@ -11 +11 @@ - #[[జల్లెడ]] పట్టి [[ఇసుక]]<nowiki/>ని తీసివెయ్యండి + #[[జల్లెడ]] పట్టి [[ఇసుక]]ని తీసివెయ్యండి Do you want to accept these changes? ([y]es, [N]o, [e]dit original, edit [l]atest, open in [b]rowser, [a]ll, [q]uit): y 0 pages changed. @PAWS:~$
Expected Results:
Retrieving 1 pages from wikipedia:te. >>> వాడుకరి:Arjunaraoc/pwb-test-page <<< @@ -11 +11 @@ - #[[జల్లెడ]] పట్టి [[ఇసుక]]<nowiki/>ని తీసివెయ్యండి + #[[జల్లెడ]] పట్టి [[ఇసుక]]ని తీసివెయ్యండి Do you want to accept these changes? ([y]es, [N]o, [e]dit original, edit [l]atest, open in [b]rowser, [a]ll, [q]uit): y 1 pages changed. @PAWS:~$