Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1428912
InterwikiLogFormatter.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
529 B
Referenced Files
None
Subscribers
None
InterwikiLogFormatter.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 16:48 (11 h, 27 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
52/13/1e874a406aa8fe41a539321cac5b
Default Alt Text
InterwikiLogFormatter.php (529 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment