Arjunaraoc created this task. Arjunaraoc added a project: Pywikibot-replace.py. Restricted Application added subscribers: pywikibot-bugs-list, jeblad, Aklapper. Restricted Application added a project: Pywikibot.
TASK DESCRIPTION Steps to Reproduce: Create a wiki-test-page in wiki with the attached content. F31937070: wiki-test-page <https://phabricator.wikimedia.org/F31937070> 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:~$ TASK DETAIL https://phabricator.wikimedia.org/T258142 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Arjunaraoc Cc: Aklapper, jeblad, pywikibot-bugs-list, Arjunaraoc, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
