Xqt added a comment.
Just an idea to circumvent this sys.argv problem is to use a preleading
linespace but does not work if the template is in the first line on the page:
python pwb.py -simulate replace -page:ئانیشک -site:wiktionary:ckb -regex
"\r?\n{{wikipedia}}\n?" "\n" -summary:"Replace test"
TASK DETAIL
https://phabricator.wikimedia.org/T364689
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
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]