create new tag
, view all tags

SID-02318: List of ALL variables

Status: Answered Answered TWiki version: 6.0.2 Perl version: v5.16.3
Category: FilterPlugin Server OS: CentOS 7 Linux 3.10.0-514.21.1.el7.x86_64 Last update: 10 months ago

How is the list of all TWiki variables searched for? I was looking for help on EXTRACT (which turns out to be in the filter plug-in) and it does not appear in the TWikiVariablesSearch results. I know the variable is defined somewhere in my installation because my code runs, I just need to tweak it. Are plugins not searched for defined variables? Is this a lack on the part of the plug-in contributor? How can I contribute to amend the deficit?

-- Chris Duncombe Rae - 2017-06-13

Discussion and Answer

Are plugins not searched for defined variables? - well, yes and no. Plugin variables are found by TWikiVariablesSearch if they contain a topic like in your case VarEXTRACT in the TWiki web. Unfortunately, FilterPlugin does not have such topics for its variables. I wouldn't say that this is a lack of the contributor because when the plugin was created, the mechanism to search for variables didn't exist at all. Back then, TWikiVariables was a monolithic topic (two topics, to be precise) and didn't show any plugin variables.

The "modern" way of plugin documentation would be to split the topic FilterPlugin into the general description and individual VarXXX topics for the individual variables. If you want to contribute - that would be very welcome - just go ahead and do it! I myself wouldn't dare it because I am not familiar at all with that plugin, but on first glance it seems that the variables aren't independent of each other. Perhaps a "stub" VarXXX topic pointing to the plugin topic would be the best solution?

-- Harald Jörg - 2017-06-13

Thanks for the info! If I create VarVARIABLE topics for the missing variables in the filter plugin how would I bundle them with the plugin distribution? I'm guessing I'd have to update the .zip .tgz, .md5 attachments and upload those as well as edit the FilterPlugin page, unless these are done automatically.. I see SVN might be involved which I have used but am not familiar with. Prefer git!

-- Chris Duncombe Rae - 2017-06-14

And found the answer to my own follow-up question here: Plugins.ReadmeFirst

-- Chris Duncombe Rae - 2017-06-14

You could also just make the changes locally in your TWiki and attach a diff to FilterPluginDev. From there, I can merge them into TWiki SVN and create the updated plugin package.

-- Harald Jörg - 2017-06-14

Good to know!

-- Chris Duncombe Rae - 2017-06-14

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Status Answered
Title List of ALL variables
SupportCategory FilterPlugin
TWiki version 6.0.2
Server OS CentOS 7 Linux 3.10.0-514.21.1.el7.x86_64
Web server Apache/2.4.6 (CentOS)
Perl version v5.16.3
Browser & version Firefox ESR 52.1.0 (64-bit)
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2017-06-14 - ChrisRae
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.