Dzahn has submitted this change and it was merged.

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(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/files/apache/sites/bugzilla.wikimedia.org 
b/files/apache/sites/bugzilla.wikimedia.org
index 19e763d..be45a6c 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$ https://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: merged
Gerrit-Change-Id: I78ea3f5148829710679bd9da513aa8b3e71bd49e
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to