More helpful error message if PHP_SELF isn't set
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 25 Jan 2009 01:31:48 +0000 (01:31 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 25 Jan 2009 01:31:48 +0000 (01:31 +0000)
commitbed65d358b551a4576679b8e7714c2e9bb66e037
treee209277ce449ca45677946dc9bb1d90e7709b491
parenta5bd1dee3088234c5b3089d71076bfd4a63e4b0a
More helpful error message if PHP_SELF isn't set

Raw page access was failing in some server configurations with CGI (or
in my case, FastCGI).  This gives a nicer and more correct error
message.  Possibly better solutions:

1) Figure out how to do this without PHP_SELF.

2) Give a warning or error on installation, or even on every page view,
since this will break all raw page viewing.

I ran into this when doing a file copy of my wiki install to another
site, FWIW.  Even with the new error message, I'd have had to look at
the CSS files to figure out what the problem was (the user-visible
symptom was that custom styles didn't work).
RELEASE-NOTES
includes/RawPage.php