Many of the sub-functions in TWiki::*, access the webName variable via
$TWiki::webName.
Obviously this is messy and makes the modularisation work difficult. I'm in the process of removing this dependancy in order to start work
PackageTWikiStore.
In the progress I will define a standard API for functions related to Web.Topic access.
Initially it will be:
function($web,$topic, otherstuff)
However it's target is something like this:
function($web, @topiclist, %variables)
or even just
function(@WebTopicKey, %variables)
Note, using a hash to pass variables allows for some flexiblity. Furthermore, most of this pain will go away once something like
PackageTWikiTopic is completed.
NB: None of the allow is going into
TWikiReleaseSpring2001.
--
NicholasLee - 15 Mar 2001