Extension:External Data/Clearing data

From Linux Web Expert

You can clear any external data that has already been retrieved, so that it doesn't conflict with calls to retrieve and display external data further down the page. The most likely case in which this is useful is when data is retrieved and displayed in a template that is called more than once on a page.

To clear all data, just call {{#clear_external_data:}}. Note that the ":" has to be there at the end of the call, or else MediaWiki will ignore the parser function.

To clear some but not all internal variables, list the variables you want to clear as parameters to #clear_external_data, e.g. {{#clear_external_data:variable1|variable2}}.

This parser function is only required, if data is fetched by data retrieving functions, i.e., in Legacy mode.