David_Hedlund added a comment.

Also take a look at editarticle.py

Please give me an example how to use editarticle.py to do this:

echo "Hello world" > Test.wiki;
python pwb.py pagefromfile -summary:"The edit summary" -title:"Test" -file:"Test.wiki" -textonly -force

Sorry, this would be too hard, forget it. pagefromfile should be ok for your purpose

Thank you anyway, for being thoughtful.


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

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

To: Xqt, David_Hedlund
Cc: gerritbot, zhuyifei1999, saper, Zoranzoki21, Xqt, Dvorapa, pywikibot-bugs-list, Framawiki, Aklapper, David_Hedlund, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to