[MediaWiki-commits] [Gerrit] mediawiki...deploy[master]: [Config] Block Module namespace rerenders.

2017-08-17 Thread Mobrovac (Code Review)
Mobrovac has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/372462 )

Change subject: [Config] Block Module namespace rerenders.
..


[Config] Block Module namespace rerenders.

The 828 Module namespace is used to store the Scribunto
Lua scripts which are counted as a dependency on any page
that accessed them during parsing creating enormous update chains.

The output of these scripts is dynamic, so edot of the script
shouldn't really provoke a rerender of all the pages using it -
it shouldn't be expected due to the dynamic nature of this.

Change-Id: Ibcee40c1768a71b1070afc591f89a1a745e51124
---
M scap/templates/config.yaml.j2
1 file changed, 13 insertions(+), 2 deletions(-)

Approvals:
  Mobrovac: Verified; Looks good to me, approved



diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 4f2af31..563aed7 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -201,6 +201,11 @@
   - meta:
   domain: /\.wikidata\.org$/
 page_namespace: 120
+# Block Scribunto Module dependencies as they create a lot 
of load
+# with supposingly very low actual effect
+  - meta:
+  domain: '/wiktionary\.org$/'
+page_namespace: 828
 exec:
   - method: get
 uri: '<%= restbase_uri 
%>/{{message.meta.domain}}/v1/page/html/{message.page_title}/{{message.rev_id}}'
@@ -352,8 +357,14 @@
   meta:
 schema_uri: 'continue/1'
 match_not:
-  meta:
-domain: ceb.wikipedia.org
+  - meta:
+  domain: ceb.wikipedia.org
+  - original_event:
+  # Block Scribunto Module dependencies as they create 
a lot of load
+  # with supposingly very low actual effect
+  meta:
+domain: '/wiktionary\.org$/'
+  page_namespace: 828
 exec:
   method: post
   uri: 
'/sys/links/transcludes/{message.original_event.page_title}'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibcee40c1768a71b1070afc591f89a1a745e51124
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/services/change-propagation/deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko 
Gerrit-Reviewer: Mobrovac 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...deploy[master]: [Config] Block Module namespace rerenders.

2017-08-17 Thread Ppchelko (Code Review)
Ppchelko has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/372462 )

Change subject: [Config] Block Module namespace rerenders.
..

[Config] Block Module namespace rerenders.

The 828 Module namespace is used to store the Scribunto
Lua scripts which are counted as a dependency on any page
that accessed them during parsing creating enormous update chains.

The output of these scripts is dynamic, so edot of the script
shouldn't really provoke a rerender of all the pages using it -
it shouldn't be expected due to the dynamic nature of this.

Change-Id: Ibcee40c1768a71b1070afc591f89a1a745e51124
---
M scap/templates/config.yaml.j2
1 file changed, 9 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/services/change-propagation/deploy 
refs/changes/62/372462/1

diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 4f2af31..c3603fa 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -201,6 +201,9 @@
   - meta:
   domain: /\.wikidata\.org$/
 page_namespace: 120
+# Block Scribunto Module dependencies as they create a lot 
of load
+# with supposingly very low actual effect
+  - page_namespace: 828:
 exec:
   - method: get
 uri: '<%= restbase_uri 
%>/{{message.meta.domain}}/v1/page/html/{message.page_title}/{{message.rev_id}}'
@@ -352,8 +355,12 @@
   meta:
 schema_uri: 'continue/1'
 match_not:
-  meta:
-domain: ceb.wikipedia.org
+  - meta:
+  domain: ceb.wikipedia.org
+  - original_event:
+  # Block Scribunto Module dependencies as they create 
a lot of load
+  # with supposingly very low actual effect
+  page_namespace: 828
 exec:
   method: post
   uri: 
'/sys/links/transcludes/{message.original_event.page_title}'

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibcee40c1768a71b1070afc591f89a1a745e51124
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/change-propagation/deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits