Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/bosnacweb04/bosnacweb04ax/b239/d5.pokeswap/public_html/bloggingboy/includes/WebRequest.php on line 308
Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /hermes/bosnacweb04/bosnacweb04ax/b239/d5.pokeswap/public_html/bloggingboy/includes/api/ApiParamInfo.php on line 157
Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /hermes/bosnacweb04/bosnacweb04ax/b239/d5.pokeswap/public_html/bloggingboy/includes/api/ApiParamInfo.php on line 157
Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /hermes/bosnacweb04/bosnacweb04ax/b239/d5.pokeswap/public_html/bloggingboy/includes/api/ApiParamInfo.php on line 157
MediaWiki API Result
You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or
API help for more information.
<?xml version="1.0"?>
<api>
<paraminfo>
<modules>
<module classname="ApiParse" description="Parses content and returns parser output. See the various prop-Modules of action=query to get information from the currentversion of a page. There are several ways to specify the text to parse: 1) Specify a page or revision, using page, pageid, or oldid. 2) Specify content explicitly, using text, title, and contentmodel. 3) Specify only a summary to parse. prop should be given an empty value." examples="Parse a page api.php?action=parse&page=Project:Sandbox Parse wikitext api.php?action=parse&text={{Project:Sandbox}}&contentmodel=wikitext Parse wikitext, specifying the page title api.php?action=parse&text={{PAGENAME}}&title=Test Parse a summary api.php?action=parse&summary=Some+[[link]]&prop=" version="" prefix="" readrights="" name="parse">
<helpurls>
<helpurl>https://www.mediawiki.org/wiki/API:Parsing_wikitext#parse</helpurl>
</helpurls>
<allexamples>
<example description="Parse a page" xml:space="preserve">api.php?action=parse&page=Project:Sandbox</example>
<example description="Parse wikitext" xml:space="preserve">api.php?action=parse&text={{Project:Sandbox}}&contentmodel=wikitext</example>
<example description="Parse wikitext, specifying the page title" xml:space="preserve">api.php?action=parse&text={{PAGENAME}}&title=Test</example>
<example description="Parse a summary" xml:space="preserve">api.php?action=parse&summary=Some+[[link]]&prop=</example>
</allexamples>
<parameters>
<param name="title" description="Title of page the text belongs to. If omitted, contentmodel must be specified, and "API" will be used as the title" type="string" />
<param name="text" description="Text to parse. Use title or contentmodel to control the content model" type="string" />
<param name="summary" description="Summary to parse" type="string" />
<param name="page" description="Parse the content of this page. Cannot be used together with text and title" type="string" />
<param name="pageid" description="Parse the content of this page. Overrides page" type="integer" />
<param name="redirects" description="If the page or the pageid parameter is set to a redirect, resolve it" default="false" type="boolean" />
<param name="oldid" description="Parse the content of this revision. Overrides page and pageid" type="integer" />
<param name="prop" description="Which pieces of information to get text - Gives the parsed text of the wikitext langlinks - Gives the language links in the parsed wikitext categories - Gives the categories in the parsed wikitext categorieshtml - Gives the HTML version of the categories languageshtml - DEPRECATED. Will be removed in MediaWiki 1.24. Gives the HTML version of the language links links - Gives the internal links in the parsed wikitext templates - Gives the templates in the parsed wikitext images - Gives the images in the parsed wikitext externallinks - Gives the external links in the parsed wikitext sections - Gives the sections in the parsed wikitext revid - Adds the revision ID of the parsed page displaytitle - Adds the title of the parsed wikitext headitems - Gives items to put in the <head> of the page headhtml - Gives parsed <head> of the page iwlinks - Gives interwiki links in the parsed wikitext wikitext - Gives the original wikitext that was parsed properties - Gives various properties defined in the parsed wikitext limitreportdata - Gives the limit report in a structured way. Gives no data, when disablepp is set. limitreporthtml - Gives the HTML version of the limit report. Gives no data, when disablepp is set." default="text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle|iwlinks|properties" multi="" limit="50" lowlimit="50" highlimit="500">
<type>
<t>text</t>
<t>langlinks</t>
<t>languageshtml</t>
<t>categories</t>
<t>categorieshtml</t>
<t>links</t>
<t>templates</t>
<t>images</t>
<t>externallinks</t>
<t>sections</t>
<t>revid</t>
<t>displaytitle</t>
<t>headitems</t>
<t>headhtml</t>
<t>iwlinks</t>
<t>wikitext</t>
<t>properties</t>
<t>limitreportdata</t>
<t>limitreporthtml</t>
</type>
</param>
<param name="pst" description="Do a pre-save transform on the input before parsing it Only valid when used with text" default="false" type="boolean" />
<param name="onlypst" description="Do a pre-save transform (PST) on the input, but don't parse it Returns the same wikitext, after a PST has been applied. Only valid when used with text" default="false" type="boolean" />
<param name="effectivelanglinks" description="Includes language links supplied by extensions (for use with prop=langlinks|languageshtml)" default="false" type="boolean" />
<param name="uselang" description="Which language to parse the request in" type="string" />
<param name="section" description="Only retrieve the content of this section number" type="string" />
<param name="disablepp" description="Disable the PP Report from the parser output" default="false" type="boolean" />
<param name="generatexml" description="Generate XML parse tree (requires contentmodel=wikitext)" default="false" type="boolean" />
<param name="preview" description="Parse in preview mode" default="false" type="boolean" />
<param name="sectionpreview" description="Parse in section preview mode (enables preview mode too)" default="false" type="boolean" />
<param name="disabletoc" description="Disable table of contents in output" default="false" type="boolean" />
<param name="contentformat" description="Content serialization format used for the input text Only valid when used with text">
<type>
<t>text/x-wiki</t>
<t>text/javascript</t>
<t>text/css</t>
<t>text/plain</t>
</type>
</param>
<param name="contentmodel" description="Content model of the input text. If omitted, title must be specified, and default will be the model of the specified title Only valid when used with text">
<type>
<t>wikitext</t>
<t>javascript</t>
<t>css</t>
<t>text</t>
</type>
</param>
</parameters>
<errors>
<error code="readapidenied" info="You need read permission to use this module" />
<error code="params" info="The page parameter cannot be used together with the text and title parameters" />
<error code="missingrev" info="There is no revision ID oldid" />
<error code="permissiondenied" info="You don't have permission to view deleted revisions" />
<error code="missingtitle" info="The page you specified doesn't exist" />
<error code="nosuchsection" info="There is no section sectionnumber in page" />
<error code="nosuchpageid" info="There is no page with ID $1" />
<error code="invalidtitle" info="Bad title "title"" />
<error code="parseerror" info="Failed to parse the given text." />
<error code="notwikitext" info="The requested operation is only supported on wikitext content." />
</errors>
</module>
</modules>
<querymodules>
<module classname="ApiQueryAllPages" description="Enumerate all pages sequentially in a given namespace." examples="Simple Use Show a list of pages starting at the letter "B" api.php?action=query&list=allpages&apfrom=B Using as Generator Show info about 4 pages starting at the letter "T" api.php?action=query&generator=allpages&gaplimit=4&gapfrom=T&prop=info Show content of first 2 non-redirect pages beginning at "Re" api.php?action=query&generator=allpages&gaplimit=2&gapfilterredir=nonredirects&gapfrom=Re&prop=revisions&rvprop=content" version="" prefix="ap" readrights="" generator="" listresult="" name="allpages" querytype="list">
<helpurls>
<helpurl>https://www.mediawiki.org/wiki/API:Allpages</helpurl>
</helpurls>
<allexamples>
<example description="Simple Use Show a list of pages starting at the letter "B"" xml:space="preserve">api.php?action=query&list=allpages&apfrom=B</example>
<example description="Using as Generator Show info about 4 pages starting at the letter "T"" xml:space="preserve">api.php?action=query&generator=allpages&gaplimit=4&gapfrom=T&prop=info</example>
<example description="Show content of first 2 non-redirect pages beginning at "Re"" xml:space="preserve">api.php?action=query&generator=allpages&gaplimit=2&gapfilterredir=nonredirects&gapfrom=Re&prop=revisions&rvprop=content</example>
</allexamples>
<parameters>
<param name="from" description="The page title to start enumerating from" type="string" />
<param name="continue" description="When more results are available, use this to continue" type="string" />
<param name="to" description="The page title to stop enumerating at" type="string" />
<param name="prefix" description="Search for all page titles that begin with this value" type="string" />
<param name="namespace" description="The namespace to enumerate" default="0" type="namespace" />
<param name="filterredir" description="Which pages to list" default="all">
<type>
<t>all</t>
<t>redirects</t>
<t>nonredirects</t>
</type>
</param>
<param name="minsize" description="Limit to pages with at least this many bytes" type="integer" />
<param name="maxsize" description="Limit to pages with at most this many bytes" type="integer" />
<param name="prtype" description="Limit to protected pages only" multi="" limit="50" lowlimit="50" highlimit="500">
<type>
<t>edit</t>
<t>move</t>
<t>upload</t>
</type>
</param>
<param name="prlevel" description="The protection level (must be used with apprtype= parameter)" multi="" limit="50" lowlimit="50" highlimit="500">
<type>
<t />
<t>autoconfirmed</t>
<t>sysop</t>
</type>
</param>
<param name="prfiltercascade" description="Filter protections based on cascadingness (ignored when apprtype isn't set)" default="all">
<type>
<t>cascading</t>
<t>noncascading</t>
<t>all</t>
</type>
</param>
<param name="limit" description="How many total pages to return." default="10" type="limit" max="500" highmax="5000" min="1" />
<param name="dir" description="The direction in which to list" default="ascending">
<type>
<t>ascending</t>
<t>descending</t>
</type>
</param>
<param name="filterlanglinks" description="Filter based on whether a page has langlinks Note that this may not consider langlinks added by extensions." default="all">
<type>
<t>withlanglinks</t>
<t>withoutlanglinks</t>
<t>all</t>
</type>
</param>
<param name="prexpiry" description="Which protection expiry to filter the page on indefinite - Get only pages with indefinite protection expiry definite - Get only pages with a definite (specific) protection expiry all - Get pages with any protections expiry" default="all">
<type>
<t>indefinite</t>
<t>definite</t>
<t>all</t>
</type>
</param>
</parameters>
<props>
<prop name="">
<properties>
<property name="pageid" type="integer" />
<property name="ns" type="namespace" />
<property name="title" type="string" />
</properties>
</prop>
</props>
<errors>
<error code="badcontinue" info="Invalid continue param. You should pass the original value returned by the previous query" />
<error code="readapidenied" info="You need read permission to use this module" />
<error code="invalidtitle" info="Bad title "title"" />
<error code="invalidtitle" info="Bad title "key"" />
<error code="params" info="Use "gapfilterredir=nonredirects" option instead of "redirects" when using allpages as a generator" />
<error code="params" info="prlevel may not be used without prtype" />
</errors>
</module>
<module classname="ApiQuerySiteinfo" description="Return general information about the site." examples="api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb=" version="" prefix="si" readrights="" name="siteinfo" querytype="meta">
<helpurls>
<helpurl>https://www.mediawiki.org/wiki/API:Meta#siteinfo_.2F_si</helpurl>
</helpurls>
<allexamples>
<example xml:space="preserve">api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics</example>
<example xml:space="preserve">api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local</example>
<example xml:space="preserve">api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb=</example>
</allexamples>
<parameters>
<param name="prop" description="Which sysinfo properties to get: general - Overall system information namespaces - List of registered namespaces and their canonical names namespacealiases - List of registered namespace aliases specialpagealiases - List of special page aliases magicwords - List of magic words and their aliases statistics - Returns site statistics interwikimap - Returns interwiki map (optionally filtered, (optionally localised by using siinlanguagecode)) dbrepllag - Returns database server with the highest replication lag usergroups - Returns user groups and the associated permissions extensions - Returns extensions installed on the wiki fileextensions - Returns list of file extensions allowed to be uploaded rightsinfo - Returns wiki rights (license) information if available restrictions - Returns information on available restriction (protection) types languages - Returns a list of languages MediaWiki supports(optionally localised by using siinlanguagecode) skins - Returns a list of all enabled skins extensiontags - Returns a list of parser extension tags functionhooks - Returns a list of parser function hooks showhooks - Returns a list of all subscribed hooks (contents of $wgHooks) variables - Returns a list of variable IDs protocols - Returns a list of protocols that are allowed in external links. defaultoptions - Returns the default values for user preferences." default="general" multi="" limit="50" lowlimit="50" highlimit="500">
<type>
<t>general</t>
<t>namespaces</t>
<t>namespacealiases</t>
<t>specialpagealiases</t>
<t>magicwords</t>
<t>interwikimap</t>
<t>dbrepllag</t>
<t>statistics</t>
<t>usergroups</t>
<t>extensions</t>
<t>fileextensions</t>
<t>rightsinfo</t>
<t>restrictions</t>
<t>languages</t>
<t>skins</t>
<t>extensiontags</t>
<t>functionhooks</t>
<t>showhooks</t>
<t>variables</t>
<t>protocols</t>
<t>defaultoptions</t>
</type>
</param>
<param name="filteriw" description="Return only local or only nonlocal entries of the interwiki map">
<type>
<t>local</t>
<t>!local</t>
</type>
</param>
<param name="showalldb" description="List all database servers, not just the one lagging the most" default="false" type="boolean" />
<param name="numberingroup" description="Lists the number of users in user groups" default="false" type="boolean" />
<param name="inlanguagecode" description="Language code for localised language names (best effort, use CLDR extension)" type="string" />
</parameters>
<errors>
<error code="readapidenied" info="You need read permission to use this module" />
<error code="invalidtitle" info="Bad title "title"" />
<error code="invalidtitle" info="Bad title "key"" />
<error code="includeAllDenied" info="Cannot view all servers info unless $wgShowHostnames is true" />
</errors>
</module>
</querymodules>
</paraminfo>
</api>