[dokuwiki] Re: Patch: Implicit ~~NOCACHE~~ on files with <php>
- From: "B.J. Black" <bj@xxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 16 Nov 2007 20:06:09 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello!
Here's a fresh patch with the change below and Jean Marc's French i18n.
The syntax plugin is a bit trickier, though, since I don't want to
actually consume the <php>...</php> block (just make a note that it's
there and pass-through to the next handler). I'll ask about that
problem in a separate email.
- --bj
Chris Smith wrote:
> Hi,
>
> For ease of upgrading, you may be better to implement this as a syntax
> plugin. Use the same patterns as used by the parser with a lower sort
> number. The lower sort number ensures your plugin gets the code rather
> than DW.
>
> I also think a better implementation is to set the renderer property
> "info['cache']" to false rather than to use the handler to generate two
> instructions for the "php" mode. e.g. for the patch,
> inc/parser/xhtml.php @308, insert your test + $this->info['cache'] =
> false, or in a syntax plugin, in the renderer method, add your test +
> $renderer->info['cache'] = false;
>
> -- Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHPmixBWZe+3ib/AERAkeVAJ0RKEeiTIAqNXOoobL5lJhGBHnzaACePCNy
1h8L4P+63YT2UbpdWZs/1FI=
=cXkL
-----END PGP SIGNATURE-----
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Patch: Implicit ~~NOCACHE~~ on files with <php>
- From: B.J. Black
- References:
- [dokuwiki] Patch: Implicit ~~NOCACHE~~ on files with <php>
- From: B.J. Black
- [dokuwiki] Re: Patch: Implicit ~~NOCACHE~~ on files with <php>
- From: Chris Smith
Other related posts:
- » [dokuwiki] Patch: Implicit ~~NOCACHE~~ on files with <php>
- » [dokuwiki] Re: Patch: Implicit ~~NOCACHE~~ on files with <php>
- » [dokuwiki] Re: Patch: Implicit ~~NOCACHE~~ on files with <php>
- » [dokuwiki] Re: Patch: Implicit ~~NOCACHE~~ on files with <php>
- » [dokuwiki] Re: Patch: Implicit ~~NOCACHE~~ on files with <php>
- [dokuwiki] Re: Patch: Implicit ~~NOCACHE~~ on files with <php>
- From: B.J. Black
- [dokuwiki] Patch: Implicit ~~NOCACHE~~ on files with <php>
- From: B.J. Black
- [dokuwiki] Re: Patch: Implicit ~~NOCACHE~~ on files with <php>
- From: Chris Smith