[Mediawiki-l] before I release TableEdit 0.7
Michael Daly
michaeldaly at kayakwiki.org
Sat Jul 28 22:27:41 UTC 2007
Jim Hu wrote:
> But it seems like that was a
> bad idea, especially if one wants two instances on the same mysql
> server... which I discovered I do want.
You have, I think, the info you need to create a table within the local
Wiki database. $wgDBserver, $wgDBname, $wgDBuser and $wgDBpassword gets
you into the database and
$wgDBprefix
will tell you which unique DB prefix is used for multiple wikis.
Therefore, you can create a table with the name of
$wgDBprefix.tableEditTableName and even if the user has two instances in
the same MySQL, it will not conflict.
Mike
More information about the MediaWiki-l
mailing list