wfGetDB
Jump to navigation
Jump to search
wfGetDB is a PHP function in the MediaWiki code. It is defined in the GlobalFunctions.php file, and seems to return an object of type Database, defined in Database.php.
(It calls LBFactory, defined in LBFactory.php, to do this; the code is a little unclear.)