MediaWiki
master
|
Public Member Functions | |
__construct ($text= '', $languageLinks=[], $categoryLinks=[], $unused=false, $titletext= '') | |
__sleep () | |
Save space for serialization by removing useless values. More... | |
addCategory ($c, $sort) | |
addExternalLink ($url) | |
addHeadItem ($section, $tag=false) | |
Add some text to the "<head>". More... | |
addImage ($name, $timestamp=null, $sha1=null) | |
Register a file dependency for this output. More... | |
addInterwikiLink ($title) | |
addJsConfigVars ($keys, $value=null) | |
Add one or more variables to be set in mw.config in JavaScript. More... | |
addLanguageLink ($t) | |
addLink (Title $title, $id=null) | |
Record a local or interwiki inline link for saving in future link tables. More... | |
addModules ($modules) | |
addModuleScripts ($modules) | |
addModuleStyles ($modules) | |
addOutputHook ($hook, $data=false) | |
addOutputPageMetadata (OutputPage $out) | |
Copy items from the OutputPage object into this one. More... | |
addTemplate ($title, $page_id, $rev_id) | |
Register a template dependency for this output. More... | |
addTrackingCategory ($msg, $title) | |
Add a tracking category, getting the title from a system message, or print a debug message if the title is invalid. More... | |
addWarning ($s) | |
& | getCategories () |
getCategoryLinks () | |
getDisplayTitle () | |
Get the title to be used for display. More... | |
getEditSectionTokens () | |
getEnableOOUI () | |
getExtensionData ($key) | |
Gets extensions data previously attached to this ParserOutput using setExtensionData(). More... | |
& | getExternalLinks () |
& | getFileSearchOptions () |
getFlag ($flag) | |
getHeadItems () | |
getHideNewSection () | |
& | getImages () |
getIndexPolicy () | |
getIndicators () | |
getInterwikiLinks () | |
getJsConfigVars () | |
& | getLanguageLinks () |
getLimitReportData () | |
& | getLinks () |
getModules () | |
getModuleScripts () | |
getModuleStyles () | |
getNewSection () | |
getNoGallery () | |
getOutputHooks () | |
getProperties () | |
getProperty ($name) | |
getRawText () | |
Get the cacheable text with <mw:editsection> markers still in it. More... | |
getSections () | |
getSpeculativeRevIdUsed () | |
& | getTemplateIds () |
& | getTemplates () |
getText () | |
getTimeSinceStart ($clock) | |
Returns the time since resetParseStartTime() was last called. More... | |
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. More... | |
getWarnings () | |
hasDynamicContent () | |
Check whether the cache TTL was lowered due to dynamic content. More... | |
hideNewSection ($value) | |
preventClickjacking ($flag=null) | |
Get or set the prevent-clickjacking flag. More... | |
recordOption ($option) | |
Tags a parser option for use in the cache key for this parser output. More... | |
resetParseStartTime () | |
Resets the parse start timestamps for future calls to getTimeSinceStart() More... | |
setCategoryLinks ($cl) | |
setDisplayTitle ($text) | |
Override the title to be used for display. More... | |
setEditSectionTokens ($t) | |
setEnableOOUI ($enable=false) | |
Enables OOUI, if true, in any OutputPage instance this ParserOutput object is added to. More... | |
setExtensionData ($key, $value) | |
Attaches arbitrary data to this ParserObject. More... | |
setFlag ($flag) | |
Fairly generic flag setter thingy. More... | |
setIndexPolicy ($policy) | |
setIndicator ($id, $content) | |
setLanguageLinks ($ll) | |
setLimitReportData ($key, $value) | |
Sets parser limit report data for a key. More... | |
setNewSection ($value) | |
setProperty ($name, $value) | |
Set a property to be stored in the page_props database table. More... | |
setSections ($toc) | |
setSpeculativeRevIdUsed ($id) | |
setText ($text) | |
setTimestamp ($timestamp) | |
setTitleText ($t) | |
setTOCEnabled ($flag) | |
setTOCHTML ($tochtml) | |
unsetProperty ($name) | |
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. More... | |
getCacheExpiry () | |
Returns the number of seconds after which this object should expire. More... | |
getCacheRevisionId () | |
getCacheTime () | |
isCacheable () | |
isDifferentRevision ($id) | |
Return true if this cached output object is for a different revision of the page. More... | |
setCacheRevisionId ($id) | |
setCacheTime ($t) | |
setCacheTime() sets the timestamp expressing when the page has been rendered. More... | |
updateCacheExpiry ($seconds) | |
Sets the number of seconds after which this object should expire. More... | |
Static Public Member Functions | |
static | isLinkInternal ($internal, $url) |
Checks, if a url is pointing to the own server. More... | |
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 |
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. More... | |
$mVersion = Parser::VERSION | |
Static Private Member Functions | |
static | getTimes ($clock=null) |
Private Attributes | |
$mAccessedOptions = [] | |
$mExtensionData = [] | |
$mFlags = [] | |
$mIndexPolicy = '' | |
$mLimitReportData = [] | |
$mParseStartTime = [] | |
$mPreventClickjacking = false | |
integer null | $mSpeculativeRevId |
Assumed rev ID for {{REVISIONID}} if no revision is set. More... | |
Definition at line 24 of file ParserOutput.php.
ParserOutput::__construct | ( | $text = '' , |
|
$languageLinks = [] , |
|||
$categoryLinks = [] , |
|||
$unused = false , |
|||
$titletext = '' |
|||
) |
Definition at line 215 of file ParserOutput.php.
ParserOutput::__sleep | ( | ) |
Save space for serialization by removing useless values.
Definition at line 1043 of file ParserOutput.php.
ParserOutput::addCategory | ( | $c, | |
$sort | |||
) |
Definition at line 448 of file ParserOutput.php.
References $sort.
Referenced by addTrackingCategory().
ParserOutput::addExternalLink | ( | $url | ) |
Definition at line 513 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 616 of file ParserOutput.php.
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 567 of file ParserOutput.php.
References $name, and $timestamp.
ParserOutput::addInterwikiLink | ( | $title | ) |
MWException | If given invalid input |
Definition at line 598 of file ParserOutput.php.
References $title.
Referenced by addLink(), and LinkHolderArray\replaceInterwiki().
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 643 of file ParserOutput.php.
References $keys, $value, and as.
Referenced by addOutputPageMetadata(), ProtectionForm\buildForm(), ImagePage\openShowImage(), and MediaWiki\performRequest().
ParserOutput::addLanguageLink | ( | $t | ) |
Definition at line 470 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 532 of file ParserOutput.php.
References addInterwikiLink(), Title\getArticleID(), Title\getDBkey(), Title\getNamespace(), Title\isExternal(), NS_FILE, NS_MEDIA, and NS_SPECIAL.
Referenced by LinkHolderArray\doVariants(), WikitextContent\fillParserOutput(), and LinkHolderArray\replaceInternal().
ParserOutput::addModules | ( | $modules | ) |
Definition at line 624 of file ParserOutput.php.
References array().
Referenced by addOutputPageMetadata(), ProtectionForm\buildForm(), SpecialWatchlist\execute(), ImagePage\openShowImage(), and MediaWiki\performRequest().
ParserOutput::addModuleScripts | ( | $modules | ) |
Definition at line 628 of file ParserOutput.php.
References array().
Referenced by addOutputPageMetadata().
ParserOutput::addModuleStyles | ( | $modules | ) |
Definition at line 632 of file ParserOutput.php.
References array().
Referenced by addOutputPageMetadata(), JsonContent\fillParserOutput(), and WikitextContent\fillParserOutput().
ParserOutput::addOutputHook | ( | $hook, | |
$data = false |
|||
) |
Definition at line 478 of file ParserOutput.php.
ParserOutput::addOutputPageMetadata | ( | OutputPage | $out | ) |
Copy items from the OutputPage object into this one.
OutputPage | $out |
Definition at line 659 of file ParserOutput.php.
References addJsConfigVars(), addModules(), addModuleScripts(), addModuleStyles(), OutputPage\getHeadItemsArray(), OutputPage\getJsConfigVars(), OutputPage\getModules(), OutputPage\getModuleScripts(), OutputPage\getModuleStyles(), and OutputPage\getPreventClickjacking().
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 581 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 683 of file ParserOutput.php.
References $title, addCategory(), getProperty(), Title\makeTitleSafe(), NS_CATEGORY, NS_SPECIAL, wfDebug(), and wfMessage().
ParserOutput::addWarning | ( | $s | ) |
Definition at line 474 of file ParserOutput.php.
References $s.
& ParserOutput::getCategories | ( | ) |
Definition at line 301 of file ParserOutput.php.
References $mCategories.
Referenced by LinksUpdate\__construct(), LinkHolderArray\doVariants(), CategoryMembershipChangeJob\getCategoriesAtRev(), ParserTest\runTest(), SpecialExpandTemplates\showHtmlPreview(), and NewParserTest\testParserTest().
ParserOutput::getCategoryLinks | ( | ) |
Definition at line 297 of file ParserOutput.php.
Referenced by LinkHolderArray\doVariants().
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 734 of file ParserOutput.php.
References $t, and getTitleText().
ParserOutput::getEditSectionTokens | ( | ) |
Definition at line 320 of file ParserOutput.php.
References $mEditSectionTokens.
ParserOutput::getEnableOOUI | ( | ) |
Definition at line 404 of file ParserOutput.php.
References $mEnableOOUI.
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 928 of file ParserOutput.php.
& ParserOutput::getExternalLinks | ( | ) |
Definition at line 344 of file ParserOutput.php.
References $mExternalLinks.
Referenced by LinksUpdate\__construct().
& ParserOutput::getFileSearchOptions | ( | ) |
Definition at line 340 of file ParserOutput.php.
References $mFileSearchOptions.
ParserOutput::getFlag | ( | $flag | ) |
Definition at line 750 of file ParserOutput.php.
ParserOutput::getHeadItems | ( | ) |
Definition at line 352 of file ParserOutput.php.
References $mHeadItems.
ParserOutput::getHideNewSection | ( | ) |
Definition at line 488 of file ParserOutput.php.
References $mHideNewSection.
& ParserOutput::getImages | ( | ) |
Definition at line 336 of file ParserOutput.php.
References $mImages.
Referenced by LinksUpdate\__construct().
ParserOutput::getIndexPolicy | ( | ) |
Definition at line 381 of file ParserOutput.php.
References $mIndexPolicy.
ParserOutput::getIndicators | ( | ) |
Definition at line 308 of file ParserOutput.php.
References $mIndicators.
Referenced by ParserTest\runTest(), and NewParserTest\testParserTest().
ParserOutput::getInterwikiLinks | ( | ) |
Definition at line 293 of file ParserOutput.php.
References $mInterwikiLinks.
Referenced by LinksUpdate\__construct().
ParserOutput::getJsConfigVars | ( | ) |
& ParserOutput::getLanguageLinks | ( | ) |
Definition at line 289 of file ParserOutput.php.
References $mLanguageLinks.
Referenced by LinksUpdate\__construct(), ParserTest\runTest(), and NewParserTest\testParserTest().
ParserOutput::getLimitReportData | ( | ) |
Definition at line 396 of file ParserOutput.php.
References $mLimitReportData.
Referenced by EditPage\getPreviewLimitReport().
& ParserOutput::getLinks | ( | ) |
Definition at line 324 of file ParserOutput.php.
References $mLinks.
Referenced by LinksUpdate\__construct().
ParserOutput::getModules | ( | ) |
Definition at line 356 of file ParserOutput.php.
References $mModules.
ParserOutput::getModuleScripts | ( | ) |
Definition at line 360 of file ParserOutput.php.
References $mModuleScripts.
ParserOutput::getModuleStyles | ( | ) |
Definition at line 364 of file ParserOutput.php.
References $mModuleStyles.
ParserOutput::getNewSection | ( | ) |
Definition at line 491 of file ParserOutput.php.
References $mNewSection.
ParserOutput::getNoGallery | ( | ) |
Definition at line 348 of file ParserOutput.php.
References $mNoGallery.
ParserOutput::getOutputHooks | ( | ) |
Definition at line 373 of file ParserOutput.php.
References $mOutputHooks, and array().
ParserOutput::getProperties | ( | ) |
Definition at line 834 of file ParserOutput.php.
References $mProperties.
Referenced by LinksUpdate\__construct().
ParserOutput::getProperty | ( | $name | ) |
string | $name | The property name to look up. |
Definition at line 826 of file ParserOutput.php.
References $name.
Referenced by addTrackingCategory().
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 231 of file ParserOutput.php.
References $mText.
Referenced by WikitextContent\fillParserOutput().
ParserOutput::getSections | ( | ) |
Definition at line 316 of file ParserOutput.php.
References $mSections.
ParserOutput::getSpeculativeRevIdUsed | ( | ) |
& ParserOutput::getTemplateIds | ( | ) |
Definition at line 332 of file ParserOutput.php.
References $mTemplateIds.
& ParserOutput::getTemplates | ( | ) |
Definition at line 328 of file ParserOutput.php.
References $mTemplates.
Referenced by LinksUpdate\__construct().
ParserOutput::getText | ( | ) |
Definition at line 235 of file ParserOutput.php.
References $mText, $skin, $wgLang, $wgOut, EDITSECTION_REGEX, global, Title\newFromText(), Parser\TOC_END, and Parser\TOC_START.
Referenced by DumpRenderer\handleRevision(), ParserTest\runTest(), and NewParserTest\testParserTest().
|
staticprivate |
Definition at line 936 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 970 of file ParserOutput.php.
ParserOutput::getTimestamp | ( | ) |
Definition at line 392 of file ParserOutput.php.
References $mTimestamp.
Referenced by ApiStashEdit\buildStashValue().
ParserOutput::getTitleText | ( | ) |
Definition at line 312 of file ParserOutput.php.
References $mTitleText.
Referenced by Article\adjustDisplayTitle(), getDisplayTitle(), ParserTest\runTest(), and NewParserTest\testParserTest().
ParserOutput::getTOCEnabled | ( | ) |
Definition at line 400 of file ParserOutput.php.
References $mTOCEnabled.
ParserOutput::getTOCHTML | ( | ) |
Definition at line 385 of file ParserOutput.php.
References $mTOCHTML.
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 846 of file ParserOutput.php.
ParserOutput::getWarnings | ( | ) |
Definition at line 377 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 1022 of file ParserOutput.php.
References $wgParserCacheExpireTime, CacheTime\getCacheExpiry(), and global.
Referenced by WikiPage\triggerOpportunisticLinksUpdate().
ParserOutput::hideNewSection | ( | $value | ) |
Definition at line 485 of file ParserOutput.php.
References $value.
|
static |
Checks, if a url is pointing to the own server.
string | $internal | The server to check against |
string | $url | The url to check |
Definition at line 502 of file ParserOutput.php.
References check, http, https, in, is, link, links, of, or, query, and server.
Referenced by ParserOutputTest\testIsLinkInternal().
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 1035 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 865 of file ParserOutput.php.
ParserOutput::resetParseStartTime | ( | ) |
Resets the parse start timestamps for future calls to getTimeSinceStart()
Definition at line 955 of file ParserOutput.php.
ParserOutput::setCategoryLinks | ( | $cl | ) |
Definition at line 416 of file ParserOutput.php.
References wfSetVar().
Referenced by LinkHolderArray\doVariants().
ParserOutput::setDisplayTitle | ( | $text | ) |
Override the title to be used for display.
string | $text | Desired title text |
Definition at line 721 of file ParserOutput.php.
References setProperty(), and setTitleText().
ParserOutput::setEditSectionTokens | ( | $t | ) |
Definition at line 428 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 466 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 909 of file ParserOutput.php.
References $value.
ParserOutput::setFlag | ( | $flag | ) |
Fairly generic flag setter thingy.
string | $flag |
Definition at line 746 of file ParserOutput.php.
ParserOutput::setIndexPolicy | ( | $policy | ) |
Definition at line 432 of file ParserOutput.php.
References wfSetVar().
ParserOutput::setIndicator | ( | $id, | |
$content | |||
) |
ParserOutput::setLanguageLinks | ( | $ll | ) |
Definition at line 412 of file ParserOutput.php.
References wfSetVar().
ParserOutput::setLimitReportData | ( | $key, | |
$value | |||
) |
Sets parser limit report data for a key.
If $value consist of a list of two floats, it will be interpreted as (actual value, maximum allowed value). The presence of a "-" in $key will cause the first part of the key to be interpreted as a namespace.
string | $key | Data key |
mixed | $value | Data value One of (float, string, bool, JSON serializable array) |
Definition at line 990 of file ParserOutput.php.
ParserOutput::setNewSection | ( | $value | ) |
Definition at line 482 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:
Definition at line 814 of file ParserOutput.php.
Referenced by setDisplayTitle().
ParserOutput::setSections | ( | $toc | ) |
Definition at line 424 of file ParserOutput.php.
References wfSetVar().
ParserOutput::setSpeculativeRevIdUsed | ( | $id | ) |
ParserOutput::setText | ( | $text | ) |
Definition at line 408 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 440 of file ParserOutput.php.
References $timestamp, and wfSetVar().
ParserOutput::setTitleText | ( | $t | ) |
Definition at line 420 of file ParserOutput.php.
References $t, and wfSetVar().
Referenced by setDisplayTitle().
ParserOutput::setTOCEnabled | ( | $flag | ) |
Definition at line 444 of file ParserOutput.php.
References wfSetVar().
Referenced by ParserTest\runTest(), and NewParserTest\testParserTest().
ParserOutput::setTOCHTML | ( | $tochtml | ) |
Definition at line 436 of file ParserOutput.php.
References wfSetVar().
ParserOutput::unsetProperty | ( | $name | ) |
Definition at line 830 of file ParserOutput.php.
References $name.
|
private |
Definition at line 184 of file ParserOutput.php.
ParserOutput::$mCategories |
Definition at line 39 of file ParserOutput.php.
Referenced by getCategories().
ParserOutput::$mEditSectionTokens = false |
Definition at line 149 of file ParserOutput.php.
Referenced by getEditSectionTokens().
ParserOutput::$mEnableOOUI = false |
Definition at line 174 of file ParserOutput.php.
Referenced by getEnableOOUI().
|
private |
Definition at line 189 of file ParserOutput.php.
ParserOutput::$mExternalLinks = [] |
Definition at line 82 of file ParserOutput.php.
Referenced by getExternalLinks().
ParserOutput::$mFileSearchOptions = [] |
Definition at line 77 of file ParserOutput.php.
Referenced by getFileSearchOptions().
|
private |
Definition at line 207 of file ParserOutput.php.
ParserOutput::$mHeadItems = [] |
Definition at line 108 of file ParserOutput.php.
Referenced by getHeadItems().
ParserOutput::$mHideNewSection = false |
Definition at line 98 of file ParserOutput.php.
Referenced by getHideNewSection().
ParserOutput::$mImages = [] |
Definition at line 72 of file ParserOutput.php.
Referenced by getImages().
|
private |
Definition at line 179 of file ParserOutput.php.
Referenced by getIndexPolicy().
ParserOutput::$mIndicators = [] |
Definition at line 44 of file ParserOutput.php.
Referenced by getIndicators().
ParserOutput::$mInterwikiLinks = [] |
Definition at line 88 of file ParserOutput.php.
Referenced by getInterwikiLinks().
ParserOutput::$mJsConfigVars = [] |
Definition at line 128 of file ParserOutput.php.
Referenced by getJsConfigVars().
ParserOutput::$mLanguageLinks |
Definition at line 34 of file ParserOutput.php.
Referenced by getLanguageLinks().
|
private |
Definition at line 192 of file ParserOutput.php.
Referenced by getLimitReportData().
ParserOutput::$mLinks = [] |
Definition at line 55 of file ParserOutput.php.
Referenced by getLinks().
ParserOutput::$mModules = [] |
Definition at line 113 of file ParserOutput.php.
Referenced by getModules().
ParserOutput::$mModuleScripts = [] |
Definition at line 118 of file ParserOutput.php.
Referenced by getModuleScripts().
ParserOutput::$mModuleStyles = [] |
Definition at line 123 of file ParserOutput.php.
Referenced by getModuleStyles().
ParserOutput::$mNewSection = false |
Definition at line 93 of file ParserOutput.php.
Referenced by getNewSection().
ParserOutput::$mNoGallery = false |
Definition at line 103 of file ParserOutput.php.
Referenced by getNoGallery().
ParserOutput::$mOutputHooks = [] |
Definition at line 133 of file ParserOutput.php.
Referenced by getOutputHooks().
|
private |
Definition at line 197 of file ParserOutput.php.
|
private |
Definition at line 202 of file ParserOutput.php.
ParserOutput::$mProperties = [] |
Definition at line 154 of file ParserOutput.php.
Referenced by getProperties().
ParserOutput::$mSections = [] |
Definition at line 144 of file ParserOutput.php.
Referenced by getSections().
|
private |
Assumed rev ID for {{REVISIONID}} if no revision is set.
Definition at line 210 of file ParserOutput.php.
Referenced by getSpeculativeRevIdUsed().
ParserOutput::$mTemplateIds = [] |
Definition at line 67 of file ParserOutput.php.
Referenced by getTemplateIds().
ParserOutput::$mTemplates = [] |
Definition at line 61 of file ParserOutput.php.
Referenced by getTemplates().
ParserOutput::$mText |
Definition at line 28 of file ParserOutput.php.
Referenced by getRawText(), and getText().
ParserOutput::$mTimestamp |
Definition at line 164 of file ParserOutput.php.
Referenced by getTimestamp().
ParserOutput::$mTitleText |
Definition at line 49 of file ParserOutput.php.
Referenced by getTitleText().
ParserOutput::$mTOCEnabled = true |
Definition at line 169 of file ParserOutput.php.
Referenced by getTOCEnabled().
ParserOutput::$mTOCHTML = '' |
Definition at line 159 of file ParserOutput.php.
Referenced by getTOCHTML().
ParserOutput::$mWarnings = [] |
Definition at line 139 of file ParserOutput.php.
const ParserOutput::EDITSECTION_REGEX |
Definition at line 212 of file ParserOutput.php.
Referenced by getText(), and MediaWiki\Tidy\RaggettWrapper\getWrapped().