On Die, 2002-11-19 at 11:24, Jonathan Walther wrote:
My question remains, do we need namespaces for any
other reason than to
know whether the row represents an article, binary, or discussion?
As has already been noted, namespaces are also used for User pages and
Wikipedia-specific pages. I don't think there's much sense in splitting
stuff up into separate tables, or adding these types of pages as
properties (how is that cleaner than what we have now?). As for storing
binaries in tables, this is not desirable with our current config (table
is already too big), and probably not desirable with PostgreSQL (we only
have your word on performance, and having them as files has various
advantages).
Having the names of the namespaces in the code may not look very clean,
but it actually is, because we need them in various translations ("Talk"
is called "Diskussion" in the German WP etc.), and it's better to have
all localization stuff in one place (Language*.php). If this is properly
documented, I don't see a problem.
Can we stick to the "if it's not broken, don't fix it" rule? If you
want
to work on mod_wiki, I think it would be better to do it on a separate
mailing list (I'd actually be interested in that). If you want to help
with the PostgreSQL port of Wikipedia, we should focus on the table
structure, fulltext search, MySQLisms etc. It would probably be the most
efficient for one PostgreSQL expert to just convert everything that's
necessary and then put the code+db dump somewhere, then we can work on a
conversion script.
Other than that, we have many urgent issues, like fixing the current IP
blocking mechanism and giving sysops better tools to restore vandalized
pages.
Regards,
Erik
--
FOKUS - Fraunhofer Insitute for Open Communication Systems
Project BerliOS -
http://www.berlios.de