https://bugzilla.wikimedia.org/show_bug.cgi?id=55149
--- Comment #18 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Yes in my opinion code should be like below (as you said in last comment) and before DataPage() library should load myData by itself without other lines! (minimal code) and this loading could be done in setitem()
myPage = wikipedia.Page(wikipedia.getSite(), 'Helium') myData = wikipedia.DataPage(myPage) content = {...} myData.setitem('changing an item', content) # put it to the web