How about prefixing with we to indicate it's a wiki extension table?
So, I would convert my box, row, and row_metadata tables trom the
TableEdit extenstion to
weTableEdit_box
weTableEdit_row
weTableEdit_row_metadata
For the Vote extension, the table would become
weVote
How does that sound? Or should we use an underscored prefix, e.g.
"ext_". I know there will never be hard and fast rules, but it seems
to me that if the core devs agree to some prefix that will not be
used for the core schema, then the extensions only have to worry
about conflicting with each other. And we could create a registry on
mediawiki.org for extension db tables.
Jim
On Aug 25, 2007, at 9:40 AM, Rob Church wrote:
On 24/08/07, Jim Hu <jimhu(a)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
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054