Revision [20239]
This is an old revision of EditModeration made by NilsLindenberg on 2008-09-13 11:50:10.
Edit moderation
See also
Trac ticket: follows
This is a page to discuss about how edit moderaton could be added to wikka.
While it may seem to be a minor issue, several changes to the logic of handling pages are to be made.
Database
The page table needs to be updated with an additional field:
'status' which could be a ENUM with the following values:
- 'N' - normal page (default)
- 'M' - moderated (needs approval)
- 'A' - approved
Page Handling
Several functions, actions and handlers are to be changed.
SavePage()
- needs to set the right status for a page, maybe with the help of a helper function like needsModeration()?
show - handler
- needs to take into account if a page is flagged for modration and should be displayed or not (or maybe with a comment)
recentchanges
- needs to take into account if a page is flagged for modration and should be displayed or not (or maybe with a comment)
pageindex
- needs to take into account if a page is flagged for modration and should be displayed or not (or maybe with a comment)
RSS-Feeds
- need to take into account if a page is flagged for modration and should be displayed or not (or maybe with a comment)
moderate pages action
- to be created
- should display a list of the pages in need of moderation to all admins (maybe an extension of the AdminPages action?)
Questions
- where/how to store the acl for page moderation
- moderation 'per page' or 'per user' (or both?)
- feedback for the user (would require changes to the edit handler)
- …