Mwclient: Edit a page

From Glitchdata
Jump to navigation Jump to search


page.edit()
text1 = u"""== [[Test page]] ==
This is a [[test]] page generated by [http://mwclient.sourceforge.org/ mwclient].
This test is done using the [[w:mw:API]]."""
comment1 = 'Test page1'
page.save(text1, comment1)


Links