[dokuwiki] Re: Patch: Implicit ~~NOCACHE~~ on files with <php>
- From: "JEAN MARC MASSOU" <massou@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 16 Nov 2007 10:36:10 +0100
Hi, don't worry you are not alone, me too i forget a lot of time to put
~~NOCACHE~~. on page with php.... result one time, i hack myself and my
gentle users have catched my special secret password, this is the story :
http://forum.dokuwiki.org/post/4390
I make the translation for French :
+$lang['phpimplicitnocache'] = 'Assume <a href="
http://wiki.splitbrain.org/wiki:caching">NOCACHE</a<http://wiki.splitbrain.org/wiki:caching%22%3ENOCACHE%3C/a>>
on pages containing PHP code?';
Intégrer automatiquement le tag <a href="
http://wiki.splitbrain.org/wiki:caching">NOCACHE</a<http://wiki.splitbrain.org/wiki:caching%22%3ENOCACHE%3C/a>>
aux pages contenant du Code PHP ?
Cordialy
JMM
2007/11/16, B.J. Black <bj@xxxxxxxxxxx>:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all! Long-time user, first-time contributor (I hope :-).
>
> I'm writing a PHP application for work using Dokuwiki as a framework and
> have a few small changes I'm using to make life a little easier.
>
> Starting small, I've attached a patch that adds a (configurable) option
> to make all pages with PHP code in them implicitly ~~NOCACHE~~. Caching
> has been driving me batty (since I don't need it) and it wasn't
> immediately obvious that I needed nocache at first. Add to that that
> I'm an idiot and, of course, always forget to put nocache in new pages
> as I write them (so it drives me batty when I'm debugging my code for
> the first few iterations).
>
> This patch adds an onoff configuration option "phpimplicitnocache." I
> hope this helps anyone else using dokuwiki as a framework for PHP apps.
>
> Unfortunately, my German is nonexistant and my French and Spanish are an
> embarrassment, so I only touched the English i18n...
>
> The patch is (probably) -p1 against a copy freshly pulled from darcs.
> Adds 5 total lines to the total code, modifies 0 and deletes 0.
>
> - --bj
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHPU7aBWZe+3ib/AERArg6AJ999n3vGKIFbAwCjQDeLGsYqixajwCeJMMd
> QVphbX9g6My5AXnzU32R/Lk=
> =jtCK
> -----END PGP SIGNATURE-----
>
>
- References:
- [dokuwiki] Patch: Implicit ~~NOCACHE~~ on files with <php>
- From: B.J. Black
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] Patch: Implicit ~~NOCACHE~~ on files with <php>
- From: B.J. Black