https://bugzilla.wikimedia.org/show_bug.cgi?id=42989

       Web browser: ---
            Bug ID: 42989
           Summary: Gerrit: show link for raw file content in gerrit
                    "diff" views (a solution is proposed inside)
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Git/Gerrit
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Ryan K. wrote:

"I found a solution to the problem:

If a gerrit administrator declares the mimetypes of the files to be safe they
will be displayed in-browser rather than downloaded as zip files:
https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#_a_id_mimetype_a_section_mimetype

Could someone edit the gerrit.config file to declare php, javascript, and css
files as 'safe'?"


see http://lists.wikimedia.org/pipermail/wikitech-l/2012-December/065013.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to