Go to the documentation of this file.
224 '#<(?:mw:)?editsection page="(.*?)" section="(.*?)"(?:/>|>(.*?)(</(?:mw:)?editsection>))#s';
244 public function __construct( $text =
'', $languageLinks = [], $categoryLinks = [],
245 $unused =
false, $titletext =
''
247 $this->mText = $text;
248 $this->mLanguageLinks = $languageLinks;
249 $this->mCategories = $categoryLinks;
250 $this->mTitleText = $titletext;
264 return ( $this->mText !==
null );
276 if ( $this->mText ===
null ) {
277 throw new LogicException(
'This ParserOutput contains no text!' );
311 'enableSectionEditLinks' =>
true,
313 'deduplicateStyles' =>
true,
324 if (
$options[
'enableSectionEditLinks'] ) {
325 $text = preg_replace_callback(
326 self::EDITSECTION_REGEX,
329 $editsectionSection = htmlspecialchars_decode( $m[2] );
330 $editsectionContent = isset( $m[4] ) ? Sanitizer::decodeCharReferences( $m[3] ) :
null;
332 if ( !is_object( $editsectionPage ) ) {
333 throw new MWException(
"Bad parser output text." );
337 return $context->getSkin()->doEditSectionLink(
347 $text = preg_replace( self::EDITSECTION_REGEX,
'', $text );
351 $text = str_replace( [ Parser::TOC_START, Parser::TOC_END ],
'', $text );
353 $text = preg_replace(
354 '#' . preg_quote( Parser::TOC_START,
'#' ) .
'.*?' . preg_quote( Parser::TOC_END,
'#' ) .
'#s',
360 if (
$options[
'deduplicateStyles'] ) {
362 $text = preg_replace_callback(
363 '#<style\s+([^>]*data-mw-deduplicate\s*=[^>]*)>.*?</style>#s',
364 function ( $m )
use ( &$seen ) {
365 $attr = Sanitizer::decodeTagAttributes( $m[1] );
366 if ( !isset( $attr[
'data-mw-deduplicate'] ) ) {
370 $key = $attr[
'data-mw-deduplicate'];
371 if ( !isset( $seen[$key] ) ) {
381 'rel' =>
'mw-deduplicated-inline-style',
390 $text = preg_replace_callback(
391 '#<mw:slotheader>(.*?)</mw:slotheader>#',
393 $role = htmlspecialchars_decode( $m[1] );
409 $this->mWrapperDivClasses[$class] =
true;
417 $this->mWrapperDivClasses = [];
428 return implode(
' ', array_keys( $this->mWrapperDivClasses ) );
436 $this->mSpeculativeRevId = $id;
456 return array_keys( $this->mCategories );
512 $this->mNoGallery = (bool)
$value;
547 return array_keys( $this->mWarnings );
586 return wfSetVar( $this->mText, $text );
590 return wfSetVar( $this->mLanguageLinks, $ll );
594 return wfSetVar( $this->mCategories, $cl );
602 return wfSetVar( $this->mSections, $toc );
614 return wfSetVar( $this->mIndexPolicy, $policy );
618 return wfSetVar( $this->mTOCHTML, $tochtml );
622 return wfSetVar( $this->mTimestamp, $timestamp );
634 $this->mCategories[$c] =
$sort;
654 $this->mEnableOOUI = $enable;
658 $this->mLanguageLinks[] =
$t;
662 $this->mWarnings[
$s] = 1;
666 $this->mOutputHooks[] = [ $hook, $data ];
670 $this->mNewSection = (bool)
$value;
673 $this->mHideNewSection = (bool)
$value;
690 return (
bool)preg_match(
'/^' .
692 ( substr( $internal, 0, 2 ) ===
'//' ?
'(?:https?:)?' :
'' ) .
693 preg_quote( $internal,
'/' ) .
701 # We don't register links pointing to our own server, unless... :-)
704 # Replace unnecessary URL escape codes with the referenced character
705 # This prevents spammers from hiding links from the filters
706 $url = Parser::normalizeLinkUrl( $url );
708 $registerExternalLink =
true;
712 if ( $registerExternalLink ) {
713 $this->mExternalLinks[$url] = 1;
724 if (
$title->isExternal() ) {
729 $ns =
$title->getNamespace();
730 $dbk =
$title->getDBkey();
738 } elseif ( $dbk ===
'' ) {
742 if ( !isset( $this->mLinks[$ns] ) ) {
743 $this->mLinks[$ns] = [];
745 if ( is_null( $id ) ) {
746 $id =
$title->getArticleID();
748 $this->mLinks[$ns][$dbk] = $id;
758 $this->mImages[
$name] = 1;
759 if ( $timestamp !==
null && $sha1 !==
null ) {
760 $this->mFileSearchOptions[
$name] = [
'time' => $timestamp,
'sha1' => $sha1 ];
771 $ns =
$title->getNamespace();
772 $dbk =
$title->getDBkey();
773 if ( !isset( $this->mTemplates[$ns] ) ) {
774 $this->mTemplates[$ns] = [];
776 $this->mTemplates[$ns][$dbk] = $page_id;
777 if ( !isset( $this->mTemplateIds[$ns] ) ) {
778 $this->mTemplateIds[$ns] = [];
780 $this->mTemplateIds[$ns][$dbk] = $rev_id;
788 if ( !
$title->isExternal() ) {
789 throw new MWException(
'Non-interwiki link passed, internal parser error.' );
791 $prefix =
$title->getInterwiki();
792 if ( !isset( $this->mInterwikiLinks[$prefix] ) ) {
793 $this->mInterwikiLinks[$prefix] = [];
795 $this->mInterwikiLinks[$prefix][
$title->getDBkey()] = 1;
806 if ( $tag !==
false ) {
817 $this->mModules = array_merge( $this->mModules, (
array)
$modules );
825 $this->mModuleScripts = array_merge( $this->mModuleScripts, (
array)
$modules );
832 $this->mModuleStyles = array_merge( $this->mModuleStyles, (
array)
$modules );
843 if ( is_array(
$keys ) ) {
845 $this->mJsConfigVars[$key] =
$value;
864 $this->mHeadItems = array_merge( $this->mHeadItems,
$out->getHeadItemsArray() );
865 $this->mPreventClickjacking = $this->mPreventClickjacking ||
$out->getPreventClickjacking();
885 if (
$title->isSpecialPage() ) {
886 wfDebug( __METHOD__ .
": Not adding tracking category $msg to special page!\n" );
893 ->inContentLanguage()
896 # Allow tracking categories to be disabled by setting them to "-"
897 if ( $cat ===
'-' ) {
902 if ( $containerCategory ) {
906 wfDebug( __METHOD__ .
": [[MediaWiki:$msg]] is not a valid title!\n" );
948 $this->mFlags[$flag] =
true;
952 return isset( $this->mFlags[$flag] );
1028 return $this->mProperties[
$name] ??
false;
1032 unset( $this->mProperties[
$name] );
1036 if ( !isset( $this->mProperties ) ) {
1037 $this->mProperties = [];
1048 if ( !isset( $this->mAccessedOptions ) ) {
1051 return array_keys( $this->mAccessedOptions );
1067 $this->mAccessedOptions[$option] =
true;
1112 unset( $this->mExtensionData[$key] );
1114 $this->mExtensionData[$key] =
$value;
1130 if ( isset( $this->mExtensionData[$key] ) ) {
1131 return $this->mExtensionData[$key];
1139 if ( !$clock || $clock ===
'wall' ) {
1140 $ret[
'wall'] = microtime(
true );
1142 if ( !$clock || $clock ===
'cpu' ) {
1145 $ret[
'cpu'] = $ru[
'ru_utime.tv_sec'] + $ru[
'ru_utime.tv_usec'] / 1e6;
1146 $ret[
'cpu'] += $ru[
'ru_stime.tv_sec'] + $ru[
'ru_stime.tv_usec'] / 1e6;
1172 if ( !isset( $this->mParseStartTime[$clock] ) ) {
1177 return $end[$clock] - $this->mParseStartTime[$clock];
1200 $this->mLimitReportData[$key] =
$value;
1202 if ( is_array(
$value ) ) {
1203 if ( array_keys(
$value ) === [ 0, 1 ]
1204 && is_numeric(
$value[0] )
1205 && is_numeric(
$value[1] )
1207 $data = [
'value' =>
$value[0],
'limit' =>
$value[1] ];
1215 if ( strpos( $key,
'-' ) ) {
1216 list( $ns,
$name ) = explode(
'-', $key, 2 );
1217 $this->mLimitReportJSData[$ns][
$name] = $data;
1219 $this->mLimitReportJSData[$key] = $data;
1247 return wfSetVar( $this->mPreventClickjacking, $flag );
1257 $this->mMaxAdaptiveExpiry = min( $ttl, $this->mMaxAdaptiveExpiry );
1267 if ( is_infinite( $this->mMaxAdaptiveExpiry ) ) {
1272 if ( is_float( $runtime ) ) {
1274 / ( self::PARSE_SLOW_SEC - self::PARSE_FAST_SEC );
1276 $point = self::SLOW_AR_TTL - self::PARSE_SLOW_SEC * $slope;
1279 max( $slope * $runtime + $point, self::MIN_AR_TTL ),
1280 $this->mMaxAdaptiveExpiry
1288 array_keys( get_object_vars( $this ) ),
1289 [
'mParseStartTime' ]
1303 $this->mTimestamp = $this->
useMaxValue( $this->mTimestamp,
$source->getTimestamp() );
1305 if ( $this->mSpeculativeRevId &&
$source->mSpeculativeRevId
1306 && $this->mSpeculativeRevId !==
$source->mSpeculativeRevId
1309 'Inconsistent speculative revision ID encountered while merging parser output!'
1314 $this->mSpeculativeRevId,
1315 $source->getSpeculativeRevIdUsed()
1318 $this->mParseStartTime,
1326 if ( empty( $this->mLimitReportData ) ) {
1327 $this->mLimitReportData =
$source->mLimitReportData;
1329 if ( empty( $this->mLimitReportJSData ) ) {
1330 $this->mLimitReportJSData =
$source->mLimitReportJSData;
1348 $this->mMaxAdaptiveExpiry = min( $this->mMaxAdaptiveExpiry,
$source->mMaxAdaptiveExpiry );
1351 if ( $this->mIndexPolicy ===
'noindex' ||
$source->mIndexPolicy ===
'noindex' ) {
1352 $this->mIndexPolicy =
'noindex';
1353 } elseif ( $this->mIndexPolicy !==
'index' ) {
1354 $this->mIndexPolicy =
$source->mIndexPolicy;
1358 $this->mNewSection = $this->mNewSection ||
$source->getNewSection();
1359 $this->mHideNewSection = $this->mHideNewSection ||
$source->getHideNewSection();
1360 $this->mNoGallery = $this->mNoGallery ||
$source->getNoGallery();
1361 $this->mEnableOOUI = $this->mEnableOOUI ||
$source->getEnableOOUI();
1362 $this->mPreventClickjacking = $this->mPreventClickjacking ||
$source->preventClickjacking();
1365 $this->mSections = array_merge( $this->mSections,
$source->getSections() );
1366 $this->mTOCHTML = $this->mTOCHTML .
$source->mTOCHTML;
1370 if ( $this->mTitleText ===
null || $this->mTitleText ===
'' ) {
1371 $this->mTitleText =
$source->mTitleText;
1376 $this->mWrapperDivClasses,
1387 $this->mExtensionData,
1407 $this->mFileSearchOptions,
1408 $source->getFileSearchOptions()
1412 $this->mInterwikiLinks,
1424 $this->mExtensionData,
1430 return array_unique( array_merge( $a, $b ), SORT_REGULAR );
1434 return array_values( array_unique( array_merge( $a, $b ), SORT_REGULAR ) );
1438 return array_replace( $a, $b );
1443 $keys = array_merge( array_keys( $a ), array_keys( $b ) );
1446 if ( empty( $a[$k] ) ) {
1447 $values[$k] = $b[$k];
1448 } elseif ( empty( $b[$k] ) ) {
1449 $values[$k] = $a[$k];
1450 } elseif ( is_array( $a[$k] ) && is_array( $b[$k] ) ) {
1451 $values[$k] = array_replace( $a[$k], $b[$k] );
1453 $values[$k] = $b[$k];
1462 $keys = array_merge( array_keys( $a ), array_keys( $b ) );
1465 if ( is_array( $a[$k] ??
null ) && is_array( $b[$k] ??
null ) ) {
1476 if ( $a ===
null ) {
1480 if ( $b ===
null ) {
1484 return min( $a, $b );
1488 if ( $a ===
null ) {
1492 if ( $b ===
null ) {
1496 return max( $a, $b );
$mWrapperDivClasses
string CSS classes to use for the wrapping div, stored in the array keys.
addOutputPageMetadata(OutputPage $out)
Copy items from the OutputPage object into this one.
static mergeMap(array $a, array $b)
getCacheExpiry()
Returns the number of seconds after which this object should expire.
static newFromText( $text, $defaultNamespace=NS_MAIN)
Create a new Title from text, such as what one would find in a link.
setSpeculativeRevIdUsed( $id)
const SUPPORTS_UNWRAP_TRANSFORM
Parser cache specific expiry check.
addModuleScripts( $modules)
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on and they can depend only on the ResourceLoaderContext $context
resetParseStartTime()
Resets the parse start timestamps for future calls to getTimeSinceStart()
setDisplayTitle( $text)
Override the title to be used for display.
setTimestamp( $timestamp)
getUsedOptions()
Returns the options from its ParserOptions which have been taken into account to produce this output.
static mergeMixedList(array $a, array $b)
setLimitReportData( $key, $value)
Sets parser limit report data for a key.
wfSetVar(&$dest, $source, $force=false)
Sets dest to source and returns the original value of dest If source is NULL, it just returns the val...
static merge2D(array $a, array $b)
addWrapperDivClass( $class)
Add a CSS class to use for the wrapping div.
array $mLimitReportJSData
Parser limit report data for JSON.
setIndicator( $id, $content)
addTemplate( $title, $page_id, $rev_id)
Register a template dependency for this output.
wfUrlencode( $s)
We want some things to be included as literal characters in our title URLs for prettiness,...
mergeTrackingMetaDataFrom(ParserOutput $source)
Merges dependency tracking metadata such as backlinks, images used, and extension data from $source i...
setFlag( $flag)
Fairly generic flag setter thingy.
usually copyright or history_copyright This message must be in HTML not wikitext if the section is included from a template to be included in the link
addLink(Title $title, $id=null)
Record a local or interwiki inline link for saving in future link tables.
int $mMaxAdaptiveExpiry
Upper bound of expiry based on parse duration.
__construct( $text='', $languageLinks=[], $categoryLinks=[], $unused=false, $titletext='')
wfLogWarning( $msg, $callerOffset=1, $level=E_USER_WARNING)
Send a warning as a PHP error and the debug log.
Apache License January http
This document provides an overview of the usage of PageUpdater and that is
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring php
static mergeList(array $a, array $b)
scripts txt MediaWiki primary scripts are in the root directory of the software Users should only use these scripts to access the wiki There are also some php that aren t primary scripts but helper files and won t work if they are accessed directly by the web Primary see https
wfGetRusage()
Get system resource usage of current request context.
namespace and then decline to actually register it file or subcat img or subcat $title
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
static isLinkInternal( $internal, $url)
Checks, if a url is pointing to the own server.
mergeHtmlMetaDataFrom(ParserOutput $source)
Merges HTML metadata such as head items, JS config vars, and HTTP cache control info from $source int...
updateRuntimeAdaptiveExpiry( $ttl)
Lower the runtime adaptive TTL to at most this value.
null for the wiki Added in
addImage( $name, $timestamp=null, $sha1=null)
Register a file dependency for this output.
$wgParserCacheExpireTime
The expiry time for the parser cache, in seconds.
static getTimes( $clock=null)
as see the revision history and available at free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use
static useMaxValue( $a, $b)
const SUPPORTS_STATELESS_TRANSFORMS
Feature flags to indicate to extensions that MediaWiki core supports and uses getText() stateless tra...
addModuleStyles( $modules)
mergeInternalMetaDataFrom(ParserOutput $source)
Merges internal metadata such as flags, accessed options, and profiling info from $source into this P...
getDisplayTitle()
Get the title to be used for display.
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections and Diff initially an empty< div id="toolbar"></div > Hook subscribers can return false to have no toolbar HTML be loaded overridable Default is either copyrightwarning or copyrightwarning2 overridable Default is editpage tos summary such as anonymity and the real check
setEditSectionTokens( $t)
wfDebug( $text, $dest='all', array $context=[])
Sends a line to the debug log if enabled or, optionally, to a comment in output.
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global list
recordOption( $option)
Tags a parser option for use in the cache key for this parser output.
addOutputHook( $hook, $data=false)
This document describes the XML format used to represent information about external sites known to a MediaWiki installation This information about external sites is used to allow inter wiki links
Allows to change the fields on the form that will be generated $name
clearWrapperDivClass()
Clears the CSS class to use for the wrapping div, effectively disabling the wrapper div until addWrap...
static makeTitleSafe( $ns, $title, $fragment='', $interwiki='')
Create a new Title from a namespace index and a DB key.
setProperty( $name, $value)
Set a property to be stored in the page_props database table.
static runWithoutAbort( $event, array $args=[], $deprecatedVersion=null)
Call hook functions defined in Hooks::register and $wgHooks.
setExtensionData( $key, $value)
Attaches arbitrary data to this ParserObject.
$wgServer
URL of the server.
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses & $ret
static getMain()
Get the RequestContext object associated with the main request.
Represents a title within MediaWiki.
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped & $options
usually copyright or history_copyright This message must be in HTML not wikitext if the section is included from a template $section
addJsConfigVars( $keys, $value=null)
Add one or more variables to be set in mw.config in JavaScript.
hasText()
Returns true if text was passed to the constructor, or set using setText().
getRawText()
Get the cacheable text with <mw:editsection> markers still in it.
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such as
static rawElement( $element, $attribs=[], $contents='')
Returns an HTML element in a string.
static useMinValue( $a, $b)
updateCacheExpiry( $seconds)
Sets the number of seconds after which this object should expire.
addTrackingCategory( $msg, $title)
Add a tracking category, getting the title from a system message, or print a debug message if the tit...
static useEachMinValue(array $a, array $b)
getExtensionData( $key)
Gets extensions data previously attached to this ParserOutput using setExtensionData().
globals txt Globals are evil The original MediaWiki code relied on globals for processing context far too often MediaWiki development since then has been a story of slowly moving context out of global variables and into objects Storing processing context in object member variables allows those objects to be reused in a much more flexible way Consider the elegance of
getText( $options=[])
Get the output HTML.
static element( $element, $attribs=[], $contents='')
Identical to rawElement(), but HTML-escapes $contents (like Xml::element()).
addInterwikiLink( $title)
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation use $formDescriptor instead default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a set this to the key of the message First element is the message additional optional elements are parameters for the key that are processed with wfMessage() -> params() ->parseAsBlock() - offset Set to overwrite offset parameter in $wgRequest set to '' to unset offset - wrap String Wrap the message in html(usually something like "<
$wgRegisterInternalExternals
By default MediaWiki does not register links pointing to same server in externallinks dataset,...
int null $mSpeculativeRevId
Assumed rev ID for {{REVISIONID}} if no revision is set.
hasDynamicContent()
Check whether the cache TTL was lowered due to dynamic content.
addHeadItem( $section, $tag=false)
Add some text to the "<head>".
setEnableOOUI( $enable=false)
Enables OOUI, if true, in any OutputPage instance this ParserOutput object is added to.
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such and we might be restricted by PHP settings such as safe mode or open_basedir We cannot assume that the software even has read access anywhere useful Many shared hosts run all users web applications under the same so they can t rely on Unix and must forbid reads to even standard directories like tmp lest users read each others files We cannot assume that the user has the ability to install or run any programs not written as web accessible PHP scripts Since anything that works on cheap shared hosting will work if you have shell or root access MediaWiki s design is based around catering to the lowest common denominator Although we support higher end setups as the way many things work by default is tailored toward shared hosting These defaults are unconventional from the point of view of and they certainly aren t ideal for someone who s installing MediaWiki as MediaWiki does not conform to normal Unix filesystem layout Hopefully we ll offer direct support for standard layouts in the but for now *any change to the location of files is unsupported *Moving things and leaving symlinks will *probably *not break but it is *strongly *advised not to try any more intrusive changes to get MediaWiki to conform more closely to your filesystem hierarchy Any such attempt will almost certainly result in unnecessary bugs The standard recommended location to install relative to the web is it should be possible to enable the appropriate rewrite rules by if you can reconfigure the web server
finalizeAdaptiveCacheExpiry()
Call this when parsing is done to lower the TTL based on low parse times.
getSpeculativeRevIdUsed()
getTimeSinceStart( $clock)
Returns the time since resetParseStartTime() was last called.
getWrapperDivClass()
Returns the class (or classes) to be used with the wrapper div for this otuput.
preventClickjacking( $flag=null)
Get or set the prevent-clickjacking flag.
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is and will automatically terminate your rights under this License parties who have received or from you under this License will not have their licenses terminated so long as such parties remain in full compliance You are not required to accept this since you have not signed it nothing else grants you permission to modify or distribute the Program or its derivative works These actions are prohibited by law if you do not accept this License by modifying or distributing the you indicate your acceptance of this License to do and all its terms and conditions for distributing or modifying the Program or works based on it Each time you redistribute the the recipient automatically receives a license from the original licensor to distribute or modify the Program subject to these terms and conditions You may not impose any further restrictions on the recipients exercise of the rights granted herein You are not responsible for enforcing compliance by third parties to this License If
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output $out