From 30ef8243086840c7f26ed600bc7afd3c76ca91f2 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Thu, 4 Jan 2024 07:23:37 +0100 Subject: [PATCH] Fix deprecated string interpolation. Fixes https://www.mediawiki.org/wiki/Topic:Xwfopidoqfv9r291 --- includes/Special.php | 16 ++++++++-------- linktitles-cli.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/includes/Special.php b/includes/Special.php index 6887c71..5d12834 100644 --- a/includes/Special.php +++ b/includes/Special.php @@ -181,7 +181,7 @@ class Special extends \SpecialPage { $submitButtonLabel = $this->msg( 'linktitles-special-submit' ); $output->addHTML( << +
@@ -206,8 +206,8 @@ EOF $output->addHTML( // TODO: do not use the style attribute (to make it work with CSP-enabled sites) << - ${percent}% -
+ {$percent}% +
EOF ); @@ -226,10 +226,10 @@ EOF private function getReloaderForm( $url, $start, $end, $reloads ) { return << - - - +
+ + +