On Wed, Jun 16, 2010 at 04:39:31PM +0200, Doogie wrote: > > Second Idea: > > You wrote: > > However ACTION_ACT_PREPROCESS doesn't happen early enough. > > > > I want to 'catch' a non-existent link and do things with it before > > getting messages about it being non-existent etc. > > > > As it is, using ACTION_ACT_PREPROCESS, I get to the "this page does > > not exist" message from DokuWiki before my plugin code even gets a > > look in. > > -- > > Chris Green > > I missed that you are talking about "wiki internal links", e.g. something > like [[NonExistantPage]] in the source of a wikipage. Those links in the > end show the file > > <dokuwiki>/inc/lang/en/newpage.txt > > Maybe everything you want is just to edit this textfile and show some > other text? > > > If you really need to execute PHP code on nonexistant wiki pages, then > ACTION_ACT_PREPROCESS should be the right place. > Yes, that's what I thought, but it doesn't seem to work for me at the moment. I'll go away and do some more investigation. -- Chris Green -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist