Florianschmidtwelzow has uploaded a new change for review. https://gerrit.wikimedia.org/r/262134
Change subject: Replace wfMsg* calls ...................................................................... Replace wfMsg* calls Bug: T70750 Change-Id: I16127cc8377f8b0391859aa0d2814ee532011f9c --- M Checkpoint.php 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Checkpoint refs/changes/34/262134/1 diff --git a/Checkpoint.php b/Checkpoint.php index 861b95c..cabd908 100644 --- a/Checkpoint.php +++ b/Checkpoint.php @@ -31,8 +31,8 @@ 'id' => 'wpCheckpoint', 'name' => 'wpCheckpoint', 'type' => 'submit', - 'value' => wfMsg( 'checkpoint' ), - 'title' => wfMsg( 'checkpoint-tooltip' ), + 'value' => wfMessage( 'checkpoint' )->text(), + 'title' => wfMessage( 'checkpoint-tooltip' )->text(), ); $buttons['checkpoint'] = Xml::element( 'input', $attr, '' ); return true; @@ -49,7 +49,7 @@ $oldtext = $article->getRawText(); // current revision $summary = $article->getAutosummary( $oldtext, $text, $flags ); } - $summary .= wfMsg( 'word-separator' ) . wfMsg( 'checkpoint-notice' ); + $summary .= wfMessage( 'word-separator' )->text() . wfMessage( 'checkpoint-notice' )->text(); } return true; } -- To view, visit https://gerrit.wikimedia.org/r/262134 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I16127cc8377f8b0391859aa0d2814ee532011f9c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Checkpoint Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits