5/29/2023 0 Comments Mediawiki link to section![]() New is allowed only when specifying text. When new, parse text and sectiontitle as if adding a new section to the page. Only parse the content of this section number. Includes language links supplied by extensions (for use with prop=langlinks). Type: boolean ( details) effectivelanglinks Returns the same wikitext, after a PST has been applied. Only valid when used with text.ĭo a pre-save transform (PST) on the input, but don't parse it. parsetree The XML parse tree of revision content (requires content model wikitext) Values (separate with | or alternative): text, langlinks, categories, categorieshtml, links, templates, images, externallinks, sections, revid, displaytitle, headitems, headhtml, modules, jsconfigvars, encodedjsconfigvars, indicators, iwlinks, wikitext, properties, limitreportdata, limitreporthtml, parsetree Default: text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle|iwlinks|properties pstĭo a pre-save transform on the input before parsing it. ![]() Gives no data, when disablelimitreport is set. limitreporthtml Gives the HTML version of the limit report. limitreportdata Gives the limit report in a structured way. properties Gives various properties defined in the parsed wikitext. wikitext Gives the original wikitext that was parsed. iwlinks Gives interwiki links in the parsed wikitext. indicators Gives the HTML of page status indicators used on the page. encodedjsconfigvars Gives the JavaScript configuration variables specific to the page as a JSON string. jsconfigvars Gives the JavaScript configuration variables specific to the page. Either jsconfigvars or encodedjsconfigvars must be requested jointly with modules. modules Gives the ResourceLoader modules used on the page. displaytitle Adds the title of the parsed wikitext. revid Adds the revision ID of the parsed page. sections Gives the sections in the parsed wikitext. externallinks Gives the external links in the parsed wikitext. images Gives the images in the parsed wikitext. templates Gives the templates in the parsed wikitext. links Gives the internal links in the parsed wikitext. categorieshtml Gives the HTML version of the categories. categories Gives the categories in the parsed wikitext. langlinks Gives the language links in the parsed wikitext. Text Gives the parsed text of the wikitext. If page or pageid is set to a redirect, resolve it. Cannot be used together with text and title. ![]() Use title or contentmodel to control the content model. If omitted, contentmodel must be specified, and API will be used as the title. ![]()
0 Comments
Leave a Reply. |