MediaWiki
REL1_34
InterwikiLogFormatter.php
Go to the documentation of this file.
1
<?php
2
6
class
InterwikiLogFormatter
extends
LogFormatter
{
11
protected
function
getMessageParameters
() {
12
$params = parent::getMessageParameters();
13
if
( isset( $params[4] ) ) {
14
$params[4] =
Message::rawParam
( htmlspecialchars( $params[4] ) );
15
}
16
return
$params;
17
}
18
}
InterwikiLogFormatter
Needed to pass the URL as a raw parameter, because it contains $1.
Definition
InterwikiLogFormatter.php:6
InterwikiLogFormatter\getMessageParameters
getMessageParameters()
Definition
InterwikiLogFormatter.php:11
LogFormatter
Implements the default log formatting.
Definition
LogFormatter.php:38
Message\rawParam
static rawParam( $raw)
Definition
Message.php:1027
extensions
Interwiki
includes
InterwikiLogFormatter.php
Generated on Mon Nov 25 2024 16:04:37 for MediaWiki by
1.10.0