[pmwiki-users] Adsense markup not working in beta 37
Joachim Durchholz
jo at durchholz.org
Thu Jun 2 14:20:23 CDT 2005
zgrauer at earthlink.net wrote:
> Remember the markup used to include google adsense messages in the
> pages?
>
> The lines entered into /local/config.php are listed below. It is
> working fine on beta 26, but in beta 37 I get the text (:adsense:),
> and not the ad.
>
> [...]
>
> Markup('adsense', 'directives',
> "/\\(:adsense:\\)/",
> Keep("..."));
The relevant part is in the second line. Check whether it's really
character-for-character identical in the two wikis.
There's a remote possibility: Some other markup might be wrapping the
(:adsense:) markup in a Keep() call. To test that hypothesis, you could
recognise the markup early, say, by replacing the 'directives' parameter
with '>begin' (I'm not sure but this might break other markups, so this
is really just for testing the hypothesis, not for productive wikis).
To say anything more specific, I'd need to use ?action=diag, so you'd
have to set $EnableDiag=1; in config.php so that we can take a look.
Regards,
Jo
More information about the pmwiki-users
mailing list