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.