Page MenuHomeWickedGov Phorge

InterwikiLogFormatter.php
No OneTemporary

Size
529 B
Referenced Files
None
Subscribers
None

InterwikiLogFormatter.php

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

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 16:48 (11 h, 17 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
52/13/1e874a406aa8fe41a539321cac5b
Default Alt Text
InterwikiLogFormatter.php (529 B)

Event Timeline