Page MenuHomeWickedGov Phorge

InterwikiLogFormatter.php
No OneTemporary

Size
669 B
Referenced Files
None
Subscribers
None

InterwikiLogFormatter.php

<?php
namespace MediaWiki\Logging;
use MediaWiki\Message\Message;
/**
* LogFormatter for interwiki/* logs
*
* @since 1.44
*/
class InterwikiLogFormatter extends LogFormatter {
/**
* @return array
* @suppress SecurityCheck-DoubleEscaped taint-check bug
*/
protected function getMessageParameters() {
$params = parent::getMessageParameters();
// Needed to pass the URL as a raw parameter, because it contains $1
if ( isset( $params[4] ) ) {
$params[4] = Message::rawParam( htmlspecialchars( $params[4] ) );
}
return $params;
}
}
/** @deprecated class alias since 1.44 */
class_alias( InterwikiLogFormatter::class, 'InterwikiLogFormatter' );

File Metadata

Mime Type
text/x-php
Expires
Tue, Dec 8, 03:50 (1 d, 10 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
13/09/92c929d5ce5311806bc65f18b3cc
Default Alt Text
InterwikiLogFormatter.php (669 B)

Event Timeline