Paladox has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/315269

Change subject: Replace wgWikiEditorEnabledModules with 
mw.config.get('wgWikiEditorEnabledModules')
......................................................................

Replace wgWikiEditorEnabledModules with 
mw.config.get('wgWikiEditorEnabledModules')

Bug: T147840
Change-Id: Iec6acce6b23a3cf18481066280f018b622c573e8
(cherry picked from commit f4c9c128a49a131766f140f8de1efc2790abc647)
---
M libs/SF_wikieditor.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticForms 
refs/changes/69/315269/1

diff --git a/libs/SF_wikieditor.js b/libs/SF_wikieditor.js
index 8527081..68a60e7 100644
--- a/libs/SF_wikieditor.js
+++ b/libs/SF_wikieditor.js
@@ -17,7 +17,7 @@
                                                input.wikiEditor( 'addModule', 
jQuery.wikiEditor.modules.toolbar.config.getDefaultConfig() );
 
                                                // hide sig if required
-                                               if ( wgWikiEditorEnabledModules 
&& wgWikiEditorEnabledModules.hidesig === true ) {
+                                               if ( mw.config.get( 
'wgWikiEditorEnabledModules' ) && mw.config.get( 
'wgWikiEditorEnabledModules.hidesig' ) === true ) {
                                                        input.wikiEditor( 
'removeFromToolbar', {
                                                                'section': 
'main',
                                                                'group': 
'insert',

-- 
To view, visit https://gerrit.wikimedia.org/r/315269
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iec6acce6b23a3cf18481066280f018b622c573e8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: REL1_26
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to