{
	"error": {
		"code": "readapidenied",
		"info": "You need read permission to use this module",
		"*": "\n  \n  \n  ******************************************************************\n  **                                                              **\n  **  This is an auto-generated MediaWiki API documentation page  **\n  **                                                              **\n  **                  Documentation and Examples:                 **\n  **               http:\/\/www.mediawiki.org\/wiki\/API              **\n  **                                                              **\n  ******************************************************************\n  \n  Status:          All features shown on this page should be working, but the API\n                   is still in active development, and  may change at any time.\n                   Make sure to monitor our mailing list for any updates.\n  \n  Documentation:   http:\/\/www.mediawiki.org\/wiki\/API\n  Mailing list:    http:\/\/lists.wikimedia.org\/mailman\/listinfo\/mediawiki-api\n  Bugs & Requests: http:\/\/bugzilla.wikimedia.org\/buglist.cgi?component=API&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&order=bugs.delta_ts\n  \n  \n  \n  \n  \nParameters:\n  format         - The format of the output\n                   One value: json, jsonfm, php, phpfm, wddx, wddxfm, xml, xmlfm, yaml, yamlfm, rawfm, txt, txtfm, dbg, dbgfm\n                   Default: xmlfm\n  action         - What action you would like to perform\n                   One value: login, logout, query, expandtemplates, parse, opensearch, feedwatchlist, help, paraminfo, purge, rollback, delete, undelete, protect, block, unblock, move, edit, emailuser, watch, patrol, import\n                   Default: help\n  version        - When showing help, include version for each module\n  maxlag         - Maximum lag\n  smaxage        - Set the s-maxage header to this many seconds. Errors are never cached\n                   Default: 0\n  maxage         - Set the max-age header to this many seconds. Errors are never cached\n                   Default: 0\n  requestid      - Request ID to distinguish requests. This will just be output back to you\n\n\n*** *** *** *** *** *** *** *** *** ***  Modules  *** *** *** *** *** *** *** *** *** *** \n\n* action=login (lg) *\n  This module is used to login and get the authentication tokens. \n  In the event of a successful log-in, a cookie will be attached\n  to your session. In the event of a failed log-in, you will not \n  be able to attempt another log-in through this method for 5 seconds.\n  This is to prevent password guessing by automated password crackers.\n\nThis module only accepts POST requests.\nParameters:\n  lgname         - User Name\n  lgpassword     - Password\n  lgdomain       - Domain (optional)\nExample:\n  api.php?action=login&lgname=user&lgpassword=password\n\n* action=logout *\n  This module is used to logout and clear session data\nParameters:\nExample:\n  api.php?action=logout\n\n* action=query *\n  Query API module allows applications to get needed pieces of data from the MediaWiki databases,\n  and is loosely based on the old query.php interface.\n  All data modifications will first have to use query to acquire a token to prevent abuse from malicious sites.\n\nThis module requires read rights.\nParameters:\n  titles         - A list of titles to work on\n  pageids        - A list of page IDs to work on\n  revids         - A list of revision IDs to work on\n  prop           - Which properties to get for the titles\/revisions\/pageids\n                   Values (separate with '|'): info, revisions, links, langlinks, images, imageinfo, templates, categories, extlinks, categoryinfo, duplicatefiles\n  list           - Which lists to get\n                   Values (separate with '|'): allimages, allpages, alllinks, allcategories, allusers, backlinks, blocks, categorymembers, deletedrevs, embeddedin, imageusage, logevents, recentchanges, search, usercontribs, watchlist, watchlistraw, exturlusage, users, random, protectedtitles\n  meta           - Which meta data to get about the site\n                   Values (separate with '|'): siteinfo, userinfo, allmessages\n  generator      - Use the output of a list as the input for other prop\/list\/meta items\n                   NOTE: generator parameter names must be prefixed with a 'g', see examples.\n                   One value: links, images, templates, categories, duplicatefiles, allimages, allpages, alllinks, allcategories, backlinks, categorymembers, embeddedin, imageusage, search, watchlist, watchlistraw, exturlusage, random, protectedtitles\n  redirects      - Automatically resolve redirects\n  indexpageids   - Include an additional pageids section listing all returned page IDs.\n  export         - Export the current revisions of all given or generated pages\n  exportnowrap   - Return the export XML without wrapping it in an XML result (same format as Special:Export). Can only be used with export\nExamples:\n  api.php?action=query&prop=revisions&meta=siteinfo&titles=Main%20Page&rvprop=user|comment\n  api.php?action=query&generator=allpages&gapprefix=API\/&prop=revisions\n\n--- --- --- --- --- --- --- ---  Query: Prop  --- --- --- --- --- --- --- --- \n\n* prop=info (in) *\n  Get basic page information such as namespace, title, last touched date, ...\n\nThis module requires read rights.\nParameters:\n  inprop         - Which additional properties to get:\n                    protection   - List the protection level of each page\n                    talkid       - The page ID of the talk page for each non-talk page\n                    subjectid    - The page ID of the parent page for each talk page\n                   Values (separate with '|'): protection, talkid, subjectid, url, readable\n  intoken        - Request a token to perform a data-modifying action on a page\n                   Values (separate with '|'): edit, delete, protect, move, block, unblock, email, import\n  incontinue     - When more results are available, use this to continue\nExamples:\n  api.php?action=query&prop=info&titles=Main%20Page\n  api.php?action=query&prop=info&inprop=protection&titles=Main%20Page\n\n* prop=revisions (rv) *\n  Get revision information.\n  This module may be used in several ways:\n   1) Get data about a set of pages (last revision), by setting titles or pageids parameter.\n   2) Get revisions for one given page, by using titles\/pageids with start\/end\/limit params.\n   3) Get data about a set of revisions by setting their IDs with revids parameter.\n  All parameters marked as (enum) may only be used with a single page (#2).\n\nThis module requires read rights.\nParameters:\n  rvprop         - Which properties to get for each revision.\n                   Values (separate with '|'): ids, flags, timestamp, user, size, comment, content\n                   Default: ids|timestamp|flags|comment|user\n  rvlimit        - limit how many revisions will be returned (enum)\n                   No more than 500 (5000 for bots) allowed.\n  rvstartid      - from which revision id to start enumeration (enum)\n  rvendid        - stop revision enumeration on this revid (enum)\n  rvstart        - from which revision timestamp to start enumeration (enum)\n  rvend          - enumerate up to this timestamp (enum)\n  rvdir          - direction of enumeration - towards \"newer\" or \"older\" revisions (enum)\n                   One value: newer, older\n                   Default: older\n  rvuser         - only include revisions made by user\n  rvexcludeuser  - exclude revisions made by user\n  rvexpandtemplates - expand templates in revision content\n  rvgeneratexml  - generate XML parse tree for revision content\n  rvsection      - only retrieve the content of this section\n  rvtoken        - Which tokens to obtain for each revision\n                   Values (separate with '|'): rollback\n  rvcontinue     - When more results are available, use this to continue\n  rvdiffto       - Revision ID to diff each revision to.\n                   Use \"prev\", \"next\" and \"cur\" for the previous, next and current revision respectively.\nExamples:\n  Get data with content for the last revision of titles \"API\" and \"Main Page\":\n    api.php?action=query&prop=revisions&titles=API|Main%20Page&rvprop=timestamp|user|comment|content\n  Get last 5 revisions of the \"Main Page\":\n    api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment\n  Get first 5 revisions of the \"Main Page\":\n    api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvdir=newer\n  Get first 5 revisions of the \"Main Page\" made after 2006-05-01:\n    api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvdir=newer&rvstart=20060501000000\n  Get first 5 revisions of the \"Main Page\" that were not made made by anonymous user \"127.0.0.1\"\n    api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvexcludeuser=127.0.0.1\n  Get first 5 revisions of the \"Main Page\" that were made by the user \"MediaWiki default\"\n    api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvuser=MediaWiki%20default\n\n* prop=links (pl) *\n  Returns all links from the given page(s)\n\nThis module requires read rights.\nParameters:\n  plnamespace    - Show links in this namespace(s) only\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  pllimit        - How many links to return\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  plcontinue     - When more results are available, use this to continue\nExamples:\n  Get links from the [[Main Page]]:\n    api.php?action=query&prop=links&titles=Main%20Page\n  Get information about the link pages in the [[Main Page]]:\n    api.php?action=query&generator=links&titles=Main%20Page&prop=info\n  Get links from the Main Page in the User and Template namespaces:\n    api.php?action=query&prop=links&titles=Main%20Page&plnamespace=2|10\nGenerator:\n  This module may be used as a generator\n\n* prop=langlinks (ll) *\n  Returns all interlanguage links from the given page(s)\n\nThis module requires read rights.\nParameters:\n  lllimit        - How many langlinks to return\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  llcontinue     - When more results are available, use this to continue\nExamples:\n  Get interlanguage links from the [[Main Page]]:\n    api.php?action=query&prop=langlinks&titles=Main%20Page&redirects\n\n* prop=images (im) *\n  Returns all images contained on the given page(s)\n\nThis module requires read rights.\nParameters:\n  imlimit        - How many images to return\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  imcontinue     - When more results are available, use this to continue\nExamples:\n  Get a list of images used in the [[Main Page]]:\n    api.php?action=query&prop=images&titles=Main%20Page\n  Get information about all images used in the [[Main Page]]:\n    api.php?action=query&generator=images&titles=Main%20Page&prop=info\nGenerator:\n  This module may be used as a generator\n\n* prop=imageinfo (ii) *\n  Returns image information and upload history\n\nThis module requires read rights.\nParameters:\n  iiprop         - What image information to get.\n                   Values (separate with '|'): timestamp, user, comment, url, size, sha1, mime, metadata, archivename, bitdepth\n                   Default: timestamp|user\n  iilimit        - How many image revisions to return\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 1\n  iistart        - Timestamp to start listing from\n  iiend          - Timestamp to stop listing at\n  iiurlwidth     - If iiprop=url is set, a URL to an image scaled to this width will be returned.\n                   Only the current version of the image can be scaled.\n                   Default: -1\n  iiurlheight    - Similar to iiurlwidth. Cannot be used without iiurlwidth\n                   Default: -1\n  iicontinue     - When more results are available, use this to continue\nExamples:\n  api.php?action=query&titles=File:Albert%20Einstein%20Head.jpg&prop=imageinfo\n  api.php?action=query&titles=File:Test.jpg&prop=imageinfo&iilimit=50&iiend=20071231235959&iiprop=timestamp|user|url\n\n* prop=templates (tl) *\n  Returns all templates from the given page(s)\n\nThis module requires read rights.\nParameters:\n  tlnamespace    - Show templates in this namespace(s) only\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  tllimit        - How many templates to return\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  tlcontinue     - When more results are available, use this to continue\nExamples:\n  Get templates from the [[Main Page]]:\n    api.php?action=query&prop=templates&titles=Main%20Page\n  Get information about the template pages in the [[Main Page]]:\n    api.php?action=query&generator=templates&titles=Main%20Page&prop=info\n  Get templates from the Main Page in the User and Template namespaces:\n    api.php?action=query&prop=templates&titles=Main%20Page&tlnamespace=2|10\nGenerator:\n  This module may be used as a generator\n\n* prop=categories (cl) *\n  List all categories the page(s) belong to\n\nThis module requires read rights.\nParameters:\n  clprop         - Which additional properties to get for each category.\n                   Values (separate with '|'): sortkey, timestamp\n  clshow         - Which kind of categories to show\n                   Values (separate with '|'): hidden, !hidden\n  cllimit        - How many categories to return\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  clcontinue     - When more results are available, use this to continue\n  clcategories   - Only list these categories. Useful for checking whether a certain page is in a certain category\nExamples:\n  Get a list of categories [[Albert Einstein]] belongs to:\n    api.php?action=query&prop=categories&titles=Albert%20Einstein\n  Get information about all categories used in the [[Albert Einstein]]:\n    api.php?action=query&generator=categories&titles=Albert%20Einstein&prop=info\nGenerator:\n  This module may be used as a generator\n\n* prop=extlinks (el) *\n  Returns all external urls (not interwikies) from the given page(s)\n\nThis module requires read rights.\nParameters:\n  ellimit        - How many links to return\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  eloffset       - When more results are available, use this to continue\nExamples:\n  Get a list of external links on the [[Main Page]]:\n    api.php?action=query&prop=extlinks&titles=Main%20Page\n\n* prop=categoryinfo (ci) *\n  Returns information about the given categories\n\nThis module requires read rights.\nParameters:\n  cicontinue     - When more results are available, use this to continue\nExample:\n  api.php?action=query&prop=categoryinfo&titles=Category:Foo|Category:Bar\n\n* prop=duplicatefiles (df) *\n  List all files that are duplicates of the given file(s).\n\nThis module requires read rights.\nParameters:\n  dflimit        - How many files to return\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  dfcontinue     - When more results are available, use this to continue\nExamples:\n  api.php?action=query&titles=File:Albert_Einstein_Head.jpg&prop=duplicatefiles\n  api.php?action=query&generator=allimages&prop=duplicatefiles\nGenerator:\n  This module may be used as a generator\n\n--- --- --- --- --- --- --- ---  Query: List  --- --- --- --- --- --- --- --- \n\n* list=allimages (ai) *\n  Enumerate all images sequentially\n\nThis module requires read rights.\nParameters:\n  aifrom         - The image title to start enumerating from.\n  aiprefix       - Search for all image titles that begin with this value.\n  aiminsize      - Limit to images with at least this many bytes\n  aimaxsize      - Limit to images with at most this many bytes\n  ailimit        - How many total images to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  aidir          - The direction in which to list\n                   One value: ascending, descending\n                   Default: ascending\n  aisha1         - SHA1 hash of image\n  aisha1base36   - SHA1 hash of image in base 36 (used in MediaWiki)\n  aiprop         - Which properties to get\n                   Values (separate with '|'): timestamp, user, comment, url, size, dimensions, mime, sha1, metadata, bitdepth\n                   Default: timestamp|url\nExamples:\n  Simple Use\n   Show a list of images starting at the letter \"B\"\n    api.php?action=query&list=allimages&aifrom=B\n  Using as Generator\n   Show info about 4 images starting at the letter \"T\"\n    api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo\nGenerator:\n  This module may be used as a generator\n\n* list=allpages (ap) *\n  Enumerate all pages sequentially in a given namespace\n\nThis module requires read rights.\nParameters:\n  apfrom         - The page title to start enumerating from.\n  apprefix       - Search for all page titles that begin with this value.\n  apnamespace    - The namespace to enumerate.\n                   One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n                   Default: 0\n  apfilterredir  - Which pages to list.\n                   One value: all, redirects, nonredirects\n                   Default: all\n  apminsize      - Limit to pages with at least this many bytes\n  apmaxsize      - Limit to pages with at most this many bytes\n  apprtype       - Limit to protected pages only\n                   Values (separate with '|'): edit, move\n  apprlevel      - The protection level (must be used with apprtype= parameter)\n                   Can be empty, or Values (separate with '|'): autoconfirmed, sysop\n  apprfiltercascade - Filter protections based on cascadingness (ignored when apprtype isn't set)\n                   One value: cascading, noncascading, all\n                   Default: all\n  aplimit        - How many total pages to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  apdir          - The direction in which to list\n                   One value: ascending, descending\n                   Default: ascending\n  apfilterlanglinks - Filter based on whether a page has langlinks\n                   One value: withlanglinks, withoutlanglinks, all\n                   Default: all\nExamples:\n  Simple Use\n   Show a list of pages starting at the letter \"B\"\n    api.php?action=query&list=allpages&apfrom=B\n  Using as Generator\n   Show info about 4 pages starting at the letter \"T\"\n    api.php?action=query&generator=allpages&gaplimit=4&gapfrom=T&prop=info\n   Show content of first 2 non-redirect pages begining at \"Re\"\n    api.php?action=query&generator=allpages&gaplimit=2&gapfilterredir=nonredirects&gapfrom=Re&prop=revisions&rvprop=content\nGenerator:\n  This module may be used as a generator\n\n* list=alllinks (al) *\n  Enumerate all links that point to a given namespace\n\nThis module requires read rights.\nParameters:\n  alcontinue     - When more results are available, use this to continue.\n  alfrom         - The page title to start enumerating from.\n  alprefix       - Search for all page titles that begin with this value.\n  alunique       - Only show unique links. Cannot be used with generator or prop=ids\n  alprop         - What pieces of information to include\n                   Values (separate with '|'): ids, title\n                   Default: title\n  alnamespace    - The namespace to enumerate.\n                   One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n                   Default: 0\n  allimit        - How many total links to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\nExample:\n  api.php?action=query&list=alllinks&alunique&alfrom=B\nGenerator:\n  This module may be used as a generator\n\n* list=allcategories (ac) *\n  Enumerate all categories\n\nThis module requires read rights.\nParameters:\n  acfrom         - The category to start enumerating from.\n  acprefix       - Search for all category titles that begin with this value.\n  acdir          - Direction to sort in.\n                   One value: ascending, descending\n                   Default: ascending\n  aclimit        - How many categories to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  acprop         - Which properties to get\n                   Values (separate with '|'): size, hidden\n                   Default: \nExamples:\n  api.php?action=query&list=allcategories&acprop=size\n  api.php?action=query&generator=allcategories&gacprefix=List&prop=info\nGenerator:\n  This module may be used as a generator\n\n* list=allusers (au) *\n  Enumerate all registered users\n\nThis module requires read rights.\nParameters:\n  aufrom         - The user name to start enumerating from.\n  auprefix       - Search for all page titles that begin with this value.\n  augroup        - Limit users to a given group name\n                   One value: bot, sysop, bureaucrat\n  auprop         - What pieces of information to include.\n                   `groups` property uses more server resources and may return fewer results than the limit.\n                   Values (separate with '|'): blockinfo, groups, editcount, registration\n  aulimit        - How many total user names to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  auwitheditsonly - Only list users who have made edits\nExample:\n  api.php?action=query&list=allusers&aufrom=Y\n\n* list=backlinks (bl) *\n  Find all pages that link to the given page\n\nThis module requires read rights.\nParameters:\n  bltitle        - Title to search. If null, titles= parameter will be used instead, but will be obsolete soon.\n  blcontinue     - When more results are available, use this to continue.\n  blnamespace    - The namespace to enumerate.\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  blfilterredir  - How to filter for redirects\n                   One value: all, redirects, nonredirects\n                   Default: all\n  bllimit        - How many total pages to return. If blredirect is enabled, limit applies to each level separately.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  blredirect     - If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.\nExamples:\n  api.php?action=query&list=backlinks&bltitle=Main%20Page\n  api.php?action=query&generator=backlinks&gbltitle=Main%20Page&prop=info\nGenerator:\n  This module may be used as a generator\n\n* list=blocks (bk) *\n  List all blocked users and IP addresses.\n\nThis module requires read rights.\nParameters:\n  bkstart        - The timestamp to start enumerating from\n  bkend          - The timestamp to stop enumerating at\n  bkdir          - The direction in which to enumerate\n                   One value: newer, older\n                   Default: older\n  bkids          - Pipe-separated list of block IDs to list (optional)\n  bkusers        - Pipe-separated list of users to search for (optional)\n  bkip           - Get all blocks applying to this IP or CIDR range, including range blocks.\n                   Cannot be used together with bkusers. CIDR ranges broader than \/16 are not accepted.\n  bklimit        - The maximum amount of blocks to list\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  bkprop         - Which properties to get\n                   Values (separate with '|'): id, user, by, timestamp, expiry, reason, range, flags\n                   Default: id|user|by|timestamp|expiry|reason|flags\nExamples:\n  api.php?action=query&list=blocks\n  api.php?action=query&list=blocks&bkusers=Alice|Bob\n\n* list=categorymembers (cm) *\n  List all pages in a given category\n\nThis module requires read rights.\nParameters:\n  cmtitle        - Which category to enumerate (required). Must include Category: prefix\n  cmprop         - What pieces of information to include\n                   Values (separate with '|'): ids, title, sortkey, timestamp\n                   Default: ids|title\n  cmnamespace    - Only include pages in these namespaces\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  cmcontinue     - For large categories, give the value retured from previous query\n  cmlimit        - The maximum number of pages to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  cmsort         - Property to sort by\n                   One value: sortkey, timestamp\n                   Default: sortkey\n  cmdir          - In which direction to sort\n                   One value: asc, desc\n                   Default: asc\n  cmstart        - Timestamp to start listing from. Can only be used with cmsort=timestamp\n  cmend          - Timestamp to end listing at. Can only be used with cmsort=timestamp\n  cmstartsortkey - Sortkey to start listing from. Can only be used with cmsort=sortkey\n  cmendsortkey   - Sortkey to end listing at. Can only be used with cmsort=sortkey\nExamples:\n  Get first 10 pages in [[Category:Physics]]:\n    api.php?action=query&list=categorymembers&cmtitle=Category:Physics\n  Get page info about first 10 pages in [[Category:Physics]]:\n    api.php?action=query&generator=categorymembers&gcmtitle=Category:Physics&prop=info\nGenerator:\n  This module may be used as a generator\n\n* list=deletedrevs (dr) *\n  List deleted revisions.\n  This module operates in three modes:\n  1) List deleted revisions for the given title(s), sorted by timestamp\n  2) List deleted contributions for the given user, sorted by timestamp (no titles specified)\n  3) List all deleted revisions in the given namespace, sorted by title and timestamp (no titles specified, druser not set)\n  Certain parameters only apply to some modes and are ignored in others.\n  For instance, a parameter marked (1) only applies to mode 1 and is ignored in modes 2 and 3.\n\nThis module requires read rights.\nParameters:\n  drstart        - The timestamp to start enumerating from. (1,2)\n  drend          - The timestamp to stop enumerating at. (1,2)\n  drdir          - The direction in which to enumerate. (1,2)\n                   One value: newer, older\n                   Default: older\n  drfrom         - Start listing at this title (3)\n  drcontinue     - When more results are available, use this to continue (3)\n  drunique       - List only one revision for each page (3)\n  druser         - Only list revisions by this user\n  drexcludeuser  - Don't list revisions by this user\n  drnamespace    - Only list pages in this namespace (3)\n                   One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n                   Default: 0\n  drlimit        - The maximum amount of revisions to list\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  drprop         - Which properties to get\n                   Values (separate with '|'): revid, user, comment, minor, len, content, token\n                   Default: user|comment\nExamples:\n  List the last deleted revisions of Main Page and Talk:Main Page, with content (mode 1):\n    api.php?action=query&list=deletedrevs&titles=Main%20Page|Talk:Main%20Page&drprop=user|comment|content\n  List the last 50 deleted contributions by Bob (mode 2):\n    api.php?action=query&list=deletedrevs&druser=Bob&drlimit=50\n  List the first 50 deleted revisions in the main namespace (mode 3):\n    api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50\n  List the first 50 deleted pages in the Talk namespace (mode 3):\n    api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique\n\n* list=embeddedin (ei) *\n  Find all pages that embed (transclude) the given title\n\nThis module requires read rights.\nParameters:\n  eititle        - Title to search. If null, titles= parameter will be used instead, but will be obsolete soon.\n  eicontinue     - When more results are available, use this to continue.\n  einamespace    - The namespace to enumerate.\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  eifilterredir  - How to filter for redirects\n                   One value: all, redirects, nonredirects\n                   Default: all\n  eilimit        - How many total pages to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\nExamples:\n  api.php?action=query&list=embeddedin&eititle=Template:Stub\n  api.php?action=query&generator=embeddedin&geititle=Template:Stub&prop=info\nGenerator:\n  This module may be used as a generator\n\n* list=imageusage (iu) *\n  Find all pages that use the given image title.\n\nThis module requires read rights.\nParameters:\n  iutitle        - Title to search. If null, titles= parameter will be used instead, but will be obsolete soon.\n  iucontinue     - When more results are available, use this to continue.\n  iunamespace    - The namespace to enumerate.\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  iufilterredir  - How to filter for redirects\n                   One value: all, redirects, nonredirects\n                   Default: all\n  iulimit        - How many total pages to return. If iuredirect is enabled, limit applies to each level separately.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  iuredirect     - If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.\nExamples:\n  api.php?action=query&list=imageusage&iutitle=File:Albert%20Einstein%20Head.jpg\n  api.php?action=query&generator=imageusage&giutitle=File:Albert%20Einstein%20Head.jpg&prop=info\nGenerator:\n  This module may be used as a generator\n\n* list=logevents (le) *\n  Get events from logs.\n\nThis module requires read rights.\nParameters:\n  leprop         - Which properties to get\n                   Values (separate with '|'): ids, title, type, user, timestamp, comment, details\n                   Default: ids|title|type|user|timestamp|comment|details\n  letype         - Filter log entries to only this type(s)\n                   Can be empty, or One value: block, protect, rights, delete, upload, move, import, patrol, merge, suppress, renameuser, newusers\n  lestart        - The timestamp to start enumerating from.\n  leend          - The timestamp to end enumerating.\n  ledir          - In which direction to enumerate.\n                   One value: newer, older\n                   Default: older\n  leuser         - Filter entries to those made by the given user.\n  letitle        - Filter entries to those related to a page.\n  lelimit        - How many total event entries to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\nExample:\n  api.php?action=query&list=logevents\n\n* list=recentchanges (rc) *\n  Enumerate recent changes\n\nThis module requires read rights.\nParameters:\n  rcstart        - The timestamp to start enumerating from.\n  rcend          - The timestamp to end enumerating.\n  rcdir          - In which direction to enumerate.\n                   One value: newer, older\n                   Default: older\n  rcnamespace    - Filter log entries to only this namespace(s)\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  rcprop         - Include additional pieces of information\n                   Values (separate with '|'): user, comment, flags, timestamp, title, ids, sizes, redirect, patrolled, loginfo\n                   Default: title|timestamp|ids\n  rctoken        - Which tokens to obtain for each change\n                   Values (separate with '|'): patrol\n  rcshow         - Show only items that meet this criteria.\n                   For example, to see only minor edits done by logged-in users, set show=minor|!anon\n                   Values (separate with '|'): minor, !minor, bot, !bot, anon, !anon, redirect, !redirect, patrolled, !patrolled\n  rclimit        - How many total changes to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  rctype         - Which types of changes to show.\n                   Values (separate with '|'): edit, new, log\nExample:\n  api.php?action=query&list=recentchanges\n\n* list=search (sr) *\n  Perform a full text search\n\nThis module requires read rights.\nParameters:\n  srsearch       - Search for all page titles (or content) that has this value.\n  srnamespace    - The namespace(s) to enumerate.\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n                   Default: 0\n  srwhat         - Search inside the text or titles.\n                   One value: title, text\n  srredirects    - Include redirect pages in the search.\n  sroffset       - Use this value to continue paging (return by query)\n                   Default: 0\n  srlimit        - How many total pages to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\nExamples:\n  api.php?action=query&list=search&srsearch=meaning\n  api.php?action=query&list=search&srwhat=text&srsearch=meaning\n  api.php?action=query&generator=search&gsrsearch=meaning&prop=info\nGenerator:\n  This module may be used as a generator\n\n* list=usercontribs (uc) *\n  Get all edits by a user\n\nThis module requires read rights.\nParameters:\n  uclimit        - The maximum number of contributions to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  ucstart        - The start timestamp to return from.\n  ucend          - The end timestamp to return to.\n  uccontinue     - When more results are available, use this to continue.\n  ucuser         - The user to retrieve contributions for.\n  ucuserprefix   - Retrieve contibutions for all users whose names begin with this value. Overrides ucuser.\n  ucdir          - The direction to search (older or newer).\n                   One value: newer, older\n                   Default: older\n  ucnamespace    - Only list contributions in these namespaces\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  ucprop         - Include additional pieces of information\n                   Values (separate with '|'): ids, title, timestamp, comment, flags, patrolled\n                   Default: ids|title|timestamp|flags|comment\n  ucshow         - Show only items that meet this criteria, e.g. non minor edits only: show=!minor\n                   NOTE: if show=patrolled or show=!patrolled is set, revisions older than $wgRCMaxAge won't be shown\n                   Values (separate with '|'): minor, !minor, patrolled, !patrolled\nExamples:\n  api.php?action=query&list=usercontribs&ucuser=YurikBot\n  api.php?action=query&list=usercontribs&ucuserprefix=217.121.114.\n\n* list=watchlist (wl) *\n  Get all recent changes to pages in the logged in user's watchlist\n\nThis module requires read rights.\nParameters:\n  wlallrev       - Include multiple revisions of the same page within given timeframe.\n  wlstart        - The timestamp to start enumerating from.\n  wlend          - The timestamp to end enumerating.\n  wlnamespace    - Filter changes to only the given namespace(s).\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  wldir          - In which direction to enumerate pages.\n                   One value: newer, older\n                   Default: older\n  wllimit        - How many total results to return per request.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  wlprop         - Which additional items to get (non-generator mode only).\n                   Values (separate with '|'): ids, title, flags, user, comment, timestamp, patrol, sizes\n                   Default: ids|title|flags\n  wlshow         - Show only items that meet this criteria.\n                   For example, to see only minor edits done by logged-in users, set show=minor|!anon\n                   Values (separate with '|'): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled\nExamples:\n  api.php?action=query&list=watchlist\n  api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment\n  api.php?action=query&list=watchlist&wlallrev&wlprop=ids|title|timestamp|user|comment\n  api.php?action=query&generator=watchlist&prop=info\n  api.php?action=query&generator=watchlist&gwlallrev&prop=revisions&rvprop=timestamp|user\nGenerator:\n  This module may be used as a generator\n\n* list=watchlistraw (wr) *\n  Get all pages on the logged in user's watchlist\n\nThis module requires read rights.\nParameters:\n  wrcontinue     - When more results are available, use this to continue\n  wrnamespace    - Only list pages in the given namespace(s).\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  wrlimit        - How many total results to return per request.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  wrprop         - Which additional properties to get (non-generator mode only).\n                   Values (separate with '|'): changed\n  wrshow         - Only list items that meet these criteria.\n                   Values (separate with '|'): changed, !changed\nExamples:\n  api.php?action=query&list=watchlistraw\n  api.php?action=query&generator=watchlistraw&gwrshow=changed&prop=revisions\nGenerator:\n  This module may be used as a generator\n\n* list=exturlusage (eu) *\n  Enumerate pages that contain a given URL\n\nThis module requires read rights.\nParameters:\n  euprop         - What pieces of information to include\n                   Values (separate with '|'): ids, title, url\n                   Default: ids|title|url\n  euoffset       - Used for paging. Use the value returned for \"continue\"\n  euprotocol     - Protocol of the url. If empty and euquery set, the protocol is http.\n                   Leave both this and euquery empty to list all external links\n                   Can be empty, or One value: http, https, ftp, irc, gopher, telnet, nntp, worldwind, mailto, news, svn\n                   Default: \n  euquery        - Search string without protocol. See [[Special:LinkSearch]]. Leave empty to list all external links\n  eunamespace    - The page namespace(s) to enumerate.\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  eulimit        - How many pages to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\nExample:\n  api.php?action=query&list=exturlusage&euquery=www.mediawiki.org\nGenerator:\n  This module may be used as a generator\n\n* list=users (us) *\n  Get information about a list of users\n\nThis module requires read rights.\nParameters:\n  usprop         - What pieces of information to include\n                     blockinfo    - tags if the user is blocked, by whom, and for what reason\n                     groups       - lists all the groups the user belongs to\n                     editcount    - adds the user's edit count\n                     registration - adds the user's registration timestamp\n                     emailable    - tags if the user can and wants to receive e-mail through [[Special:Emailuser]]\n                   Values (separate with '|'): blockinfo, groups, editcount, registration, emailable\n  ususers        - A list of users to obtain the same information for\nExample:\n  api.php?action=query&list=users&ususers=brion|TimStarling&usprop=groups|editcount\n\n* list=random (rn) *\n  Get a set of random pages\n  NOTE: Pages are listed in a fixed sequence, only the starting point is random. This means that if, for example, \"Main Page\" is the first \n        random page on your list, \"List of fictional monkeys\" will *always* be second, \"List of people on stamps of Vanuatu\" third, etc.\n  NOTE: If the number of pages in the namespace is lower than rnlimit, you will get fewer pages. You will not get the same page twice.\n\nThis module requires read rights.\nParameters:\n  rnnamespace    - Return pages in these namespaces only\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  rnlimit        - Limit how many random pages will be returned\n                   No more than 10 (20 for bots) allowed.\n                   Default: 1\n  rnredirect     - Load a random redirect instead of a random page\nExample:\n  api.php?action=query&list=random&rnnamespace=0&rnlimit=2\nGenerator:\n  This module may be used as a generator\n\n* list=protectedtitles (pt) *\n  List all titles protected from creation\n\nThis module requires read rights.\nParameters:\n  ptnamespace    - Only list titles in these namespaces\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n  ptlevel        - Only list titles with these protection levels\n                   Values (separate with '|'): autoconfirmed, sysop\n  ptlimit        - How many total pages to return.\n                   No more than 500 (5000 for bots) allowed.\n                   Default: 10\n  ptdir          - The direction in which to list\n                   One value: older, newer\n                   Default: older\n  ptstart        - Start listing at this protection timestamp\n  ptend          - Stop listing at this protection timestamp\n  ptprop         - Which properties to get\n                   Values (separate with '|'): timestamp, user, comment, expiry, level\n                   Default: timestamp|level\nExample:\n  api.php?action=query&list=protectedtitles\nGenerator:\n  This module may be used as a generator\n\n--- --- --- --- --- --- --- ---  Query: Meta  --- --- --- --- --- --- --- --- \n\n* meta=siteinfo (si) *\n  Return general information about the site.\n\nThis module requires read rights.\nParameters:\n  siprop         - Which sysinfo properties to get:\n                    general      - Overall system information\n                    namespaces   - List of registered namespaces and their canonical names\n                    namespacealiases - List of registered namespace aliases\n                    specialpagealiases - List of special page aliases\n                    magicwords   - List of magic words and their aliases\n                    statistics   - Returns site statistics\n                    interwikimap - Returns interwiki map (optionally filtered)\n                    dbrepllag    - Returns database server with the highest replication lag\n                    usergroups   - Returns user groups and the associated permissions\n                    extensions   - Returns extensions installed on the wiki\n                    fileextensions - Returns list of file extensions allowed to be uploaded\n                    rightsinfo   - Returns wiki rights (license) information if available\n                   Values (separate with '|'): general, namespaces, namespacealiases, specialpagealiases, magicwords, interwikimap, dbrepllag, statistics, usergroups, extensions, fileextensions, rightsinfo\n                   Default: general\n  sifilteriw     - Return only local or only nonlocal entries of the interwiki map\n                   One value: local, !local\n  sishowalldb    - List all database servers, not just the one lagging the most\nExamples:\n  api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics\n  api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local\n  api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb\n\n* meta=userinfo (ui) *\n  Get information about the current user\n\nThis module requires read rights.\nParameters:\n  uiprop         - What pieces of information to include\n                     blockinfo  - tags if the current user is blocked, by whom, and for what reason\n                     hasmsg     - adds a tag \"message\" if the current user has pending messages\n                     groups     - lists all the groups the current user belongs to\n                     rights     - lists of all rights the current user has\n                     options    - lists all preferences the current user has set\n                     editcount  - adds the current user's edit count\n                     ratelimits - lists all rate limits applying to the current user\n                   Values (separate with '|'): blockinfo, hasmsg, groups, rights, options, preferencestoken, editcount, ratelimits, email\nExamples:\n  api.php?action=query&meta=userinfo\n  api.php?action=query&meta=userinfo&uiprop=blockinfo|groups|rights|hasmsg\n\n* meta=allmessages (am) *\n  Return messages from this site.\n\nThis module requires read rights.\nParameters:\n  ammessages     - Which messages to output. \"*\" means all messages\n                   Default: *\n  amfilter       - Return only messages that contain this string\n  amlang         - Return messages in this language\n  amfrom         - Return messages starting at this message\nExamples:\n  api.php?action=query&meta=allmessages&amfilter=ipb-\n  api.php?action=query&meta=allmessages&ammessages=august|mainpage&amlang=de\n\n\n*** *** *** *** *** *** *** *** *** ***  Modules: continuation  *** *** *** *** *** *** *** *** *** *** \n\n\n* action=expandtemplates *\n  This module expand all templates in wikitext\n\nThis module requires read rights.\nParameters:\n  title          - Title of page\n                   Default: API\n  text           - Wikitext to convert\n  generatexml    - Generate XML parse tree\nExample:\n  api.php?action=expandtemplates&text={{Project:Sandbox}}\n\n* action=parse *\n  This module parses wikitext and returns parser output\n\nThis module requires read rights.\nParameters:\n  title          - Title of page the text belongs to\n                   Default: API\n  text           - Wikitext to parse\n  page           - Parse the content of this page. Cannot be used together with text and title\n  redirects      - If the page parameter is set to a redirect, resolve it\n  oldid          - Parse the content of this revision. Overrides page\n  prop           - Which pieces of information to get.\n                   NOTE: Section tree is only generated if there are more than 4 sections, or if the __TOC__ keyword is present\n                   Values (separate with '|'): text, langlinks, categories, links, templates, images, externallinks, sections, revid, displaytitle\n                   Default: text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle\n  pst            - Do a pre-save transform on the input before parsing it.\n                   Ignored if page or oldid is used.\n  onlypst        - Do a PST on the input, but don't parse it.\n                   Returns PSTed wikitext. Ignored if page or oldid is used.\nExample:\n  api.php?action=parse&text={{Project:Sandbox}}\n\n* action=opensearch *\n  This module implements OpenSearch protocol\n\nThis module requires read rights.\nParameters:\n  search         - Search string\n  limit          - Maximum amount of results to return\n                   No more than 100 (100 for bots) allowed.\n                   Default: 10\n  namespace      - Namespaces to search\n                   Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\n                   Default: 0\n  suggest        - Do nothing if $wgEnableMWSuggest is false\nExample:\n  api.php?action=opensearch&search=Te\n\n* action=feedwatchlist *\n  This module returns a watchlist feed\n\nThis module requires read rights.\nParameters:\n  feedformat     - The format of the feed\n                   One value: rss, atom\n                   Default: rss\n  hours          - List pages modified within this many hours from now\n                   The value must be between 1 and 72\n                   Default: 24\n  allrev         - Include multiple revisions of the same page within given timeframe.\nExample:\n  api.php?action=feedwatchlist\n\n* action=help *\n  Display this help screen.\n\n* action=paraminfo *\n  Obtain information about certain API parameters\nParameters:\n  modules        - List of module names (value of the action= parameter)\n  querymodules   - List of query module names (value of prop=, meta= or list= parameter)\n  mainmodule     - Get information about the main (top-level) module as well\n  pagesetmodule  - Get information about the pageset module (providing titles= and friends) as well\nExample:\n  api.php?action=paraminfo&modules=parse&querymodules=allpages|siteinfo\n\n* action=purge *\n  Purge the cache for the given titles.\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  titles         - A list of titles\nExample:\n  api.php?action=purge&titles=Main_Page|API\n\n* action=rollback *\n  Undo the last edit to the page. If the last user who edited the page made multiple edits in a row,\n  they will all be rolled back.\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  title          - Title of the page you want to rollback.\n  user           - Name of the user whose edits are to be rolled back. If set incorrectly, you'll get a badtoken error.\n  token          - A rollback token previously retrieved through prop=revisions\n  summary        - Custom edit summary. If not set, default summary will be used.\n  markbot        - Mark the reverted edits and the revert as bot edits\nExamples:\n  api.php?action=rollback&title=Main%20Page&user=Catrope&token=123ABC\n  api.php?action=rollback&title=Main%20Page&user=217.121.114.116&token=123ABC&summary=Reverting%20vandalism&markbot=1\n\n* action=delete *\n  Delete a page.\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  title          - Title of the page you want to delete. Cannot be used together with pageid\n  pageid         - Page ID of the page you want to delete. Cannot be used together with title\n  token          - A delete token previously retrieved through prop=info\n  reason         - Reason for the deletion. If not set, an automatically generated reason will be used.\n  watch          - Add the page to your watchlist\n  unwatch        - Remove the page from your watchlist\n  oldimage       - The name of the old image to delete as provided by iiprop=archivename\nExamples:\n  api.php?action=delete&title=Main%20Page&token=123ABC\n  api.php?action=delete&title=Main%20Page&token=123ABC&reason=Preparing%20for%20move\n\n* action=undelete *\n  Restore certain revisions of a deleted page. A list of deleted revisions (including timestamps) can be\n  retrieved through list=deletedrevs\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  title          - Title of the page you want to restore.\n  token          - An undelete token previously retrieved through list=deletedrevs\n  reason         - Reason for restoring (optional)\n                   Default: \n  timestamps     - Timestamps of the revisions to restore. If not set, all revisions will be restored.\nExamples:\n  api.php?action=undelete&title=Main%20Page&token=123ABC&reason=Restoring%20main%20page\n  api.php?action=undelete&title=Main%20Page&token=123ABC&timestamps=20070703220045|20070702194856\n\n* action=protect *\n  Change the protection level of a page.\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  title          - Title of the page you want to (un)protect.\n  token          - A protect token previously retrieved through prop=info\n  protections    - Pipe-separated list of protection levels, formatted action=group (e.g. edit=sysop)\n  expiry         - Expiry timestamps. If only one timestamp is set, it'll be used for all protections.\n                   Use 'infinite', 'indefinite' or 'never', for a neverexpiring protection.\n                   Default: infinite\n  reason         - Reason for (un)protecting (optional)\n                   Default: \n  cascade        - Enable cascading protection (i.e. protect pages included in this page)\n                   Ignored if not all protection levels are 'sysop' or 'protect'\n  watch          - If set, add the page being (un)protected to your watchlist\nExamples:\n  api.php?action=protect&title=Main%20Page&token=123ABC&protections=edit=sysop|move=sysop&cascade&expiry=20070901163000|never\n  api.php?action=protect&title=Main%20Page&token=123ABC&protections=edit=all|move=all&reason=Lifting%20restrictions\n\n* action=block *\n  Block a user.\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  user           - Username, IP address or IP range you want to block\n  token          - A block token previously obtained through the gettoken parameter or prop=info\n  gettoken       - If set, a block token will be returned, and no other action will be taken\n  expiry         - Relative expiry time, e.g. '5 months' or '2 weeks'. If set to 'infinite', 'indefinite' or 'never', the block will never expire.\n                   Default: never\n  reason         - Reason for block (optional)\n  anononly       - Block anonymous users only (i.e. disable anonymous edits for this IP)\n  nocreate       - Prevent account creation\n  autoblock      - Automatically block the last used IP address, and any subsequent IP addresses they try to login from\n  noemail        - Prevent user from sending e-mail through the wiki. (Requires the \"blockemail\" right.)\n  hidename       - Hide the username from the block log. (Requires the \"hideuser\" right.)\n  allowusertalk  - Allow the user to edit their own talk page (depends on $wgBlockAllowsUTEdit)\n  reblock        - If the user is already blocked, overwrite the existing block\nExamples:\n  api.php?action=block&user=123.5.5.12&expiry=3%20days&reason=First%20strike\n  api.php?action=block&user=Vandal&expiry=never&reason=Vandalism&nocreate&autoblock&noemail\n\n* action=unblock *\n  Unblock a user.\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  id             - ID of the block you want to unblock (obtained through list=blocks). Cannot be used together with user\n  user           - Username, IP address or IP range you want to unblock. Cannot be used together with id\n  token          - An unblock token previously obtained through the gettoken parameter or prop=info\n  gettoken       - If set, an unblock token will be returned, and no other action will be taken\n  reason         - Reason for unblock (optional)\nExamples:\n  api.php?action=unblock&id=105\n  api.php?action=unblock&user=Bob&reason=Sorry%20Bob\n\n* action=move *\n  Move a page.\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  from           - Title of the page you want to move. Cannot be used together with fromid.\n  fromid         - Page ID of the page you want to move. Cannot be used together with from.\n  to             - Title you want to rename the page to.\n  token          - A move token previously retrieved through prop=info\n  reason         - Reason for the move (optional).\n  movetalk       - Move the talk page, if it exists.\n  movesubpages   - Move subpages, if applicable\n  noredirect     - Don't create a redirect\n  watch          - Add the page and the redirect to your watchlist\n  unwatch        - Remove the page and the redirect from your watchlist\nExample:\n  api.php?action=move&from=Exampel&to=Example&token=123ABC&reason=Misspelled%20title&movetalk&noredirect\n\n* action=edit *\n  Create and edit pages.\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  title          - Page title\n  section        - Section number. 0 for the top section, 'new' for a new section\n  text           - Page content\n  token          - Edit token. You can get one of these through prop=info\n  summary        - Edit summary. Also section title when section=new\n  minor          - Minor edit\n  notminor       - Non-minor edit\n  bot            - Mark this edit as bot\n  basetimestamp  - Timestamp of the base revision (gotten through prop=revisions&rvprop=timestamp).\n                   Used to detect edit conflicts; leave unset to ignore conflicts.\n  starttimestamp - Timestamp when you obtained the edit token.\n                   Used to detect edit conflicts; leave unset to ignore conflicts.\n  recreate       - Override any errors about the article having been deleted in the meantime\n  createonly     - Don't edit the page if it exists already\n  nocreate       - Throw an error if the page doesn't exist\n  captchaword    - Answer to the CAPTCHA\n  captchaid      - CAPTCHA ID from previous request\n  watch          - Add the page to your watchlist\n  unwatch        - Remove the page from your watchlist\n  md5            - The MD5 hash of the text parameter, or the prependtext and appendtext parameters concatenated.\n                   If set, the edit won't be done unless the hash is correct\n  prependtext    - Add this text to the beginning of the page. Overrides text.\n                   Don't use together with section: that won't do what you expect.\n  appendtext     - Add this text to the end of the page. Overrides text\n  undo           - Undo this revision. Overrides text, prependtext and appendtext\n  undoafter      - Undo all revisions from undo to this one. If not set, just undo one revision\nExamples:\n  Edit a page (anonymous user):\n      api.php?action=edit&title=Test&summary=test%20summary&text=article%20content&basetimestamp=20070824123454&token=%2B\\\n  Prepend __NOTOC__ to a page (anonymous user):\n      api.php?action=edit&title=Test&summary=NOTOC&minor&prependtext=__NOTOC__%0A&basetimestamp=20070824123454&token=%2B\\\n  Undo r13579 through r13585 with autosummary(anonymous user):\n      api.php?action=edit&title=Test&undo=13585&undoafter=13579&basetimestamp=20070824123454&token=%2B\\\n\n* action=emailuser *\n  Email a user.\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  target         - User to send email to\n  subject        - Subject header\n  text           - Mail body\n  token          - A token previously acquired via prop=info\n  ccme           - Send a copy of this mail to me\nExample:\n  api.php?action=emailuser&target=WikiSysop&text=Content\n\n* action=watch *\n  Add or remove a page from\/to the current user's watchlist\n\nThis module requires read rights.\nThis module requires write rights.\nParameters:\n  title          - The page to (un)watch\n  unwatch        - If set the page will be unwatched rather than watched\nExamples:\n  api.php?action=watch&title=Main_Page\n  api.php?action=watch&title=Main_Page&unwatch\n\n* action=patrol *\n  Patrol a page or revision. \n\nThis module requires read rights.\nThis module requires write rights.\nParameters:\n  token          - Patrol token obtained from list=recentchanges\n  rcid           - Recentchanges ID to patrol\nExample:\n  api.php?action=patrol&token=123abc&rcid=230672766\n\n* action=import *\n  Import a page from another wiki, or an XML file\n\nThis module requires read rights.\nThis module requires write rights.\nThis module only accepts POST requests.\nParameters:\n  token          - Import token obtained through prop=info\n  summary        - Import summary\n  xml            - Uploaded XML file\n  interwikisource - For interwiki imports: wiki to import from\n                   One value: \n  interwikipage  - For interwiki imports: page to import\n  fullhistory    - For interwiki imports: import the full history, not just the current version\n  templates      - For interwiki imports: import all included templates as well\n  namespace      - For interwiki imports: import to this namespace\n                   One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15\nExamples:\n  Import [[meta:Help:Parserfunctions]] to namespace 100 with full history:\n    api.php?action=import&interwikisource=meta&interwikipage=Help:ParserFunctions&namespace=100&fullhistory&token=123ABC\n\n\n*** *** *** *** *** *** *** *** *** ***  Permissions *** *** *** *** *** *** *** *** *** *** \n\n* writeapi *\n  Use of the write API\nGranted to:\n  all, user, bot\n* apihighlimits *\n  Use higher limits in API queries (Slow queries: 500 results; Fast queries: 5000 results). The limits for slow queries also apply to multivalue parameters.\nGranted to:\n  bot, sysop\n\n*** *** *** *** *** *** *** *** *** ***  Formats  *** *** *** *** *** *** *** *** *** *** \n\n* format=json *\n  Output data in JSON format\n\nThis module requires read rights.\nParameters:\n  callback       - If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=json\n\n* format=jsonfm *\n  Output data in JSON format (pretty-print in HTML)\n\nThis module requires read rights.\nParameters:\n  callback       - If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=jsonfm\n\n* format=php *\n  Output data in serialized PHP format\n\nThis module requires read rights.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=php\n\n* format=phpfm *\n  Output data in serialized PHP format (pretty-print in HTML)\n\nThis module requires read rights.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=phpfm\n\n* format=wddx *\n  Output data in WDDX format\n\nThis module requires read rights.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=wddx\n\n* format=wddxfm *\n  Output data in WDDX format (pretty-print in HTML)\n\nThis module requires read rights.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=wddxfm\n\n* format=xml *\n  Output data in XML format\n\nThis module requires read rights.\nParameters:\n  xmldoublequote - If specified, double quotes all attributes and content.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml\n\n* format=xmlfm *\n  Output data in XML format (pretty-print in HTML)\n\nThis module requires read rights.\nParameters:\n  xmldoublequote - If specified, double quotes all attributes and content.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=xmlfm\n\n* format=yaml *\n  Output data in YAML format\n\nThis module requires read rights.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=yaml\n\n* format=yamlfm *\n  Output data in YAML format (pretty-print in HTML)\n\nThis module requires read rights.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=yamlfm\n\n* format=rawfm *\n  Output data with the debuging elements in JSON format (pretty-print in HTML)\n\nThis module requires read rights.\nParameters:\n  callback       - If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=rawfm\n\n* format=txt *\n  Output data in PHP's print_r() format\n\nThis module requires read rights.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=txt\n\n* format=txtfm *\n  Output data in PHP's print_r() format (pretty-print in HTML)\n\nThis module requires read rights.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=txtfm\n\n* format=dbg *\n  Output data in PHP's var_export() format\n\nThis module requires read rights.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=dbg\n\n* format=dbgfm *\n  Output data in PHP's var_export() format (pretty-print in HTML)\n\nThis module requires read rights.\nExample:\n  api.php?action=query&meta=siteinfo&siprop=namespaces&format=dbgfm\n\n\n*** Credits: ***\n   API developers:\n       Roan Kattouw <Firstname>.<Lastname>@home.nl (lead developer Sep 2007-present)\n       Victor Vasiliev - vasilvv at gee mail dot com\n       Bryan Tong Minh - bryan . tongminh @ gmail . com\n       Yuri Astrakhan <Firstname><Lastname>@gmail.com (creator, lead developer Sep 2006-Sep 2007)\n   \n   Please send your comments, suggestions and questions to mediawiki-api@lists.wikimedia.org\n   or file a bug report at http:\/\/bugzilla.wikimedia.org\/\n"
	}
}