pub enum Property {
Show 21 variants
Text,
LangLinks,
Categories,
CategoriesHTML,
Templates,
Images,
ExternalLinks,
Sections,
RevID,
DisplayTitle,
Subtitle,
HeadHTML,
Indicators,
InterwikiLinks,
Wikitext,
Properties,
LimitReportData,
LimitReportHTML,
ParseTree,
ParseWarnings,
ParseWarningsHTML,
}
Expand description
Which pieces of information to get about the article
Variants§
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
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
Subtitle
Adds the page subtitle for the parsed page
HeadHTML
Gives parsed doctype, opening <html>
, <head>
and opening <body>
of the page
Indicators
Gives the HTML of page status indicators used on the page
InterwikiLinks
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
LimitReportHTML
Gives the HTML version of the limit report
ParseTree
The XML parse tree of revision content (requires content model wikitext
)
ParseWarnings
Gives the warnings that occurred while parsing content (as wikitext)
ParseWarningsHTML
Gives the warnings that occurred while parsing content (as HTML)