Wiki source for EditModeration


Show raw source

=====Edit moderation=====
>>
**See also**
Trac ticket: follows
[[http://www.mediawiki.org/wiki/Extension:FlaggedRevs Mediawiki-extension]]
>>

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.

====From the chat====
~& Is there any plugin or modification for Wikka that will allow for page creation/edit moderation? Something so that pages can be created/edited, but those creations/edits have to be approved by an authorized user (for quality control) before they show up live.
~& I'd love to use Wikka, it looks far better than MediaWiki (and the only reason I'm using that is because they have an extension that does what I described: http://www.mediawiki.org/wiki/Extension:FlaggedRevs)
~~& you'd need to store a status of a page somwhere, probably extend the pages table
~~& it starts getteing complicated if you have multiple versions in the mdoeration queue
~& Maybe restrict further edits (except by that authorized user/group) until that one is approved? Unless its a minor edit.
~~& yes, but "minor" is user-flagged (and we don't have that yet either)


====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)
- …

----
CategoryDevelopmentArchitecture
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki