jimhu at tamu.edu
Fri Aug 24 16:05:46 UTC 2007
On Aug 24, 2007, at 10:19 AM, Brion Vibber wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Jim Hu wrote:
>> 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-
> I would strongly recommend using a table in the same database, rather
> than a table in a separate database. This will ease your life and the
> life of anyone trying to use and administer the system.
Um, OK. Now that I'm trying to use the MW database functions
properly, this is really becoming clear. Live and learn.
Unfortunately I have external tables with a gazillion rows... I guess
I can add it to the database. I'll have to write some update scripts
for the users who've installed the extension to migrate existing
stuff into the main database.
Was there ever a consensus on table naming for extensions adding to
the core schema?
> - -- brion vibber (brion @ wikimedia.org)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
Dept. of Biochemistry and Biophysics
Texas A&M Univ.
College Station, TX 77843-2128
More information about the MediaWiki-l