[dokuwiki] PARSER_WIKITEXT_PREPROCESS questions

  • From: lebowski@xxxxxxxxxxxxxxxxxxx
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Sat, 02 Mar 2013 13:35:57 +0100

Hi,
i want to use the PARSER_WIKITEXT_PREPROCESS event in a action plugin to add things to every wikipage.
If i use
     $event->data .= "text with **wikisyntax**";
it will be also add to every page, notably also on pages like "Recent Changes", "Register", e. g. If I only perform action if $ACT == 'show', i get a problem, e. g. if i made changes in the admin menu, the cache is purged and the page is rendered with do=admin. Is there a way to find out, if $event->data belong to a "real" wikipage or to "Recent Changes", "Profile", etc.?

Thanks, Martin
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: