Merlijn van Deen has submitted this change and it was merged.

Change subject: Serve .txt files with mime-type text/plain
......................................................................


Serve .txt files with mime-type text/plain

Change-Id: I01339d398ce59f34e5bbfaff058c9b0bf9b4efb7
---
M www/index.php
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  Rush: Looks good to me, but someone else must approve
  Merlijn van Deen: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/www/index.php b/www/index.php
index 819a153..de28983 100644
--- a/www/index.php
+++ b/www/index.php
@@ -47,6 +47,9 @@
                        case 'css':
                                $mime = 'text/css';
                                break;
+                       case 'txt':
+                               $mime = 'text/plain';
+                               break;
                        case 'php':
                                $mime = 'application/x-httpd-php-source';
                                break;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I01339d398ce59f34e5bbfaff058c9b0bf9b4efb7
Gerrit-PatchSet: 1
Gerrit-Project: labs/toollabs
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Rush <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: coren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to