Extension:External Data/Configuration

External Data configuration settings consist of two parts: configuration for data sources and a few other settings.

Data sources
Most of the extension settings regulate calls to  parser functions (or the corresponding Lua functions), configuring so called data sources. There are at least two data sources relevant to any parser function call; a more specific data source overriding a more universal one; and the last containing global fallback settings.

Settings for the data sources are stored in the associative array. Its keys are names of data sources and values are arrays containing settings for the data source.

The relevant data sources for the data retrieval parser functions (and their Lua analogues) and the relevant settings are:

The default value for  is:

Other settings
Other settings are: For default values of both these variables refer to the file.
 * — a set of rules regulating the choice of class to handle connection to a data source depending on the parser function invoked and its parameters. Injecting a new rule calling a new class extending  allows to add new functionality to this extension,
 * — a set of rules regulating the choice of text parser to convert text, returned by an external service, to variables. Injecting a new rule calling a new class extending  allows to add new functionality to this extension.