MaxSem has uploaded a new change for review.
https://gerrit.wikimedia.org/r/249009
Change subject: [WIP] Switch www.wikimedia.org to source control
......................................................................
[WIP] Switch www.wikimedia.org to source control
Change-Id: Ifb29e7d0f75425c0385a9e94565bad1680eb918d
Dependency: I65da92508264010c6ba3a7dff6ca809a6c367ec2
Bug: T115964
---
M modules/mediawiki/files/apache/sites/wikimedia.conf
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/09/249009/1
diff --git a/modules/mediawiki/files/apache/sites/wikimedia.conf
b/modules/mediawiki/files/apache/sites/wikimedia.conf
index c5dd463..2eca37e 100644
--- a/modules/mediawiki/files/apache/sites/wikimedia.conf
+++ b/modules/mediawiki/files/apache/sites/wikimedia.conf
@@ -128,7 +128,10 @@
RewriteRule . - [E=RW_PROTO:http]
# Main page portal
- RewriteRule ^/$ /w/extract2.php?template=Www.wikimedia.org_template [L]
+ RewriteRule ^/$ /portal/prod/wikimedia.org/index.html [L]
+ <Location "/">
+ Header set Cache-Control "s-maxage=3600, must-revalidate, max-age=0"
+ </Location>
# Redirects for country portals from the old URLs
RewriteRule ^/ch-portal/?$ http://wikipedia.ch/ [R=301,L]
--
To view, visit https://gerrit.wikimedia.org/r/249009
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb29e7d0f75425c0385a9e94565bad1680eb918d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: MaxSem <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits