Skip to content

Commit

Permalink
Make the reason on the ManageWiki log link to the request that caused…
Browse files Browse the repository at this point in the history
… the change

This makes it more like CreateWiki in that aspect
  • Loading branch information
redbluegreenhat committed Feb 27, 2024
1 parent 9e4bf7d commit 40ea5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/RequestSSLManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public function logToManageWiki( User $user ) {
$logEntry = new ManualLogEntry( 'managewiki', 'settings' );
$logEntry->setPerformer( $user );
$logEntry->setTarget( SpecialPage::getTitleValueFor( 'RequestSSLQueue', (string)$this->ID ) );
$logEntry->setComment( $this->messageLocalizer->msg( 'requestssl-managewiki-changedservername' ) );
$logEntry->setComment( "[[Special:RequestSSLQueue/{$this->ID}|Requested]]" );
$logEntry->setParameters( [ '4::wiki' => $this->getTarget(), '5::changes' => 'servername' ] );
$logID = $logEntry->insert();
$logEntry->publish( $logID );
Expand Down

0 comments on commit 40ea5eb

Please sign in to comment.