{"name":"BIS_fnc_exportFunctionsToWiki","title":"BIS fnc exportFunctionsToWiki","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_exportFunctionsToWiki","revid":352115,"updated":"2024-02-01T23:25:00Z","groups":["Diagnostic"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","exec":"spawn","description":"Export function descriptions to Community Wiki. Exported text will be copied to clipboard in XML format.\n**Wiki Admins** can import them using **Special:Import**.\nIf the page already exists, it will be replaced only when *timestamp* is newer.\n\n> [!WARNING]\n> This function should no longer be used to mass-import functions since the template for function pages has changed drastically!","syntaxes":[{"syntax":"[filter, timestamp] spawn BIS_fnc_exportFunctionsToWiki","params":[{"name":"filter","type":"Array","optional":true,"default":"`[]`","description":"functions filter in format [tags, categories, functions]:\n\n- tags: String or Array of Strings - CfgFunctions tags (e.g., \"A3_Oldman\"). Use empty string for all of them\n- categories: String or Array of Strings - categories (e.g., \"Debug\"). Use empty string for all of them\n- functions: String or Array of Strings - specific function names (e.g., \"BIS_fnc_log\"). Use empty string for all of them","type_expr":"Array","text":"filter: Array - (Optional, default `[]`) functions filter in format [tags, categories, functions]:\n\n- tags: String or Array of Strings - CfgFunctions tags (e.g., \"A3_Oldman\"). Use empty string for all of them\n- categories: String or Array of Strings - categories (e.g., \"Debug\"). Use empty string for all of them\n- functions: String or Array of Strings - specific function names (e.g., \"BIS_fnc_log\"). Use empty string for all of them"},{"name":"timestamp","type":"String","optional":true,"default":"\"2006-04-03T17:42:00Z\"","description":"in format \"2013-09-12T16:00:00Z\"","type_expr":"String","text":"timestamp: String - (Optional, default \"2006-04-03T17:42:00Z\") in format \"2013-09-12T16:00:00Z\""}],"returns":{"type":"String","type_expr":"String","description":"exported text"}}],"examples":[{"code":["[] spawn BIS_fnc_exportFunctionsToWiki; // export all functions"]},{"code":["[[\"\", \"Arrays\"]] spawn BIS_fnc_exportFunctionsToWiki; // export all Array functions"]},{"code":["[[\"\", \"\", [\"BIS_fnc_log\", \"BIS_fnc_param\"]]] spawn BIS_fnc_exportFunctionsToWiki; // export specific functions"]}],"see_also":["BIS_fnc_diagWiki"]}