Comments (1)
If you want to do edit requests directly to the API you need to get and supply
an edit token. This is documented in the MediaWiki API documentation:
https://www.mediawiki.org/wiki/API:Edit_-_Create%26Edit_pages
However for editing pages it's recommended that you use the functions in the
Page object. Page.edit() will handle the token for you. It's not fully
documented online yet, but most functions are documented in-code:
https://code.google.com/p/python-wikitools/source/browse/trunk/wikitools/page.py
#479
Original comment by [email protected]
on 6 Mar 2012 at 4:41
- Changed state: Invalid
from python-wikitools.
Related Issues (20)
- User.__eq__ and User.__ne__ are broken HOT 3
- Stall on File Upload HOT 3
- [PATCH] fix utf8 namespaces HOT 1
- addinfourl instance has no attribute 'seek' HOT 1
- Cannot create new article from api. HOT 3
- HTTP Error 401: Authorization Required HOT 6
- Unicode encode error HOT 2
- page.exists True False None HOT 3
- Wikitools 2.0 HOT 3
- Certain attributes should be immutable
- cannot create wiki object HOT 4
- Cannot edit wiki with CAPTCHA protection HOT 3
- pagelist.listFromTitles() provides non-existent pageid argument to wikifile.File when creating file objects from a list HOT 1
- Pagelist for namespace 14 busted HOT 1
- isIP is false for IPv6 addresses HOT 1
- query for links can get stuck if there are no links in page HOT 1
- Can not create page with CAPTCHA HOT 2
- Cannot create a wiki object HOT 4
- Query frees for infinite loop & handling wiki errors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-wikitools.