On Thu, Apr 19, 2012 at 12:17 PM, Platonides Platonides@gmail.com wrote:
On 19/04/12 11:11, Petr Bena wrote:
That seems to be a lot of work which isn't needed. If we just prefixed the tables we wouldn't need to make a list of names which are already taken, because they would never conflict
Some db engines have limitations in the number of characters of table names. I think Oracle was the worst offender, with a 30 character limit. It's preferable to have a table named "lst_sections" than "LabeledSectionTransclusion_sec" (hitting the length limit). Plus, we should also keep some space for a possible $wgDBPrefix.
It may be interesting to store the tables used in $wgExtensionCredits, though.
Please, let's not pollute $wgExtensionCredits with this. When we overhaul extension installation/management, extensions should register these sorts of things there.
For now...is this an active problem, or are we just looking for one?
-Chad