Thread:User talk:Krenair/Linking to a raw file on Git/reply

Hi. I definitely know my way around Gitweb and Gerrit as well to some extent. Just change "f=INSTALL" to "f=/includes/Parameter.php". Unfortunately because the file type is PHP it'll try to download the file instead of display it. This happens even if the file is in the root directory, and I'm not sure if there's a way to force display on screen.

What you might like to do instead is this: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Validator.git;a=blob;f=includes/Parameter.php;hb=HEAD