19 'message',
'channel',
'level',
'type',
21 'url',
'ip',
'http_method',
'server',
'referrer',
23 'host',
'wiki',
'reqId',
'mwversion',
34 if ( $this->contextPrefix ) {
35 return parent::formatV0( $record );
38 $context = !empty( $record[
'context'] ) ? $record[
'context'] : [];
39 $record[
'context'] = [];
40 $formatted = parent::formatV0( $record );
52 if ( $this->contextPrefix ) {
53 return parent::formatV1( $record );
56 $context = !empty( $record[
'context'] ) ? $record[
'context'] : [];
57 $record[
'context'] = [];
58 $formatted = parent::formatV1( $record );
72 foreach (
$context as $key => $val ) {
74 in_array( $key, $this->reservedKeys,
true ) &&
75 isset( $fields[$key] ) && $fields[$key] !== $val
77 $fields[
'logstash_formatter_key_conflict'][] = $key;
91 if ( !
$e instanceof \Exception && !
$e instanceof \Throwable ) {
98 'message' =>
$e->getMessage(),
99 'code' =>
$e->getCode(),
100 'file' =>
$e->getFile() .
':' .
$e->getLine(),
101 'trace' => \MWExceptionHandler::getRedactedTraceAsString(
$e ),
104 $previous =
$e->getPrevious();
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
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
returning false will NOT prevent logging $e
$data
Utility to generate mapping file used in mw.Title (phpCharToUpper.json)
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))