Module pywikipedia.pagefromfile
This bot takes its input from a file that contains a number of
pages to be put on the wiki. The pages should all have the same
begin and end text (which may not overlap), and should have the
intended title of the page as the first text in bold (that is,
between ''' and '''). The default is not to include the begin and
end text in the page, if you want to include that text, use
the -include option.
Specific arguments:
-start:xxx Specify the text that is the beginning of a page
-end:xxx Specify the text that is the end of a page
-file:xxx Give the filename we are getting our material from
-include The beginning and end text should be included in the
page.
-utf The input file is UTF-8
Note the '-utf' option is necessary on older versions of Windows;
whether it's necessary or useful on Windows XP and/or other
operating systems is unclear.
Function Summary |
|
findpage(t)
|
|
main()
|
- Imported modules:
-
re
,
sys
,
pywikipedia.wikipedia
- Imported variables:
-
endtext
,
filename
,
include
,
msg
,
starttext
,
utf