Hi, Mangus! This is good news. Would it be possible not to name this table "validate", if this is all it will contain, and instead something like "article_votes"? Otherwise, could there also be a text field associated with each vote?
I hold out hope that a validation table will be associated with some form of 'validation' which associates a text field with each "validation"/"review" (perhaps a numerical vote like this; perhaps distinct from such votes).
--Sj--
On Sun, 18 Jul 2004 22:54:42 +0200, Magnus Manske magnus.manske@web.de wrote:
I have put some preliminary code for article validation into CVS HEAD.
You'll need to add the table "validate" (tables.sql) to the DB. Then, (for "Main Page", as example) go to index.php?title=Special:Validate&article=Main_Page
Every logged-in user can "vote"
- for every article
- in multiple versions
- in multiple categories
- in a variable range (so far, 1-5 points per category)
This offers maximum flexibility, but can be "dumbed down" to a single yes/no decision. No database entry equals the "no opinion" choice.
I hard-coded the available choices into SpecialValidate.php, but that can be moved to the language files,
So far, *no* way of extracting that information exists. Some statistic output is likely to be my next attempt.
The special page is also *not* linked from the articles yet. I'd prefer a "tab" like edit, history and the like instead of the special page, but I didn't look into the coding just yet.
That's it for today :-) Magnus _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l