Mattflaschen has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/375098 )
Change subject: Note that namemsg also works for custom action button text.
......................................................................
Note that namemsg also works for custom action button text.
Change-Id: I95fd7f41ab1b0717de1e04fc896a00c2746eb423
---
M modules/ext.guidedTour.lib/ext.guidedTour.lib.Step.js
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GuidedTour
refs/changes/98/375098/1
diff --git a/modules/ext.guidedTour.lib/ext.guidedTour.lib.Step.js
b/modules/ext.guidedTour.lib/ext.guidedTour.lib.Step.js
index 0490351..a7d085b 100644
--- a/modules/ext.guidedTour.lib/ext.guidedTour.lib.Step.js
+++ b/modules/ext.guidedTour.lib/ext.guidedTour.lib.Step.js
@@ -184,6 +184,8 @@
* * currently 'next', 'back', okay', or 'end'
* * @param {Function} button.callback Function to call if they click
the button
* * @param {HTMLElement} button.callback.btn Raw DOM element of the
button
+ * * @param {string} [button.namemsg] Message key of button text to
override
+ * * default.
* * @param {string} [button.name] Button text to override default.
*
* @return {Object} Guiders button specification
--
To view, visit https://gerrit.wikimedia.org/r/375098
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I95fd7f41ab1b0717de1e04fc896a00c2746eb423
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GuidedTour
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits