Last modified: 2012-10-30 15:24:06 UTC
Very very unimportant issue. Special:version links to /w/CREDITS but out apaches server it as the wrong mime type (presumably because it has no extension)
*** Bug 40641 has been marked as a duplicate of this bug. ***
Copying my comment from bug 40641: Yep. It links to the CREDITS file on the installation. Since it has no .txt extension the servers sends it with an unknown MIME type so the browser doesn't know how to interpret it and prompts the user to download it. That's very weird. We're using the latest web standards like HTML5, CSS and JavaScript and we're using a plaintext file for that? What about a link to the MediaWiki.org site where all those names are listed on a nice wiki page? Although it may be inconsistent across different MediaWiki versions.
Would there be any harm in simply changing DefaultType to text/html in operations/puppet.git/files/apache/apache2.conf.appserver?
It's not text/html, it's text/plain. And I suspect that would be only for WMF wikis. What about other installations? Adding a .txt extension would prevent the "download" dialog without any extra configuration change.
Uh, yeah, text/plain. It would only be for WMF wikis. It's already working on my setup and I don't think I've changed anything. Other wikis will have to fix their webserver configuration if it's broken (unless we do rename those files to .txt).
> > That's very weird. We're using the latest web standards like HTML5, CSS and > JavaScript and we're using a plaintext file for that? Its traditional for such a file to be plaintext... Personally I'm more concerned for wmf wikis. Its a very minor thing, so I don't think it matters that much for other wikis.
>Its traditional for such a file to be plaintext... Or at least its traditional to have such a file when looking at the source code. Perhaps we should have a special page that simply takes that file, and outputs it (surrounded by normal skin stuff). That would also work for people who only expose certain entry points to the outside world (Since we do that (try looking up http://www.mediawiki.org/w/README, its not hard to imagine some would not expose CREDITS). As an aside, whomever made that be a link in the first place did it slightly wrong. "Others" is also linked in the extension credits (for example in secure poll), which is inappropriate
(In reply to comment #7) > >Its traditional for such a file to be plaintext... > > Or at least its traditional to have such a file when looking at the source > code. Perhaps we should have a special page that simply takes that file, and > outputs it (surrounded by normal skin stuff). That would also work for people > who only expose certain entry points to the outside world (Since we do that > (try looking up http://www.mediawiki.org/w/README, its not hard to imagine some > would not expose CREDITS). > > As an aside, whomever made that be a link in the first place did it slightly > wrong. "Others" is also linked in the extension credits (for example in secure > poll), which is inappropriate I agree, hence I've no idea why bug 40641 has been closed.
See also Gerrit change #13847?
I believe this has been made irrelevant by the new [[Special:Version/Credits]] that Special:Version now links to instead of the raw file. The issue will fix itself with the deployment of 1.21wmf3.