Dzahn has uploaded a new change for review.

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


Change subject: add RewriteRule for Bugzilla, page.cgi?id=bug-writing.html to 
http://www.mediawiki.org/wiki/How_to_report_a_bug (bug 45271)
......................................................................

add RewriteRule for Bugzilla, page.cgi?id=bug-writing.html to
http://www.mediawiki.org/wiki/How_to_report_a_bug (bug 45271)

Change-Id: I78ea3f5148829710679bd9da513aa8b3e71bd49e
---
M files/apache/sites/bugzilla.wikimedia.org
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/99/78499/1

diff --git a/files/apache/sites/bugzilla.wikimedia.org 
b/files/apache/sites/bugzilla.wikimedia.org
index 19e763d..cd999b3 100644
--- a/files/apache/sites/bugzilla.wikimedia.org
+++ b/files/apache/sites/bugzilla.wikimedia.org
@@ -110,6 +110,9 @@
 RewriteEngine On
 RewriteRule ^/(\d+)$ https://bugzilla.wikimedia.org/show_bug.cgi?id=$1 [R]
 
+RewriteCond %{QUERY_STRING} ^(id=bug-writing.html)$
+RewriteRule /page\.cgi$ http://www.mediawiki.org/wiki/How_to_report_a_bug? 
[R=303]
+
 </VirtualHost>
 
 <VirtualHost *:80>

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

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

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

Reply via email to