Subramanya Sastry has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/379809 )

Change subject: Bump src to 13972c9b + update linter config for scap & debian
......................................................................

Bump src to 13972c9b + update linter config for scap & debian

Change-Id: I6f8fe20137ac3950f3dd3fd1f3d539a6f9ca11da
---
M debian/config.yaml
M scap/templates/config.yaml.j2
M src
3 files changed, 9 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid/deploy 
refs/changes/09/379809/1

diff --git a/debian/config.yaml b/debian/config.yaml
index a8d64d2..22f1a35 100644
--- a/debian/config.yaml
+++ b/debian/config.yaml
@@ -81,8 +81,10 @@
 
         # Enable linting of some wikitext errors to the log
         #linting: true
-        # Send lint errors to MW API instead of to the log
-        #linterSendAPI: false
+        #linter:
+        #  sendAPI: false # Send lint errors to MW API instead of to the log
+        #  apiSampling: 1 # All requests are sampled
+        #  tidyWhitespaceBugMaxLength: 100
 
         # Require SSL certificates to be valid (default true)
         # Set to false when using self-signed SSL certificates
diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index c2218de..9cb1e85 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -48,7 +48,10 @@
       useBatchAPI: true
       usePHPPreProcessor: true
       linting: <%= linting %>
-      linterSendAPI: <%= linter_send_api %>
+      linter:
+        sendAPI: <%= linter_send_api %>
+        apiSampling: 1  # All requests, no sampling
+        tidyWhitespaceBugMaxLength: 100
 
       mwApiServer: <%= mwapi_server if mwapi_server else '' %>
       defaultAPIProxyURI: <%= mwapi_proxy if mwapi_proxy else '' %>
diff --git a/src b/src
index 05a0965..13972c9 160000
--- a/src
+++ b/src
@@ -1 +1 @@
-Subproject commit 05a09652402402c93c64ef899eb09ff825607c01
+Subproject commit 13972c9b9d0328e5810609774732d56ebf113112

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6f8fe20137ac3950f3dd3fd1f3d539a6f9ca11da
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid/deploy
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <[email protected]>

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

Reply via email to