Skip to content

Commit

Permalink
Merge "curation toolbar: fix contentLanguageMessage is not a function…
Browse files Browse the repository at this point in the history
… error"
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Jul 7, 2023
2 parents fe8cbc1 + 0b36197 commit 0ad8795
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/ext.pageTriage.views.toolbar/tags.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// view for displaying tags

const { contentLanguageMessage } = require( 'ext.pageTriage.util' );
const ToolView = require( './ToolView.js' );
const config = require( './config.json' );
// Used to keep track of what actions we want to invoke, and with what data.
Expand Down Expand Up @@ -705,7 +706,7 @@ module.exports = ToolView.extend( {
);

const pageName = mw.config.get( 'wgPageName' ).replace( /_/g, ' ' );
const topicTitle = mw.pageTriage.contentLanguageMessage(
const topicTitle = contentLanguageMessage(
'pagetriage-tags-talk-page-notify-topic-title',
pageName
).text();
Expand Down

0 comments on commit 0ad8795

Please sign in to comment.