splitbrain/dokuwiki — pull request #95 by MrBertie (2012-04-16 17:05:39+00:00)
Title: Moved location of INDEXER_PAGE_ADD -> AFTER event to where the page has been indexed and a PID attributed

The AFTER event now returns the new PID in the (unused?) result property of the event
E.g.: $pid = $event->result['pid'];
The full raw wiki page is also now made available to the BEFORE event for plugins that would like to read, modify or edit the content before indexing
Rational: Some plugins that also keep an (meta)index need access to the PID for their own use.