Physikerwelt has uploaded a new change for review.
https://gerrit.wikimedia.org/r/270860
Change subject: Rename config option speech_on
......................................................................
Rename config option speech_on
* Formally called speechOn
Change-Id: Iba934d3b7d6a13686abe674088b36aa16382aec8
---
M config.dev.yaml
M config.prod.yaml
M routes/mathoid.js
3 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mathoid
refs/changes/60/270860/1
diff --git a/config.dev.yaml b/config.dev.yaml
index 2344f6e..b9709ca 100644
--- a/config.dev.yaml
+++ b/config.dev.yaml
@@ -65,4 +65,4 @@
png: true #new feature
speech: true #new feature
texvcinfo: true
- speechOn: true
+ speech_on: true
diff --git a/config.prod.yaml b/config.prod.yaml
index 8144b32..7d7d35c 100644
--- a/config.prod.yaml
+++ b/config.prod.yaml
@@ -37,4 +37,4 @@
img: true
texvcinfo: true
speech: true
- sppechOn: false
+ speech_on: false
diff --git a/routes/mathoid.js b/routes/mathoid.js
index b951c8e..c7e9c48 100644
--- a/routes/mathoid.js
+++ b/routes/mathoid.js
@@ -139,7 +139,7 @@
*/
router.post('/:outformat?/', function (req, res) {
var outFormat;
- var speech = app.conf.speechOn;
+ var speech = app.conf.speech_on;
// First some rudimentary input validation
if (!(req.body.q)) {
emitError("q (query) post parameter is missing!");
--
To view, visit https://gerrit.wikimedia.org/r/270860
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iba934d3b7d6a13686abe674088b36aa16382aec8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mathoid
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits