In LocalSettings.php make $wgDBname='SomeNonExistentDatabaseName';
Now browse http://your.wiki/
You will get this cryptic error:
Fatal error: Call to a member function selectRow() on a non-object in /var/lib/mediawiki-1.11.0/includes/User.php on line 759
The program probably never expected all to go well except for $wgDBname.
It would be much better to do some error checking and say "$wgDBname
problem" instead of letting get all the way to that point, saying
"Can't get into room 1403", when in fact the problem is really
"Entire State of Louisiana gone."
Version: unspecified
Severity: minor