Revision [21737]

This is an old revision of WatchedPages made by skrap on 2012-08-27 20:54:55.

 

Watched Pages Extension


This is yet another extension which will allow your site to email users when there are changes to pages which they're interested in. Additionally, users can watch entire categories, and will be notified whenever the set of pages belonging to that category change.

Users can configure which pages they're interested in watching via a watchedpages action, which would typically be added to their UserSettings page.

Emails include a word-based text diff of the raw page source, which allows users to easily see what's changed.

Rationale


Why another one of these change-emailing extensions? What's wrong with NotifyOnChange and WikkaWikiEMailNotifications?

The short answer: nothing's wrong with those other extensions. The authors of those extensions were designing for other needs. However, I think my extension has a bit more general-purpose applicability, and it's easier to use.

This plugin:
* allows users to watch pages which they don't own
* makes minimal use of the config file, and instead makes use of the DB to track watched pages and categories
* allows users to watch entire categories, and be notified when their page set changes
* allows normal users to watch the entire wiki, if they want to
* uses normal read ACLs to determine access
* encapsulates almost all of the code in a library file, leaving it minimally invasive to install

Current Status


This code is being used in one "production" website right now, with around 700 pages of content. I consider it stable for my usage, but please report any bugs you see to me at jonah at petri dot us.

Bugs:
* Sends emails to watchers of all pages on page creation, which could leak a sensitive page name before an ACL could be set up for it.

Installation


There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki