From 0a7e3bce2e0ca81b6f8c4e52f78b1ffe443f7ade Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 26 Nov 2006 16:21:44 +0100 Subject: metadata update to support both persistent and non-persistent metadata Key changes: - metadata stored on disk in two arrays, 'current' & 'persistent' - p_set_metadata has an additional parameter, $persistent, which defaults to true - metadata set within the renderer defaults to non-persistent - new event hook, PARSER_METADATA_RENDER, which wraps around metadata rendering process. For full details of this event refer to the event list documentation at splitbrain. The patch includes automatic conversion of metadata in current form to the new format For more details also see http://www.freelists.org/archives/dokuwiki/11-2006/msg00221.html and any follow-up messages. darcs-hash:20061126152144-9b6ab-a4e40c221e0274b13da07dc2fc1d2100f5f3a50e.gz --- inc/init.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/init.php') diff --git a/inc/init.php b/inc/init.php index c097cd5bd..bde17e798 100644 --- a/inc/init.php +++ b/inc/init.php @@ -28,6 +28,7 @@ global $cache_wikifn; $cache_wikifn = array(); global $cache_cleanid; $cache_cleanid = array(); global $cache_authname; $cache_authname = array(); + global $cache_metadata; $cache_metadata = array(); //prepare config array() global $conf; -- cgit v1.2.3