On Tue, Dec 10, 2002 at 02:54:49PM -0800, Brion Vibber wrote:
On Tue, 2002-12-10 at 05:43, Jonathan Walther wrote:
For the second one, don't we just need to check the existance and type of the linked pages? Why bother about the size?
For the stub detector. (Optional.)
Ah. I was assuming that empty articles wouldn't exist unless they had been purposely cleared in an edit war. *cough*RK*cough*
We do also need to get the size of the primary page.
What for? We parse it until we hit the null byte at the end.
Even though we are storing the text in UTF-8? Is that safe?
What do the "restrictions" on a page consist of? Whether it is readable or editable?
Currently, a comma-separated list of string keys which a user's user_rights field must contain to be allowed to edit the page.
Ok, fair enough. It is the permissions scheme that I was hoping could be redesigned, but I agree some sort of permissions scheme is needed.
A note about searching: with Postgres we can just set up the UTF-8 collation on the article text fields, and then we can use LIKE clauses to search for text in the articles and titles, and the characters will be collated correctly, without any extra coding on our part. Another reason I am eager to use Postgres. The search engine will be trivial.
Jonathan