Plain strings (such as field values) are returned
without quotes. Simple arrays of scalars are also returned without quotes, in a comma-separated list (beware of values that contain commas!).
More complex data structures (e.g. arrays of hashes) will be returned as Perl code strings generated by running through
CPAN:Data::Dumper.
You can make the macro generate different output formats using the
style parameter:
-
style="perl" - generates values as Perl code strings
-
style="json" - generates values as JSON strings, suitable for reading by browsers.
Only some configuration settings are available via QUERY:
{AccessControlACL}{EnableDeprecatedEmptyDeny},
{AccessibleCFG},
{AdminUserLogin},
{AdminUserWikiName},
{AntiSpam}{EmailPadding},
{AntiSpam}{EntityEncode},
{AntiSpam}{HideUserDetails},
{AntiSpam}{RobotsAreWelcome},
{AttachmentNameFilter},
{AuthRealm},
{AuthScripts},
{Cache}{Enabled},
{DefaultDateFormat},
{DefaultUrlHost},
{DenyDotDotInclude},
{DisplayTimeValues},
{EnableEmail},
{EnableHierarchicalWebs},
{FormTypes},
{HomeTopicName},
{LeaseLength},
{LeaseLengthLessForceful},
{LinkProtocolPattern},
{LocalSitePreferences},
{LoginNameFilterIn},
{MaxRevisionsInADiff},
{MinPasswordLength},
{NameFilter},
{NotifyTopicName},
{NumberOfRevisions},
{PluginsOrder},
{Plugins}{WebSearchPath},
{PluralToSingular},
{Register}{AllowLoginName},
{Register}{Approvers},
{Register}{DisablePasswordConfirmation},
{Register}{EnableNewUserRegistration},
{Register}{NeedApproval},
{Register}{NeedVerification},
{Register}{RegistrationAgentWikiName},
{ReplaceIfEditedAgainWithin},
{SandboxWebName},
{ScriptSuffix},
{ScriptUrlPath},
{Site}{Locale},
{SitePrefsTopicName},
{Stats}{TopContrib},
{Stats}{TopicName},
{Stats}{TopViews},
{SuperAdminGroup},
{SystemWebName},
{TemplateLogin}{AllowLoginUsingEmailAddress},
{TemplatePath},
{TrashWebName},
{UploadFilter},
{UseLocale},
{UserInterfaceInternationalisation},
{UsersTopicName},
{UsersWebName},
{Validation}{Method},
{WebMasterEmail},
{WebMasterName},
{WebPrefsTopicName}