Matthias Mullie has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/350125 )
Change subject: Turn $wg3dProcessor into an array of arguments
......................................................................
Turn $wg3dProcessor into an array of arguments
This got escaped as 1 very long argument, but it's actually
several distinct arguments which all need to be escaped
separately.
Change-Id: I3d47220cc3a273db1f5962d58a4636b0f4db3cdd
---
M wmf-config/CommonSettings-labs.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/25/350125/1
diff --git a/wmf-config/CommonSettings-labs.php
b/wmf-config/CommonSettings-labs.php
index 14442de..3677d24 100644
--- a/wmf-config/CommonSettings-labs.php
+++ b/wmf-config/CommonSettings-labs.php
@@ -370,7 +370,7 @@
// Add 3d media viewer extension
$wgMediaViewerExtensions['stl'] = 'mmv.3d';
- $wg3dProcessor = '/usr/bin/xvfb-run -a -s "-ac -screen 0 1280x1024x24"
/srv/deployment/3d2png/deploy/src/3d2png.js';
+ $wg3dProcessor = ['/usr/bin/xvfb-run', '-a', '-s', '-ac -screen 0
1280x1024x24' ,'/srv/deployment/3d2png/deploy/src/3d2png.js'];
}
} # end safeguard
--
To view, visit https://gerrit.wikimedia.org/r/350125
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3d47220cc3a273db1f5962d58a4636b0f4db3cdd
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits