Mvolz has uploaded a new change for review.

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

Change subject: Change string used by extension to identify itself
......................................................................

Change string used by extension to identify itself

Change ve.ui.CiteFromIdInspector.static.templateDataName
from a string identifying the path to the more general
string 'citoid', which is used as a key in TemplateData
to identify the appropriate Map in the 'maps' object.

Change-Id: I8cc6b10e4e34f878c09f7290b2adefa159dc7c08
---
M modules/ve.ui.CiteFromIdInspector.js
1 file changed, 1 insertion(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Citoid 
refs/changes/54/195954/1

diff --git a/modules/ve.ui.CiteFromIdInspector.js 
b/modules/ve.ui.CiteFromIdInspector.js
index 23d7d58..df4b690 100644
--- a/modules/ve.ui.CiteFromIdInspector.js
+++ b/modules/ve.ui.CiteFromIdInspector.js
@@ -34,9 +34,7 @@
 ve.ui.CiteFromIdInspector.static.size = 'large';
 
 // The string used in TemplateData to identify the correct Map object
-
-// TODO: Replace this to a more general string "Citoid"
-ve.ui.CiteFromIdInspector.static.templateDataName = 
'extension/Citoid/ve.ui.CiteFromIDDialog';
+ve.ui.CiteFromIdInspector.static.templateDataName = 'citoid';
 
 // The requested format from the citoid client, passed as a GET parameter
 ve.ui.CiteFromIdInspector.static.citoidFormat = 'mediawiki';

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8cc6b10e4e34f878c09f7290b2adefa159dc7c08
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Citoid
Gerrit-Branch: master
Gerrit-Owner: Mvolz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to