You are here: Foswiki>Tasks Web>Item11090 (13 Sep 2011, PaulHarvey)Edit Attach

Item11090: Add REGISTEREDMACROS variable to core

Priority: Enhancement
Current State: Proposal Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: FoswikiPluginsAPI
Reported By: VickiBrown
Waiting For:
Last Change By: PaulHarvey
  • %ACTIVATEDPLUGINS% lists all activated plugins
  • %ALLVARIABLES% and %%SHOWPREFERENCE%= list all preference variables
  • System/Macros lists predefined macros

I want a quick way to see all registered macros for activated plugins. e.g.
  • CALC{format}
  • CALENDAR{attributes}
  • COMMENT{attributes}
  • ...

That is, only the macros that call or drive the installed & activate plugins. Not the preference or configuration variables for those plugins.

It's the moral equivalent of listing the new function calls that are added to Perl when a set of libraries are installed.

-- VickiBrown - 29 Aug 2011

This needs a feature request.

-- ArthurClemens - 13 Sep 2011

See FormaliseMacroSpecification, which is required to automatically do anything with a registered macro's arguments - but we could certainly add a macro that at least lists the names of registered macros.

-- PaulHarvey - 13 Sep 2011

ItemTemplate edit

Summary Add REGISTEREDMACROS variable to core
ReportedBy VickiBrown
SVN Range
AppliesTo Engine
Component FoswikiPluginsAPI
Priority Enhancement
CurrentState Proposal Required
TargetRelease n/a
ReleasedIn n/a
Topic revision: r4 - 13 Sep 2011, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy