Awight has uploaded a new change for review.

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

Change subject: [WIP] Role for the ORES extension
......................................................................

[WIP] Role for the ORES extension

Also configures a test data source.

Bug: T118584
Bug: T118039
Change-Id: I486da642e67b369732dce2d4408e47eee67ff372
---
A puppet/modules/role/manifests/ores.pp
1 file changed, 19 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/11/259211/1

diff --git a/puppet/modules/role/manifests/ores.pp 
b/puppet/modules/role/manifests/ores.pp
new file mode 100644
index 0000000..8fba277
--- /dev/null
+++ b/puppet/modules/role/manifests/ores.pp
@@ -0,0 +1,19 @@
+# == Class: role::ores
+#
+# Install the MediaWiki ORES extension and configure in test data mode.
+# 
+# TODO:
+# - Also provision an ORES server.
+#
+class role::ores {
+    mediawiki::extension { 'ORES':
+        settings => {
+                       # Point at some fake data with flat probability 
distribution.
+                       wgOresWikiId => 'testwiki',
+
+                       # This parameter is supposed to be an array, but we're 
working
+                       # around T121378 and a limitation in the testwiki 
pseudomodels.
+            wgOresModels => 'damaging',
+        },
+    }
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I486da642e67b369732dce2d4408e47eee67ff372
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>

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

Reply via email to