 | ParsingOptions Enumeration |
This is preliminary documentation and is subject to change.
Options for page or content parsing.
Namespace: WikiClientLibrary.Pages.ParsingAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.4+fbadc980737ddc9bb67116900ecad57f84a0b241
Syntax[FlagsAttribute]
public enum ParsingOptions
<FlagsAttribute>
Public Enumeration ParsingOptions
Dim instance As ParsingOptions
[FlagsAttribute]
public enum class ParsingOptions
[<FlagsAttribute>]
type ParsingOptions
Members| Member name | Value | Description |
|---|
| None | 0 |
No parsing options.
|
| ResolveRedirects | 1 |
When parsing by page title or page id, returns the target page when meeting redirects.
|
| DisableToc | 2 |
Disable table of contents in output. (1.23+)
|
| DisableEditSection | 4 |
Disable edit section links from the parser output. (1.24+)
|
| DisableTidy | 8 |
Do not run HTML cleanup (e.g. tidy) on the parser output. (1.26+)
|
| Preview | 4,096 |
Parse in preview mode. (1.22+)
|
| SectionPreview | 8,192 |
Parse in section preview mode (enables preview mode too). (1.22+)
|
| MobileFormat | 16,384 |
Return parse output in a format suitable for mobile devices. (?)
|
| NoImages | 32,768 |
Disable images in mobile output. (?)
|
| LimitReport | 65,536 |
Gives the structured limit report. (1.23+)
This flag fills ParserLimitReports.
|
| DisableLimitReport | 131,072 |
Omit the limit report ("NewPP limit report") from the parser output. (1.17~1.22, disablepp; 1.23+, disablelimitreport)
ParserLimitReports will be empty if both this flag and LimitReport is set.
|
| EffectiveLanguageLinks | 262,144 |
Includes language links supplied by extensions, in addition to the links specified on the page. (1.22+)
|
| TranscludedPages | 524,288 |
Gives the templates and other transcluded pages/modules in the parsed wikitext.
|
See Also