jimhu at tamu.edu
Sat Aug 25 16:08:24 UTC 2007
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
For the Vote extension, the table would become
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.
On Aug 25, 2007, at 9:40 AM, Rob Church wrote:
> 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
> 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