MediaWiki master
InterwikiLogFormatter.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Logging;
4
6
17 protected function getMessageParameters() {
18 $params = parent::getMessageParameters();
19 // Needed to pass the URL as a raw parameter, because it contains $1
20 if ( isset( $params[4] ) ) {
21 $params[4] = Message::rawParam( htmlspecialchars( $params[4] ) );
22 }
23 return $params;
24 }
25}
26
28class_alias( InterwikiLogFormatter::class, 'InterwikiLogFormatter' );
LogFormatter for interwiki/* logs.
Implements the default log formatting.
The Message class deals with fetching and processing of interface message into a variety of formats.
Definition Message.php:144