ArielGlenn has uploaded a new change for review.

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

Change subject: dataset: add redirect for fundraising data and link on web page
......................................................................

dataset: add redirect for fundraising data and link on web page

Change-Id: I128819940a7eec48cdee2e1ce8c190e000eab811
---
M modules/dataset/files/html/other_index.html
M modules/dumps/templates/nginx.dumps.conf.erb
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/38/230738/1

diff --git a/modules/dataset/files/html/other_index.html 
b/modules/dataset/files/html/other_index.html
index fe2bcc4..39a386d 100644
--- a/modules/dataset/files/html/other_index.html
+++ b/modules/dataset/files/html/other_index.html
@@ -127,6 +127,7 @@
                        <a href="scanset/">1911 Edition of the Encyclopedia 
Britannica, scanned as tiff files</a><br />
                        <a href="wep/">User signup data for the Wikipedia 
Education Program</a><br />
                        <a href="bugzilla/">Sanitized Bugzilla database 
dump</a><br />
+                       <a href="fundraising/">Per day aggregate WMF 
fundraising donation totals, amounts, and other statistics</a><br />
                        <a href="misc/">Miscellaneous - Phabricator and SVN 
dumps</a>
                        <div class="visualClear"></div>
                </div>
diff --git a/modules/dumps/templates/nginx.dumps.conf.erb 
b/modules/dumps/templates/nginx.dumps.conf.erb
index 715f2bf..e3a0c61 100644
--- a/modules/dumps/templates/nginx.dumps.conf.erb
+++ b/modules/dumps/templates/nginx.dumps.conf.erb
@@ -25,6 +25,7 @@
 
    rewrite ^/other/(iOS|PlayBook|win8|android)(|/.*)$ 
$scheme://releases.wikimedia.org/mobile/$1$2  break;
    rewrite ^/(other/)?mediawiki(|/.*)$                
$scheme://releases.wikimedia.org/mediawiki$2 break;
+   rewrite ^/fundraising(/.*_)$                       /other/fundraising$1 
permanent;
 
    # for now we proxy for html (openzim style) dumps
    location /htmldumps {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I128819940a7eec48cdee2e1ce8c190e000eab811
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>

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

Reply via email to