User:Catrope/Wikimania/API requests
For how to do POST requests with jQuery, see this.
Main page with docs
editInformation about the wiki
edit- http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo
- http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=general%7Cnamespaces%7Cnamespacealiases
- http://es.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=general%7Cnamespaces%7Cnamespacealiases
- http://en.wikipedia.org/w/api.php?action=query&meta=userinfo&uiprop=groups%7Crights
Title normalization
editRedirect resolution
editInformation about pages
editRunning multiple queries
editLimits and continuations
edit- http://en.wikipedia.org/w/api.php?action=query&titles=Main_Page&prop=info%7Crevisions&rvlimit=5
- http://en.wikipedia.org/w/api.php?action=query&titles=Main_Page&prop=info%7Crevisions&rvlimit=5&rvstartid=273421236
- http://en.wikipedia.org/w/api.php?action=query&titles=Main_Page&prop=info%7Crevisions&rvlimit=max
- http://en.wikipedia.org/w/api.php?action=query&titles=Main_Page&prop=info%7Crevisions&rvlimit=max&rvprop=content
Image information
edit- http://en.wikipedia.org/w/api.php?action=query&titles=File:Flag_of_the_Netherlands.png&prop=imageinfo
- http://en.wikipedia.org/w/api.php?action=query&titles=File:Flag_of_the_Netherlands.png&prop=imageinfo&iiprop=url
- http://en.wikipedia.org/w/api.php?action=query&titles=File:Flag_of_the_Netherlands.png&prop=imageinfo&iiprop=url&iiurlwidth=200
- http://en.wikipedia.org/w/api.php?action=query&titles=File:Flag_of_the_Netherlands.png&prop=imageinfo&iiprop=url&iiurlwidth=137
Lists of pages
editGenerators
edit- http://www.mediawiki.org/w/api.php?action=query&generator=allpages&prop=revisions
- http://www.mediawiki.org/w/api.php?action=query&generator=allpages&gaplimit=5&gapnamespace=2&gapprefix=Catrope/&prop=revisions
- http://www.mediawiki.org/w/api.php?action=query&generator=allpages&gaplimit=5&gapnamespace=2&gapprefix=Catrope/&prop=revisions&rvprop=content
Editing pages
edit- Get token and basetimestamp
- The actual edit (needs POST request)
- Appending text to pages