Remove nasty ancient global $title (at least $wgTitle is easier to grep for), its...
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 4 Jan 2011 00:42:48 +0000 (00:42 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 4 Jan 2011 00:42:48 +0000 (00:42 +0000)
commit617395c33d234c44db797ae88ffefee094282979
treed5a9c96ec48bd46da20b56c84d36e3a3763d98ec
parent0243ff103f37cfd8b3a0bd6d16050b879e878e75
Remove nasty ancient global $title (at least $wgTitle is easier to grep for), its no longer set since r78512. Afaict, this generic-named global is no longer in core.

It's not a title object, it's a string of what title= in the URL. If you want that, use WebRequest::getText() or something. Using this string is *wrong* and any extensions should be fixed (I didn't check because $title is a PITA to grep for). Don't backport to 1.17 because this is trivial, harmless, and may Break Something.

(Also made fileCachedPage private since it has no outside callers and I can't see any reason why you should)
includes/db/Database.php