Last modified: 2011-05-14 16:02:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30937, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28937 - The /* Empty */ comment inserted by RawPage::getArticleText should be localizable
The /* Empty */ comment inserted by RawPage::getArticleText should be localiz...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-11 18:12 UTC by Helder
Modified: 2011-05-14 16:02 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2011-05-11 18:12:30 UTC
Currently, if a user of a non-english wiki goes to a page like
http://pt.wikipedia.org/w/index.php?title=MediaWiki:InexistentScript.js&action=raw&ctype=text/javascript
he gets the following:

/* Empty */

I think the text inserted inside this comment should be in the site language, not always in English.
Comment 1 Brion Vibber 2011-05-11 18:17:44 UTC
This text is actually included as a workaround for Internet Explorer 5 for Macintosh, which got confused by 0-byte output and kept trying to download, thus blocking other stuff in the browser.

It could as easily be '/* */', and may actually be acceptable to just drop by now. (IE/Mac is pretty much dead these days, and if we're loading user/site JS/CSS via ResourceLoader it's not a case that'll regularly come up anymore.)

Looks like some extensions might still be loading supplementary CSS pages like MediaWiki:GeSHi.css via action=raw though, those should get cleaned up.
Comment 2 Niklas Laxström 2011-05-11 18:28:48 UTC
I agree with brion. The comment should be removed if possible. Otherwise it can be as it is.
Comment 3 Siebrand Mazeland 2011-05-14 16:02:16 UTC
Special case for IE5 on OS9 was removed in r88100. Nothing to localise anymore.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links