Manual:Pywikibot/pagefromfile.py

Pagefromfile.py is part of the Pywikipedia bot framework. With this script you can create pages from a textfile. The file should be in UTF-8 and if you want to create multiple pages from a file you should separate the articles as specified by the -start and -end arguments.

The pagename will be the first headword in your textfile (the first word between    ). It is currently automatically inserted in the uploaded page.

Specific arguments:

E.g.: Filename.txt xxxx PageName Text here

yyyy xxxx AnotherPageName Another text yyyy Usage: pagefromfile.py [global-arguments] -start:xxxx -end:yyyy -file:Filename.txt