[Mediawiki-l] $dbr->selectDB
Jim Hu
jimhu at tamu.edu
Fri Aug 24 15:10:51 UTC 2007
This is where having the TableEdit outside is coming back to bite me.
When I use $dbr->selectDB($wgTableEditDatabaseName), do I need to
include global $wgDBname all over the place and do $dbr->selectDB
($wgDBname) every time, or is there a better way that doesn't need to
use another global. i.e. is there something like $dbr-
>select_default_wikidb?
Thanks!
Jim
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
More information about the MediaWiki-l
mailing list