Item10831: parameter topic
missing
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release: n/a
As I already reported in
Item9354 the parameter
topic
is no longer supported.
This is a very usefull parameter, especially for
HolidaylistPlugin, when you want to hide some source content e.g. a long list of holidays, to have a clear topic. At the moment I therfore use a workaround, including the topic with the source content and hide it within an html-comment. However, this is no solution, since many plugins create html-comments itself and according to the w3c specifications of HTML 4.01 a
--
is a vorbidden string within a comment and some browsers do in fact behave like that and print out all the TML-code most users do not want to see.
So there are two main solutions (which are basically be used both):
- include the
topic
parameter back into the core.pm (it is at least listed in HolidaylistPlugin's description)
- remove all html-comments that are automatically created unless really necessary
The first solution will make writing some macros easier and the second will help to hide content created by some plugins (I just checked
CommentPlugin and
FormPlugin and both do crate unnecessary html-comments)
--
HolgerHain - 03 Jun 2011
This looks likes input for
Item9354. Why do you need a separate task?
--
ArthurClemens - 03 Jun 2011
This bug was initially reported for codebase 1.0.9 but is now still present in codebase 1.0.10 and even 1.1.3 (since there were no debian packages I had no chance to test it in the meantime versions, but I guess these suffer from the same problem). There was just a slightly tested fix but this was not included into one of the newer versions! As far as I got it, this seems of no importance to any of the developers. If the fix is save why wasn't it included into the core again???
--
HolgerHain - 03 Jun 2011
HolidaylistPlugin has not been part of the core extensions that are distributed with Foswiki releases. Perhaps you mean with "core" the
Core.pm
module of the plugin?
If so, that has nothing to do with codebases. It is a plugin bug, not a Foswiki core code bug. So it won't get resolved automatically with a new Foswiki release.
I have looked into the code and indeed the paramter went missing somehow. Now fixed in version 1.033.
--
ArthurClemens - 03 Jun 2011