Alex Monk has uploaded a new change for review. https://gerrit.wikimedia.org/r/225646
Change subject: Set up Norwegian language aliases for remaining sites ...................................................................... Set up Norwegian language aliases for remaining sites Wikipedia is literally the centre of the universe. Bug: T86924 Change-Id: I952011e484954d72a8c4643fa4191ae82c5a51f2 --- M modules/mediawiki/files/apache/sites/redirects.conf M modules/mediawiki/files/apache/sites/redirects/redirects.dat 2 files changed, 30 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/46/225646/1 diff --git a/modules/mediawiki/files/apache/sites/redirects.conf b/modules/mediawiki/files/apache/sites/redirects.conf index 7745207..3e70eee 100644 --- a/modules/mediawiki/files/apache/sites/redirects.conf +++ b/modules/mediawiki/files/apache/sites/redirects.conf @@ -271,6 +271,12 @@ ServerAlias jp.wikipedia.org ServerAlias jp.wikipedia.com ServerAlias nb.wikipedia.org + ServerAlias nb.wiktionary.org + ServerAlias nb.wikiquote.org + ServerAlias nb.wikibooks.org + ServerAlias nb.wikivoyage.org + ServerAlias nb.wikisource.org + ServerAlias nb.wikiversity.org ServerAlias pa.us.wikimedia.org ServerAlias arbcom.de.wikipedia.org ServerAlias arbcom.en.wikipedia.org @@ -634,6 +640,24 @@ # rewrite nb.wikipedia.org //no.wikipedia.org RewriteCond %{HTTP_HOST} =nb.wikipedia.org RewriteRule ^[^\x00-\x1F]* %{ENV:RW_PROTO}://no.wikipedia.org$0 [R=301,L,NE] + # rewrite nb.wiktionary.org //no.wiktionary.org + RewriteCond %{HTTP_HOST} =nb.wiktionary.org + RewriteRule ^[^\x00-\x1F]* %{ENV:RW_PROTO}://no.wiktionary.org$0 [R=301,L,NE] + # rewrite nb.wikiquote.org //no.wikiquote.org + RewriteCond %{HTTP_HOST} =nb.wikiquote.org + RewriteRule ^[^\x00-\x1F]* %{ENV:RW_PROTO}://no.wikiquote.org$0 [R=301,L,NE] + # rewrite nb.wikibooks.org //no.wikibooks.org + RewriteCond %{HTTP_HOST} =nb.wikibooks.org + RewriteRule ^[^\x00-\x1F]* %{ENV:RW_PROTO}://no.wikibooks.org$0 [R=301,L,NE] + # rewrite nb.wikivoyage.org //no.wikivoyage.org + RewriteCond %{HTTP_HOST} =nb.wikivoyage.org + RewriteRule ^[^\x00-\x1F]* %{ENV:RW_PROTO}://no.wikivoyage.org$0 [R=301,L,NE] + # 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.wikiversity.org //beta.wikiversity.org/wiki/Hovedside + RewriteCond %{HTTP_HOST} =nb.wikiversity.org + RewriteRule ^[^\x00-\x1F]* %{ENV:RW_PROTO}://beta.wikiversity.org/wiki/Hovedside$0 [R=301,L,NE] # rewrite pa.us.wikimedia.org //pa-us.wikimedia.org RewriteCond %{HTTP_HOST} =pa.us.wikimedia.org RewriteRule ^[^\x00-\x1F]* %{ENV:RW_PROTO}://pa-us.wikimedia.org$0 [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 d17de51..c185955 100644 --- a/modules/mediawiki/files/apache/sites/redirects/redirects.dat +++ b/modules/mediawiki/files/apache/sites/redirects/redirects.dat @@ -87,6 +87,12 @@ rewrite jp.wikipedia.org //ja.wikipedia.org rewrite jp.wikipedia.com //ja.wikipedia.org rewrite nb.wikipedia.org //no.wikipedia.org +rewrite nb.wiktionary.org //no.wiktionary.org +rewrite nb.wikiquote.org //no.wikiquote.org +rewrite nb.wikibooks.org //no.wikibooks.org +rewrite nb.wikivoyage.org //no.wikivoyage.org +rewrite nb.wikisource.org //no.wikisource.org +rewrite nb.wikiversity.org //beta.wikiversity.org/wiki/Hovedside # renamed chapter wiki - T40763 rewrite pa.us.wikimedia.org //pa-us.wikimedia.org -- To view, visit https://gerrit.wikimedia.org/r/225646 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I952011e484954d72a8c4643fa4191ae82c5a51f2 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