Last modified: 2006-06-24 21:17:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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.