Sc4s2cg created this task.
Sc4s2cg added a project: Pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

I'm trying to use the pagefromfile.py script from pywikibot to import text files as new pages in my mediawiki server. I am able to login and do some basic maintenance, but this specific bot gives me an error: https://pastebin.com/WDTfuLLH.

Steps to reproduce:

  • nano pages.txt
  • Paste the example from wiki:

{{-start-}}
'''Pywikibot''' is a Python library and collection of scripts that automate wor$
Originally designed for Wikipedia, it is now used throughout the Wikimedia Foun$
{{-stop-}}
{{-start-}}
'''AutoWikiBrowser''' (often abbreviated '''AWB''') is a semi-automated MediaWi$
{{-stop-}}

  • python pwb.py pagefromfile -file:pages.txt

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

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

To: Sc4s2cg
Cc: Aklapper, Pywikibot-core, pywikibot-bugs-list, Sc4s2cg, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to