Aram added a comment.

  @Xqt, I have updated python to the latest version `3.12.3` and tried 
`-3.12-64` and `-3.10-64` launchers. Both launchers were the same. This is 
escaping one:
  
    PS C:\Pywikibot> python pwb.py -simulate replace -page:ئانیشک 
-site:wiktionary:ckb -regex "{{wikipedia}}\n?" \"\" -summary:"Replace test"
    Retrieving 1 pages from wiktionary:ckb.
    
    
    >>> ئانیشک <<<
    @@ -2,2 +2 @@
    - {{wikipedia}}
    - [[پەڕگە:Elbow (body).jpg|thumb|ئانیشک|120px]]
    + \\[[پەڕگە:Elbow (body).jpg|thumb|ئانیشک|120px]]
    
    Do you want to accept these changes? ([y]es, [N]o, [e]dit original, edit
    [l]atest, open in [b]rowser, [m]ore context, [a]ll, [q]uit):
  
  And this is my `command.log`:
  
    2024-05-21 12:01:34 rg18846 Python 3.12.3 wrapper "-simulate" "replace" 
"-page:ئانیشک" "-site:wiktionary:ckb" "-regex" "{{wikipedia}}\n?" "\\" 
"-summary:Replace test"
    2024-05-21 12:01:34 rg18846 Python 3.12.3 replace "-page:ئانیشک" 
"-site:wiktionary:ckb" "-regex" "{{wikipedia}}\n?" "\\" "-summary:Replace test"

TASK DETAIL
  https://phabricator.wikimedia.org/T364689

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Aram
Cc: binbot, Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, 
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to