[Mediawiki-l] $dbr->selectDB

Platonides Platonides at gmail.com
Sat Aug 25 21:08:33 UTC 2007

Rob Church wrote:
> On 25/08/07, Michael Daly wrote:
>> But $wgDBprefix should be applied to all tables.  If you have a wiki
>> family sharing MySQL, the only differentiation between each member of
>> the family is the relative value of $wgDBprefix.  Hence the end result is
> This statement seems to assume that "wiki families" all exist in the
> same database, which is an odd assumption.
> Rob Church

He meant "a wiki family sharing the same MySQL table". I see it much 
less odd than the statement that "we don't add any wt prefix to 
MediaWiki Database tables because we have $wgDBprefix."

More information about the MediaWiki-l mailing list