Freako F. Freakolowsky wrote:
I think it would be about time to start practicing
what we preach (like,
that MW is a great knowlagebase tool) and move all these comments to
mw.org database manual pages.
It's handy to have all those comments in the code, but to clutter the
schema abstraction code over those comments is just silly.
You want them out of the code entirely, or only in once place (e.g.
the mediawiki.schema file)? I'm all for the latter, especially as we
can also automate the updating of the MW pages once we have a sane,
machine-parseable schema in place.
Jeremy Postlethwaite wrote:
I'm open
to using something existing: did you have something
specific in mind? I didn't see anything out there that would
be less trouble to customize than rolling our own.
Doctrine does versioning of databases in PHP:
http://www.doctrine-project.org/
Yeah, it is interesting, but severe overkill for what we are
looking at here. I'm also loath to add another dependency, which
I'm sure at the end of the day we are going to have to
[monkey] patch anyway.
--
Greg Sabino Mullane greg(a)endpoint.com
End Point Corporation
PGP Key: 0x14964AC8