Alex Monk has uploaded a new change for review. https://gerrit.wikimedia.org/r/225831
Change subject: Also add redirect for nowikinews ...................................................................... Also add redirect for nowikinews Which does not yet exist. Bug: T86924 Change-Id: Ia58b9d76cca6615f33d5fbab7223d1574bf2d1da --- M modules/mediawiki/files/apache/sites/redirects.conf M modules/mediawiki/files/apache/sites/redirects/redirects.dat 2 files changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/31/225831/1 diff --git a/modules/mediawiki/files/apache/sites/redirects.conf b/modules/mediawiki/files/apache/sites/redirects.conf index b6ddd14..fc0858b 100644 --- a/modules/mediawiki/files/apache/sites/redirects.conf +++ b/modules/mediawiki/files/apache/sites/redirects.conf @@ -276,6 +276,7 @@ ServerAlias nb.wikibooks.org ServerAlias nb.wikivoyage.org ServerAlias nb.wikisource.org + ServerAlias nb.wikinews.org ServerAlias nb.wikiversity.org ServerAlias pa.us.wikimedia.org ServerAlias arbcom.de.wikipedia.org @@ -655,6 +656,9 @@ # rewrite nb.wikisource.org //no.wikisource.org RewriteCond %{HTTP_HOST} =nb.wikisource.org RewriteRule ^[^\x00-\x1F]* %{ENV:RW_PROTO}://no.wikisource.org$0 [R=301,L,NE] + # rewrite nb.wikinews.org //no.wikinews.org + RewriteCond %{HTTP_HOST} =nb.wikinews.org + RewriteRule ^[^\x00-\x1F]* %{ENV:RW_PROTO}://no.wikinews.org$0 [R=301,L,NE] # funnel nb.wikiversity.org //beta.wikiversity.org/wiki/Hovedside RewriteCond %{HTTP_HOST} =nb.wikiversity.org RewriteRule . %{ENV:RW_PROTO}://beta.wikiversity.org/wiki/Hovedside [R=301,L,NE] diff --git a/modules/mediawiki/files/apache/sites/redirects/redirects.dat b/modules/mediawiki/files/apache/sites/redirects/redirects.dat index 291ec1a..a3c0e7f 100644 --- a/modules/mediawiki/files/apache/sites/redirects/redirects.dat +++ b/modules/mediawiki/files/apache/sites/redirects/redirects.dat @@ -92,6 +92,7 @@ rewrite nb.wikibooks.org //no.wikibooks.org rewrite nb.wikivoyage.org //no.wikivoyage.org rewrite nb.wikisource.org //no.wikisource.org +rewrite nb.wikinews.org //no.wikinews.org funnel nb.wikiversity.org //beta.wikiversity.org/wiki/Hovedside # renamed chapter wiki - T40763 -- To view, visit https://gerrit.wikimedia.org/r/225831 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia58b9d76cca6615f33d5fbab7223d1574bf2d1da Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Alex Monk <kren...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits