Offshoot of 4.0.3 with (primarily) support for
TWikiTags.
Tags added so far:
- ChildTopicsTag
- FallbackTag
- ImgTag
- MetasearchTag (added attributes to standard Metasearch
- TitleTag
- OriginalAuthorTag
Currently the tag loading code in the twiki4 branch requires that the file name be TAG.pm. This obviously doesn't work for
FooTag.pm, which IMO would be consistent with the way other extensions are named. I added a variable
tagname which would indicate what the tag actually is.
Questions
- how does the code deal with the mod_perl module load case?
- I can't answer that, as CDot wrote the tag-loading code. I tried to write some code that would use the variable
tagname but have had some perl problems, so user tags are currently stored in the UserTags directory but through the use of symbolic links are loaded in the same manner as the variable tags.
- I (SD) would like to add some optional parameters to TWiki::registerTagHandler(tag, handler, documentation_hash, validation_handler)
- where documentation_hash is 'similar' to the one for SEARCH in InlineEditPlugin
- I don't see a problem in adding parameters to the end of the function, but I'm not the perl expert. -- MeredithLesly - 02 Jul 2006