38 if ( isset( $params[5] ) && $params[5] ) {
39 $key =
'logentry-patrol-patrol-auto';
41 $key =
'logentry-patrol-patrol';
48 $params = parent::getMessageParameters();
50 $target = $this->entry->getTarget();
52 $revision = $this->context->getLanguage()->formatNumNoSeparators( $oldid );
54 if ( $this->plaintext ) {
56 } elseif ( $target->exists() ) {
61 $revlink = $this->
getLinkRenderer()->makeLink( $target, $revision, [], $query );
63 $revlink = htmlspecialchars( $revision );
80 '4::curid' =>
'4:number:curid',
81 '5::previd' =>
'5:number:previd',
82 '6::auto' =>
'6:bool:auto',
84 foreach ( $map as $index => $key ) {
85 if ( isset( $params[$index] ) ) {
86 $params[$key] = $params[$index];
87 unset( $params[$index] );
96class_alias( PatrolLogFormatter::class,
'PatrolLogFormatter' );
getParameters()
Get the extra parameters stored for this message.