[Mediawiki-l] $dbr->selectDB

Rob Church robchur at gmail.com
Sat Aug 25 14:40:55 UTC 2007


On 24/08/07, Jim Hu <jimhu at tamu.edu> wrote:
> Was there ever a consensus on table naming for extensions adding to
> the core schema?

There's no hard-and-fast rules, but I'd recommend picking a name that
isn't going to conflict with any other possible use of a table by the
same name, where that table would be named according to common sense.

You might prefix the table names with the name of the extension, for
instance. If it's just one table, having the table name be the same
*as* the extension is probably good idea.


Rob Church



More information about the MediaWiki-l mailing list