2nd-player has uploaded a new change for review.
https://gerrit.wikimedia.org/r/255083
Change subject: Substitute {{SITENAME}} in the title of dialogs
......................................................................
Substitute {{SITENAME}} in the title of dialogs
Bug: T62695
Change-Id: I7e5378b37e66b8b35bb7b3aa2121eea3cbf1defd
---
M modules/jquery.wikiEditor.dialogs.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiEditor
refs/changes/83/255083/1
diff --git a/modules/jquery.wikiEditor.dialogs.js
b/modules/jquery.wikiEditor.dialogs.js
index 2524807..d9bea92 100644
--- a/modules/jquery.wikiEditor.dialogs.js
+++ b/modules/jquery.wikiEditor.dialogs.js
@@ -135,7 +135,7 @@
if ( typeof configuration.modal === 'undefined' ) {
configuration.modal = true;
}
- configuration.title = $.wikiEditor.autoMsg( module,
'title' );
+ configuration.title = $.wikiEditor.autoMsg( module,
'title' ).replace(/\{\{SITENAME\}\}/i, mw.config.get( 'wgSiteName' ));
// Transform messages in keys
// Stupid JS won't let us do stuff like
// foo = { mw.msg( 'bar' ): baz }
--
To view, visit https://gerrit.wikimedia.org/r/255083
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7e5378b37e66b8b35bb7b3aa2121eea3cbf1defd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiEditor
Gerrit-Branch: master
Gerrit-Owner: 2nd-player <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits