Aram added a comment.

  @Xqt, Sure, I just updated to the latest version:
  
    PS C:\Pywikibot> python pwb.py version
    Pywikibot: [https] r-pywikibot-core.git (385e9d7, g18846, 2024/05/20, 
15:05:27, stable)
    Release version: 9.1.2
    packaging version: 24.0
    mwparserfromhell version: 0.6.4
    wikitextparser version: 0.55.6
    requests version: 2.31.0
      cacerts: 
C:\Users\Aram\AppData\Local\Programs\Python\Python310\lib\site-packages\certifi\cacert.pem
        certificate test: ok
    Python: 3.10.5 (tags/v3.10.5:f377153, Jun  6 2022, 16:14:13) [MSC v.1929 64 
bit (AMD64)]
    PYWIKIBOT_DIR: Not set
    PYWIKIBOT_DIR_PWB: C:\Pywikibot\pywikibot\scripts
    PYWIKIBOT_NO_USER_CONFIG: Not set
    Config base dir: C:\Pywikibot
    Usernames for family 'wikidata':
            wikidata: AramBot
            test: AramBot
    Usernames for family 'wikipedia':
            ckb: AramBot
            ku: AramBot
            test: AramBot
    Usernames for family 'wiktionary':
            ckb: AramBot
            en: AramBot
    PS C:\Pywikibot>
  
  Running the command again with adding the master branch patch you provided:
  
    PS C:\Pywikibot> python pwb.py -simulate replace -page:ئانیشک 
-site:wiktionary:ckb -regex "{{wikipedia}}\n?" "" -summary:"Replace test"
    ERROR: Incomplete command line pattern replacement pair:
    ['{{wikipedia}}\\n?']

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

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

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

Reply via email to