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 <ppche...@wikimedia.org>
Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org>

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

Reply via email to