[pmwiki-users] potential conflict notice: WikiCalendar and publish

ThomasP pmwikidev at sigproc.de
Tue Jun 12 10:19:37 CDT 2007


Hello,

I just had a look at the WikiCalendar code and saw quite a few occurrences of

$action == 'publish'

in it. It does not seem however that these references have anything to do
with the new Pmwiki publish functionality. There is quite a chance here
that this might develop into a conflict in the long run.

Related to this I would like to kick off a reminder once again in case
some are planning to write recipes or are just publishing them:

It is useful to

a) either make sure that all functions and variables in "public contact"
(i.e. directly interacting with pmwiki) are defined in a recipe specific
way, i.e. with prefixes

or

b) to inform about what you have used such that the pmwiki commnunity can
get aware of it. (A good page for actions is PmWiki.AvailableActions for
example, where all pmwiki actions but also (hopefully all) recipe actions
are listed.)

The prefix idea is already mentioned on the module guidelines for function
names and global variables, but it is obviously useful to apply it for
actions (and what else?) as well.

If one is about to announce ones actions there and discovers that it fills
half a page (i.e. they are many), then using subactions (with another POST
key) and only one embracing pmwiki action might also be a good solution.

ThomasP





More information about the pmwiki-users mailing list