Last modified: 2006-06-24 21:17:18 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 T7903, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5903 - action=raw doesn't return empty file for nonexistent MediaWiki:Common.css
action=raw doesn't return empty file for nonexistent MediaWiki:Common.css
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.7.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://simple.wikiquote.org/w/index.p...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-11 01:56 UTC by Cesar Eduardo Barros
Modified: 2006-06-24 21:17 UTC (History)
0 users

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


Attachments

Description Cesar Eduardo Barros 2006-05-11 01:56:26 UTC
On a wiki without a MediaWiki:Common.css, action=raw (as called by the skin)
returns the strange content "<Common.css>" instead of an empty file,
resulting in an error on Firefox's JavaScript Console ("Error: Unexpected end of
file while searching for closing } of invalid rule set.").

*A nonexistent MediaWiki page should either return an empty file or a 404 error
(or both) when requested with action=raw
*Either the skin should not request MediaWiki:Common.css when it doesn't exist,
or an empty one should be created (MediaWiki default) (doing either would have
avoided this bug)
Comment 1 Cesar Eduardo Barros 2006-05-11 01:59:08 UTC
Related to bug 4880
Comment 2 Rob Church 2006-06-24 21:17:18 UTC
Fixed as part of r15015.

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


Navigation
Links