From d968d3e5210d971ea439f2f29c47af438c1106c8 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 12 Mar 2008 01:56:47 +0100 Subject: Add support for plugin renderers to replace standard renderers This patch is the fourth in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks. It adds: - new config setting 'renderer_xhtml', default value 'xhtml' - new renderer method 'reset()' which is used by reusable renderers when used to render second and subsequent data. (*) An extra step has been added to the renderer selection process. - check $conf["renderer_$mode] for renderer name. If it doesn't exist use $mode as the renderer name. (*) It maybe that the 'document_start()' method can be used for this. However the current xhtml does not correctly reset itself for reuse. darcs-hash:20080312005647-f07c6-ff2cb960c05927f5c6f3e916a364fcad470c2ce3.gz --- conf/dokuwiki.php | 1 + 1 file changed, 1 insertion(+) (limited to 'conf/dokuwiki.php') diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php index 9cfdb5c3b..6475ff291 100644 --- a/conf/dokuwiki.php +++ b/conf/dokuwiki.php @@ -119,6 +119,7 @@ $conf['rss_show_summary'] = 1; //Add revision summary to title? 0|1 $conf['broken_iua'] = 0; //Platform with broken ignore_user_abort (IIS+CGI) 0|1 $conf['xsendfile'] = 0; //Use X-Sendfile (1 = lighttpd, 2 = standard) $conf['xmlrpc'] = 0; //Enable/disable XML-RPC interface +$conf['renderer_xhtml'] = 'xhtml'; //renderer to use for main page generation //Set target to use when creating links - leave empty for same window $conf['target']['wiki'] = ''; -- cgit v1.2.3