Skip to content

Commit

Permalink
Fix php code style in CreateWikiLogFormatter (#448)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
paladox and github-actions authored Oct 26, 2023
1 parent 7591287 commit b1453a5
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions includes/CreateWiki/CreateWikiLogFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ protected function getMessageParameters() {
);
}
} else {
$params[3] = str_replace( '#', '', $params[3] );

if ( !$this->plaintext ) {
// @phan-suppress-next-line SecurityCheck-DoubleEscaped
$params[3] = Message::rawParam( $linkRenderer->makeKnownLink(
Title::newFromText( SpecialPage::getTitleFor( 'RequestWikiQueue' ) . '/' . $params[3] ),
'#' . $params[3]
) );
} else {
$params[3] = Message::rawParam(
Title::newFromText( SpecialPage::getTitleFor( 'RequestWikiQueue' ) . '/' . $params[3] )->getPrefixedText()
);
}
$params[3] = str_replace( '#', '', $params[3] );

if ( !$this->plaintext ) {
// @phan-suppress-next-line SecurityCheck-DoubleEscaped
$params[3] = Message::rawParam( $linkRenderer->makeKnownLink(
Title::newFromText( SpecialPage::getTitleFor( 'RequestWikiQueue' ) . '/' . $params[3] ),
'#' . $params[3]
) );
} else {
$params[3] = Message::rawParam(
Title::newFromText( SpecialPage::getTitleFor( 'RequestWikiQueue' ) . '/' . $params[3] )->getPrefixedText()
);
}
}

return $params;
Expand Down

0 comments on commit b1453a5

Please sign in to comment.