MediaWiki REL1_30
|
Public Member Functions | |
__construct ( $text='', $languageLinks=[], $categoryLinks=[], $unused=false, $titletext='') | |
__sleep () | |
addCategory ( $c, $sort) | |
addExternalLink ( $url) | |
addHeadItem ( $section, $tag=false) | |
Add some text to the "<head>". | |
addImage ( $name, $timestamp=null, $sha1=null) | |
Register a file dependency for this output. | |
addInterwikiLink ( $title) | |
addJsConfigVars ( $keys, $value=null) | |
Add one or more variables to be set in mw.config in JavaScript. | |
addLanguageLink ( $t) | |
addLink (Title $title, $id=null) | |
Record a local or interwiki inline link for saving in future link tables. | |
addModules ( $modules) | |
addModuleScripts ( $modules) | |
addModuleStyles ( $modules) | |
addOutputHook ( $hook, $data=false) | |
addOutputPageMetadata (OutputPage $out) | |
Copy items from the OutputPage object into this one. | |
addTemplate ( $title, $page_id, $rev_id) | |
Register a template dependency for this output. | |
addTrackingCategory ( $msg, $title) | |
Add a tracking category, getting the title from a system message, or print a debug message if the title is invalid. | |
addWarning ( $s) | |
finalizeAdaptiveCacheExpiry () | |
Call this when parsing is done to lower the TTL based on low parse times. | |
& | getCategories () |
getCategoryLinks () | |
getDisplayTitle () | |
Get the title to be used for display. | |
getEditSectionTokens () | |
getEnableOOUI () | |
getExtensionData ( $key) | |
Gets extensions data previously attached to this ParserOutput using setExtensionData(). | |
& | getExternalLinks () |
& | getFileSearchOptions () |
getFlag ( $flag) | |
getHeadItems () | |
getHideNewSection () | |
& | getImages () |
getIndexPolicy () | |
getIndicators () | |
getInterwikiLinks () | |
getJsConfigVars () | |
& | getLanguageLinks () |
getLimitReportData () | |
getLimitReportJSData () | |
& | getLinks () |
getModules () | |
getModuleScripts () | |
getModuleStyles () | |
getNewSection () | |
getNoGallery () | |
getOutputHooks () | |
getProperties () | |
getProperty ( $name) | |
getRawText () | |
Get the cacheable text with <mw:editsection> markers still in it. | |
getSections () | |
getSpeculativeRevIdUsed () | |
& | getTemplateIds () |
& | getTemplates () |
getText () | |
getTimeSinceStart ( $clock) | |
Returns the time since resetParseStartTime() was last called. | |
getTimestamp () | |
getTitleText () | |
getTOCEnabled () | |
getTOCHTML () | |
getUsedOptions () | |
Returns the options from its ParserOptions which have been taken into account to produce this output or false if not available. | |
getWarnings () | |
hasDynamicContent () | |
Check whether the cache TTL was lowered due to dynamic content. | |
hideNewSection ( $value) | |
preventClickjacking ( $flag=null) | |
Get or set the prevent-clickjacking flag. | |
recordOption ( $option) | |
Tags a parser option for use in the cache key for this parser output. | |
resetParseStartTime () | |
Resets the parse start timestamps for future calls to getTimeSinceStart() | |
setCategoryLinks ( $cl) | |
setDisplayTitle ( $text) | |
Override the title to be used for display. | |
setEditSectionTokens ( $t) | |
setEnableOOUI ( $enable=false) | |
Enables OOUI, if true, in any OutputPage instance this ParserOutput object is added to. | |
setExtensionData ( $key, $value) | |
Attaches arbitrary data to this ParserObject. | |
setFlag ( $flag) | |
Fairly generic flag setter thingy. | |
setIndexPolicy ( $policy) | |
setIndicator ( $id, $content) | |
setLanguageLinks ( $ll) | |
setLimitReportData ( $key, $value) | |
Sets parser limit report data for a key. | |
setNewSection ( $value) | |
setProperty ( $name, $value) | |
Set a property to be stored in the page_props database table. | |
setSections ( $toc) | |
setSpeculativeRevIdUsed ( $id) | |
setText ( $text) | |
setTimestamp ( $timestamp) | |
setTitleText ( $t) | |
setTOCEnabled ( $flag) | |
setTOCHTML ( $tochtml) | |
unsetProperty ( $name) | |
updateRuntimeAdaptiveExpiry ( $ttl) | |
Lower the runtime adaptive TTL to at most this value. | |
Public Member Functions inherited from CacheTime | |
expired ( $touched) | |
Return true if this cached output object predates the global or per-article cache invalidation timestamps, or if it comes from an incompatible older version. | |
getCacheExpiry () | |
Returns the number of seconds after which this object should expire. | |
getCacheRevisionId () | |
getCacheTime () | |
isCacheable () | |
isDifferentRevision ( $id) | |
Return true if this cached output object is for a different revision of the page. | |
setCacheRevisionId ( $id) | |
setCacheTime ( $t) | |
setCacheTime() sets the timestamp expressing when the page has been rendered. | |
updateCacheExpiry ( $seconds) | |
Sets the number of seconds after which this object should expire. | |
Static Public Member Functions | |
static | isLinkInternal ( $internal, $url) |
Checks, if a url is pointing to the own server. | |
Public Attributes | |
$mCategories | |
$mEditSectionTokens = false | |
$mEnableOOUI = false | |
$mExternalLinks = [] | |
$mFileSearchOptions = [] | |
$mHeadItems = [] | |
$mHideNewSection = false | |
$mImages = [] | |
$mIndicators = [] | |
$mInterwikiLinks = [] | |
$mJsConfigVars = [] | |
$mLanguageLinks | |
$mLinks = [] | |
$mModules = [] | |
$mModuleScripts = [] | |
$mModuleStyles = [] | |
$mNewSection = false | |
$mNoGallery = false | |
$mOutputHooks = [] | |
$mProperties = [] | |
$mSections = [] | |
$mTemplateIds = [] | |
$mTemplates = [] | |
$mText | |
$mTimestamp | |
$mTitleText | |
$mTOCEnabled = true | |
$mTOCHTML = '' | |
$mWarnings = [] | |
const | EDITSECTION_REGEX |
const | FAST_AR_TTL = 60 |
const | MIN_AR_TTL = 15 |
const | PARSE_FAST_SEC = 0.100 |
const | PARSE_SLOW_SEC = 1.0 |
const | SLOW_AR_TTL = 3600 |
Public Attributes inherited from CacheTime | |
$mCacheExpiry = null | |
$mCacheRevisionId = null | |
$mCacheTime = '' | |
array bool | $mUsedOptions |
ParserOptions which have been taken into account to produce output or false if not available. | |
$mVersion = Parser::VERSION | |
Static Private Member Functions | |
static | getTimes ( $clock=null) |
Private Attributes | |
$mAccessedOptions = [] | |
$mExtensionData = [] | |
$mFlags = [] | |
$mIndexPolicy = '' | |
$mLimitReportData = [] | |
array | $mLimitReportJSData = [] |
Parser limit report data for JSON. | |
int | $mMaxAdaptiveExpiry = INF |
Upper bound of expiry based on parse duration. | |
$mParseStartTime = [] | |
$mPreventClickjacking = false | |
int null | $mSpeculativeRevId |
Assumed rev ID for {{REVISIONID}} if no revision is set. | |
Definition at line 24 of file ParserOutput.php.
ParserOutput::__construct | ( | $text = '' , |
|
$languageLinks = [] , |
|||
$categoryLinks = [] , |
|||
$unused = false , |
|||
$titletext = '' |
|||
) |
Definition at line 232 of file ParserOutput.php.
ParserOutput::__sleep | ( | ) |
Definition at line 1123 of file ParserOutput.php.
ParserOutput::addCategory | ( | $c, | |
$sort | |||
) |
Definition at line 477 of file ParserOutput.php.
References $sort.
Referenced by addTrackingCategory().
ParserOutput::addExternalLink | ( | $url | ) |
Definition at line 544 of file ParserOutput.php.
References $wgRegisterInternalExternals, $wgServer, and global.
ParserOutput::addHeadItem | ( | $section, | |
$tag = false |
|||
) |
Add some text to the "<head>".
If $tag is set, the section with that tag will only be included once in a given page.
string | $section | |
string | bool | $tag |
Definition at line 651 of file ParserOutput.php.
References $section.
ParserOutput::addImage | ( | $name, | |
$timestamp = null , |
|||
$sha1 = null |
|||
) |
Register a file dependency for this output.
string | $name | Title dbKey |
string | $timestamp | MW timestamp of file creation (or false if non-existing) |
string | $sha1 | Base 36 SHA-1 of file (or false if non-existing) |
Definition at line 602 of file ParserOutput.php.
References $name.
ParserOutput::addInterwikiLink | ( | $title | ) |
MWException | If given invalid input |
Definition at line 633 of file ParserOutput.php.
References $title.
Referenced by addLink().
ParserOutput::addJsConfigVars | ( | $keys, | |
$value = null |
|||
) |
Add one or more variables to be set in mw.config in JavaScript.
string | array | $keys | Key or array of key/value pairs. |
mixed | $value | [optional] Value of the configuration variable. |
Definition at line 678 of file ParserOutput.php.
References $keys, $value, and as.
Referenced by addOutputPageMetadata().
ParserOutput::addLanguageLink | ( | $t | ) |
Definition at line 501 of file ParserOutput.php.
References $t.
ParserOutput::addLink | ( | Title | $title, |
$id = null |
|||
) |
Record a local or interwiki inline link for saving in future link tables.
Title | $title | |
int | null | $id | Optional known page_id so we can skip the lookup |
Definition at line 567 of file ParserOutput.php.
References $title, addInterwikiLink(), NS_FILE, NS_MEDIA, and NS_SPECIAL.
Referenced by WikitextContent\fillParserOutput().
ParserOutput::addModules | ( | $modules | ) |
Definition at line 659 of file ParserOutput.php.
References $modules, and array().
Referenced by addOutputPageMetadata().
ParserOutput::addModuleScripts | ( | $modules | ) |
Definition at line 663 of file ParserOutput.php.
References $modules, and array().
Referenced by addOutputPageMetadata().
ParserOutput::addModuleStyles | ( | $modules | ) |
Definition at line 667 of file ParserOutput.php.
References $modules, and array().
Referenced by addOutputPageMetadata().
ParserOutput::addOutputHook | ( | $hook, | |
$data = false |
|||
) |
Definition at line 509 of file ParserOutput.php.
ParserOutput::addOutputPageMetadata | ( | OutputPage | $out | ) |
Copy items from the OutputPage object into this one.
OutputPage | $out |
Definition at line 694 of file ParserOutput.php.
References $out, addJsConfigVars(), addModules(), addModuleScripts(), and addModuleStyles().
ParserOutput::addTemplate | ( | $title, | |
$page_id, | |||
$rev_id | |||
) |
Register a template dependency for this output.
Title | $title | |
int | $page_id | |
int | $rev_id |
Definition at line 616 of file ParserOutput.php.
References $title.
ParserOutput::addTrackingCategory | ( | $msg, | |
$title | |||
) |
Add a tracking category, getting the title from a system message, or print a debug message if the title is invalid.
Any message used with this function should be registered so it will show up on Special:TrackingCategories. Core messages should be added to SpecialTrackingCategories::$coreTrackingCategories, and extensions should add to "TrackingCategories" in their extension.json.
Definition at line 720 of file ParserOutput.php.
References $title, addCategory(), NS_CATEGORY, wfDebug(), and wfMessage().
ParserOutput::addWarning | ( | $s | ) |
Definition at line 505 of file ParserOutput.php.
References $s.
ParserOutput::finalizeAdaptiveCacheExpiry | ( | ) |
Call this when parsing is done to lower the TTL based on low parse times.
Definition at line 1103 of file ParserOutput.php.
References getTimeSinceStart(), and CacheTime\updateCacheExpiry().
& ParserOutput::getCategories | ( | ) |
Definition at line 322 of file ParserOutput.php.
Referenced by LinksUpdate\__construct(), and SpecialExpandTemplates\showHtmlPreview().
ParserOutput::getCategoryLinks | ( | ) |
Definition at line 318 of file ParserOutput.php.
Referenced by MediaWiki\Search\ParserOutputSearchDataExtractor\getCategories().
ParserOutput::getDisplayTitle | ( | ) |
Get the title to be used for display.
As per the contract of setDisplayTitle(), this is safe HTML, ready to be served to the client.
Definition at line 771 of file ParserOutput.php.
References $t, and getTitleText().
ParserOutput::getEditSectionTokens | ( | ) |
Definition at line 342 of file ParserOutput.php.
ParserOutput::getEnableOOUI | ( | ) |
Definition at line 433 of file ParserOutput.php.
ParserOutput::getExtensionData | ( | $key | ) |
Gets extensions data previously attached to this ParserOutput using setExtensionData().
Typically, such data would be set while parsing the page, e.g. by a parser function.
string | $key | The key to look up. |
Definition at line 966 of file ParserOutput.php.
& ParserOutput::getExternalLinks | ( | ) |
Definition at line 366 of file ParserOutput.php.
Referenced by LinksUpdate\__construct(), and MediaWiki\Search\ParserOutputSearchDataExtractor\getExternalLinks().
& ParserOutput::getFileSearchOptions | ( | ) |
Definition at line 362 of file ParserOutput.php.
ParserOutput::getFlag | ( | $flag | ) |
Definition at line 787 of file ParserOutput.php.
Referenced by ApiStashEdit\buildStashValue().
ParserOutput::getHeadItems | ( | ) |
Definition at line 374 of file ParserOutput.php.
ParserOutput::getHideNewSection | ( | ) |
Definition at line 519 of file ParserOutput.php.
& ParserOutput::getImages | ( | ) |
Definition at line 358 of file ParserOutput.php.
Referenced by LinksUpdate\__construct().
ParserOutput::getIndexPolicy | ( | ) |
Definition at line 406 of file ParserOutput.php.
ParserOutput::getIndicators | ( | ) |
ParserOutput::getInterwikiLinks | ( | ) |
Definition at line 314 of file ParserOutput.php.
Referenced by LinksUpdate\__construct().
ParserOutput::getJsConfigVars | ( | ) |
& ParserOutput::getLanguageLinks | ( | ) |
Definition at line 310 of file ParserOutput.php.
Referenced by LinksUpdate\__construct().
ParserOutput::getLimitReportData | ( | ) |
Definition at line 421 of file ParserOutput.php.
ParserOutput::getLimitReportJSData | ( | ) |
Definition at line 425 of file ParserOutput.php.
& ParserOutput::getLinks | ( | ) |
Definition at line 346 of file ParserOutput.php.
Referenced by LinksUpdate\__construct(), and MediaWiki\Search\ParserOutputSearchDataExtractor\getOutgoingLinks().
ParserOutput::getModules | ( | ) |
Definition at line 378 of file ParserOutput.php.
ParserOutput::getModuleScripts | ( | ) |
Definition at line 382 of file ParserOutput.php.
ParserOutput::getModuleStyles | ( | ) |
Definition at line 386 of file ParserOutput.php.
ParserOutput::getNewSection | ( | ) |
Definition at line 522 of file ParserOutput.php.
ParserOutput::getNoGallery | ( | ) |
Definition at line 370 of file ParserOutput.php.
ParserOutput::getOutputHooks | ( | ) |
Definition at line 398 of file ParserOutput.php.
References array().
ParserOutput::getProperties | ( | ) |
Definition at line 872 of file ParserOutput.php.
Referenced by LinksUpdate\__construct().
ParserOutput::getProperty | ( | $name | ) |
string | $name | The property name to look up. |
Definition at line 864 of file ParserOutput.php.
References $name.
ParserOutput::getRawText | ( | ) |
Get the cacheable text with <mw:editsection> markers still in it.
The return value is suitable for writing back via setText() but is not valid for display to the user.
Definition at line 249 of file ParserOutput.php.
ParserOutput::getSections | ( | ) |
Definition at line 338 of file ParserOutput.php.
ParserOutput::getSpeculativeRevIdUsed | ( | ) |
& ParserOutput::getTemplateIds | ( | ) |
Definition at line 354 of file ParserOutput.php.
& ParserOutput::getTemplates | ( | ) |
Definition at line 350 of file ParserOutput.php.
Referenced by LinksUpdate\__construct(), and MediaWiki\Search\ParserOutputSearchDataExtractor\getTemplates().
ParserOutput::getText | ( | ) |
Definition at line 253 of file ParserOutput.php.
References $skin, $wgLang, $wgOut, and global.
Referenced by Status\getHTML(), and Message\parseText().
|
staticprivate |
Definition at line 974 of file ParserOutput.php.
References $ret, and wfGetRusage().
array $mParseStartTime Timestamps for ParserOutput::getTimeSinceStart | ( | $clock | ) |
Returns the time since resetParseStartTime() was last called.
Clocks available are:
string | $clock |
Definition at line 1008 of file ParserOutput.php.
Referenced by finalizeAdaptiveCacheExpiry().
ParserOutput::getTimestamp | ( | ) |
Definition at line 417 of file ParserOutput.php.
Referenced by ApiStashEdit\buildStashValue().
ParserOutput::getTitleText | ( | ) |
Definition at line 334 of file ParserOutput.php.
Referenced by Article\adjustDisplayTitle(), and getDisplayTitle().
ParserOutput::getTOCEnabled | ( | ) |
Definition at line 429 of file ParserOutput.php.
ParserOutput::getTOCHTML | ( | ) |
Definition at line 410 of file ParserOutput.php.
ParserOutput::getUsedOptions | ( | ) |
Returns the options from its ParserOptions which have been taken into account to produce this output or false if not available.
Definition at line 884 of file ParserOutput.php.
ParserOutput::getWarnings | ( | ) |
Definition at line 402 of file ParserOutput.php.
ParserOutput::hasDynamicContent | ( | ) |
Check whether the cache TTL was lowered due to dynamic content.
When content is determined by more than hard state (e.g. page edits), such as template/file transclusions based on the current timestamp or extension tags that generate lists based on queries, this return true.
Definition at line 1070 of file ParserOutput.php.
References $wgParserCacheExpireTime, CacheTime\getCacheExpiry(), and global.
Referenced by WikiPage\triggerOpportunisticLinksUpdate().
ParserOutput::hideNewSection | ( | $value | ) |
Definition at line 516 of file ParserOutput.php.
References $value.
|
static |
ParserOutput::preventClickjacking | ( | $flag = null | ) |
Get or set the prevent-clickjacking flag.
bool | null | $flag | New flag value, or null to leave it unchanged |
Definition at line 1083 of file ParserOutput.php.
References wfSetVar().
ParserOutput::recordOption | ( | $option | ) |
Tags a parser option for use in the cache key for this parser output.
Registered as a watcher at ParserOptions::registerWatcher() by Parser::clearState(). The information gathered here is available via getUsedOptions(), and is used by ParserCache::save().
string | $option |
Definition at line 903 of file ParserOutput.php.
ParserOutput::resetParseStartTime | ( | ) |
Resets the parse start timestamps for future calls to getTimeSinceStart()
Definition at line 993 of file ParserOutput.php.
ParserOutput::setCategoryLinks | ( | $cl | ) |
Definition at line 445 of file ParserOutput.php.
References wfSetVar().
ParserOutput::setDisplayTitle | ( | $text | ) |
Override the title to be used for display.
string | $text | Desired title text |
Definition at line 758 of file ParserOutput.php.
References setProperty(), and setTitleText().
ParserOutput::setEditSectionTokens | ( | $t | ) |
Definition at line 457 of file ParserOutput.php.
References $t, and wfSetVar().
ParserOutput::setEnableOOUI | ( | $enable = false | ) |
Enables OOUI, if true, in any OutputPage instance this ParserOutput object is added to.
bool | $enable | If OOUI should be enabled or not |
Definition at line 497 of file ParserOutput.php.
ParserOutput::setExtensionData | ( | $key, | |
$value | |||
) |
Attaches arbitrary data to this ParserObject.
This can be used to store some information in the ParserOutput object for later use during page output. The data will be cached along with the ParserOutput object, but unlike data set using setProperty(), it is not recorded in the database.
This method is provided to overcome the unsafe practice of attaching extra information to a ParserObject by directly assigning member variables.
To use setExtensionData() to pass extension information from a hook inside the parser to a hook in the page output, use this in the parser hook:
And then later, in OutputPageParserOutput or similar:
In MediaWiki 1.20 and older, you have to use a custom member variable within the ParserOutput object:
string | $key | The key for accessing the data. Extensions should take care to avoid conflicts in naming keys. It is suggested to use the extension's name as a prefix. |
mixed | $value | The value to set. Setting a value to null is equivalent to removing the value. |
Definition at line 947 of file ParserOutput.php.
References $value.
ParserOutput::setFlag | ( | $flag | ) |
Fairly generic flag setter thingy.
string | $flag |
Definition at line 783 of file ParserOutput.php.
ParserOutput::setIndexPolicy | ( | $policy | ) |
Definition at line 461 of file ParserOutput.php.
References wfSetVar().
ParserOutput::setIndicator | ( | $id, | |
$content | |||
) |
ParserOutput::setLanguageLinks | ( | $ll | ) |
Definition at line 441 of file ParserOutput.php.
References wfSetVar().
ParserOutput::setLimitReportData | ( | $key, | |
$value | |||
) |
Sets parser limit report data for a key.
The key is used as the prefix for various messages used for formatting:
Note that all values are interpreted as wikitext, and so should be encoded with htmlspecialchars() as necessary, but should avoid complex HTML for sanity of display in the "NewPP limit report" comment.
string | $key | Message key |
mixed | $value | Appropriate for Message::params() |
Definition at line 1036 of file ParserOutput.php.
ParserOutput::setNewSection | ( | $value | ) |
Definition at line 513 of file ParserOutput.php.
References $value.
ParserOutput::setProperty | ( | $name, | |
$value | |||
) |
Set a property to be stored in the page_props database table.
page_props is a key value store indexed by the page ID. This allows the parser to set a property on a page which can then be quickly retrieved given the page ID or via a DB join when given the page title.
Since 1.23, page_props are also indexed by numeric value, to allow for efficient "top k" queries of pages wrt a given property.
setProperty() is thus used to propagate properties from the parsed page to request contexts other than a page view of the currently parsed article.
Some applications examples:
If you are writing an extension where you want to set a property in the parser which is used by an OutputPageParserOutput hook, you have to associate the extension data directly with the ParserOutput object. Since MediaWiki 1.21, you can use setExtensionData() to do this:
And then later, in OutputPageParserOutput or similar:
In MediaWiki 1.20 and older, you have to use a custom member variable within the ParserOutput object:
string | $name | |
mixed | $value |
Definition at line 852 of file ParserOutput.php.
Referenced by setDisplayTitle().
ParserOutput::setSections | ( | $toc | ) |
Definition at line 453 of file ParserOutput.php.
References wfSetVar().
ParserOutput::setSpeculativeRevIdUsed | ( | $id | ) |
ParserOutput::setText | ( | $text | ) |
Definition at line 437 of file ParserOutput.php.
References wfSetVar().
Referenced by JsonContent\fillParserOutput(), TextContent\fillParserOutput(), WikitextContent\fillParserOutput(), TablePager\getBodyOutput(), and TablePager\getFullOutput().
ParserOutput::setTimestamp | ( | $timestamp | ) |
Definition at line 469 of file ParserOutput.php.
References wfSetVar().
ParserOutput::setTitleText | ( | $t | ) |
Definition at line 449 of file ParserOutput.php.
References $t, and wfSetVar().
Referenced by setDisplayTitle().
ParserOutput::setTOCEnabled | ( | $flag | ) |
Definition at line 473 of file ParserOutput.php.
References wfSetVar().
ParserOutput::setTOCHTML | ( | $tochtml | ) |
Definition at line 465 of file ParserOutput.php.
References wfSetVar().
ParserOutput::unsetProperty | ( | $name | ) |
Definition at line 868 of file ParserOutput.php.
References $name.
ParserOutput::updateRuntimeAdaptiveExpiry | ( | $ttl | ) |
Lower the runtime adaptive TTL to at most this value.
int | $ttl |
Definition at line 1093 of file ParserOutput.php.
References CacheTime\updateCacheExpiry().
|
private |
Definition at line 184 of file ParserOutput.php.
ParserOutput::$mCategories |
Definition at line 39 of file ParserOutput.php.
ParserOutput::$mEditSectionTokens = false |
Definition at line 149 of file ParserOutput.php.
ParserOutput::$mEnableOOUI = false |
Definition at line 174 of file ParserOutput.php.
|
private |
Definition at line 189 of file ParserOutput.php.
ParserOutput::$mExternalLinks = [] |
Definition at line 82 of file ParserOutput.php.
ParserOutput::$mFileSearchOptions = [] |
Definition at line 77 of file ParserOutput.php.
|
private |
Definition at line 212 of file ParserOutput.php.
ParserOutput::$mHeadItems = [] |
Definition at line 108 of file ParserOutput.php.
ParserOutput::$mHideNewSection = false |
Definition at line 98 of file ParserOutput.php.
ParserOutput::$mImages = [] |
Definition at line 72 of file ParserOutput.php.
|
private |
Definition at line 179 of file ParserOutput.php.
ParserOutput::$mIndicators = [] |
Definition at line 44 of file ParserOutput.php.
ParserOutput::$mInterwikiLinks = [] |
Definition at line 88 of file ParserOutput.php.
ParserOutput::$mJsConfigVars = [] |
Definition at line 128 of file ParserOutput.php.
ParserOutput::$mLanguageLinks |
Definition at line 34 of file ParserOutput.php.
|
private |
Definition at line 194 of file ParserOutput.php.
|
private |
Parser limit report data for JSON.
Definition at line 197 of file ParserOutput.php.
ParserOutput::$mLinks = [] |
Definition at line 55 of file ParserOutput.php.
|
private |
Upper bound of expiry based on parse duration.
Definition at line 218 of file ParserOutput.php.
ParserOutput::$mModules = [] |
Definition at line 113 of file ParserOutput.php.
ParserOutput::$mModuleScripts = [] |
Definition at line 118 of file ParserOutput.php.
ParserOutput::$mModuleStyles = [] |
Definition at line 123 of file ParserOutput.php.
ParserOutput::$mNewSection = false |
Definition at line 93 of file ParserOutput.php.
ParserOutput::$mNoGallery = false |
Definition at line 103 of file ParserOutput.php.
ParserOutput::$mOutputHooks = [] |
Definition at line 133 of file ParserOutput.php.
|
private |
Definition at line 202 of file ParserOutput.php.
|
private |
Definition at line 207 of file ParserOutput.php.
ParserOutput::$mProperties = [] |
Definition at line 154 of file ParserOutput.php.
ParserOutput::$mSections = [] |
Definition at line 144 of file ParserOutput.php.
|
private |
Assumed rev ID for {{REVISIONID}} if no revision is set.
Definition at line 215 of file ParserOutput.php.
ParserOutput::$mTemplateIds = [] |
Definition at line 67 of file ParserOutput.php.
ParserOutput::$mTemplates = [] |
Definition at line 61 of file ParserOutput.php.
ParserOutput::$mText |
Definition at line 28 of file ParserOutput.php.
ParserOutput::$mTimestamp |
Definition at line 164 of file ParserOutput.php.
ParserOutput::$mTitleText |
Definition at line 49 of file ParserOutput.php.
ParserOutput::$mTOCEnabled = true |
Definition at line 169 of file ParserOutput.php.
ParserOutput::$mTOCHTML = '' |
Definition at line 159 of file ParserOutput.php.
ParserOutput::$mWarnings = [] |
Definition at line 139 of file ParserOutput.php.
const ParserOutput::EDITSECTION_REGEX |
Definition at line 220 of file ParserOutput.php.
const ParserOutput::FAST_AR_TTL = 60 |
Definition at line 228 of file ParserOutput.php.
const ParserOutput::MIN_AR_TTL = 15 |
Definition at line 230 of file ParserOutput.php.
const ParserOutput::PARSE_FAST_SEC = 0.100 |
Definition at line 226 of file ParserOutput.php.
const ParserOutput::PARSE_SLOW_SEC = 1.0 |
Definition at line 227 of file ParserOutput.php.
const ParserOutput::SLOW_AR_TTL = 3600 |
Definition at line 229 of file ParserOutput.php.