Home | Trees | Index | Help |
|
---|
Package pywikipedia :: Module editarticle :: Class EditArticle |
|
object
--+
|
EditArticle
Method Summary | |
---|---|
Takes one argument, usually this is sys.argv[1:] | |
Edit the page using the editor. | |
getcomment(self)
| |
handle_edit_conflict(self)
| |
Login, set editor, page and pagelink attributes | |
Initialises site and username data | |
Removes single newlines and prepare encoding for local wiki | |
run(self)
| |
Parse commandline and set options attribute | |
Sets page and pagelink | |
showdiff(self,
old,
new)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
str |
joinchars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopq...
|
Method Details |
---|
__init__(self,
args)
Takes one argument, usually this is sys.argv[1:]
|
edit(self)Edit the page using the editor. It returns two strings: the old version and the new version. |
initialise_data(self)Login, set editor, page and pagelink attributes |
login(self)Initialises site and username data |
repair(self, content)Removes single newlines and prepare encoding for local wiki |
set_options(self)Parse commandline and set options attribute |
setpage(self)Sets page and pagelink |
Class Variable Details |
---|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Jul 03 17:07:36 2005 | http://epydoc.sf.net |