https://bugzilla.wikimedia.org/show_bug.cgi?id=33917
Web browser: ---
Bug #: 33917
Summary: load.php should return 500 if cannot connect to db
Product: MediaWiki
Version: 1.19-svn
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: Resource Loader
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
If load.php cannot connect to db, it returns the same html page as index.php
does, and has a status code of 200.
I think the more expected behaviour would be to return the status 500 (probably
should do that for index.php too) and just have a comment /* Could not connect
to db */ instead of outputting html (although if outputting a 500 error code,
returning html isn't as bad).
Discovered on [[mw:Thread:Project:Support desk/Edit toolbar is not there.
Broken]]
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l