Paladox has uploaded a new change for review.

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

Change subject: Fix viewing raw php files in diffusion
......................................................................

Fix viewing raw php files in diffusion

This fixes the problem whereby you go a view a raw php file but it asks
you to download instead.

Ive tested on my local machine and it works.

Change-Id: I2766149bf74125942e1de2520f936da1e84a0ef3
---
M modules/phabricator/data/fixed_settings.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/78/282478/1

diff --git a/modules/phabricator/data/fixed_settings.yaml 
b/modules/phabricator/data/fixed_settings.yaml
index a091cb4..6058853 100644
--- a/modules/phabricator/data/fixed_settings.yaml
+++ b/modules/phabricator/data/fixed_settings.yaml
@@ -29,7 +29,7 @@
   'audio/x-wav': 'audio/x-wav'
   'application/ogg': 'application/ogg'
   'audio/mpeg': 'audio/mpeg'
-  'text/x-php': 'text/x-php; charset=utf-8'
+  'text/x-php': 'text/plain; charset=utf-8'
 
 files.image-mime-types:
     'image/jpeg': true

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2766149bf74125942e1de2520f936da1e84a0ef3
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to