Aram created this task.
Aram added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
I just noticed that `replace.py` script of pywikibot can't replace your
pattern with null.
python pwb.py replace -family:wiktionary -lang:ckb -page:"countries.txt"
-regex "{{wikipedia}}\n?" ""
ERROR: Incomplete command line pattern replacement pair.
As we can see, the last double quotations containing nothing/null and should
remove {{wikipedia}} template, but we got that error message. I tried to insert
one single character and worked but I always use regex to delete things.
TASK DETAIL
https://phabricator.wikimedia.org/T364689
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Aram
Cc: Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS,
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb,
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]