Exempt wikibase redirects from being rewritten to wiki pages
authorTom Hughes <tom@compton.nu>
Wed, 28 Nov 2018 22:48:31 +0000 (22:48 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 28 Nov 2018 22:48:31 +0000 (22:48 +0000)
cookbooks/mediawiki/templates/default/apache.erb

index 37977a4..7aba975 100644 (file)
   RewriteCond %{REQUEST_URI} !^/images/
   RewriteCond %{REQUEST_URI} !^/api\.php$
   RewriteCond %{REQUEST_URI} !^/opensearch_desc\.php$
+  RewriteCond %{REQUEST_URI} !^/entity/
+  RewriteCond %{REQUEST_URI} !^/value/
+  RewriteCond %{REQUEST_URI} !^/reference/
+  RewriteCond %{REQUEST_URI} !^/prop/  
   RewriteCond %{REQUEST_URI} !^/server-status
   RewriteCond %{REQUEST_URI} !^/.well-known/
   RewriteCond %{LA-U:REQUEST_FILENAME} !-f