From b5a0be432b07d64035ca80b606debad9ccdbd664 Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Tue, 7 Dec 2010 08:30:50 +0100 Subject: =?UTF-8?q?Various=20changes=20to=20feed.php=E2=80=99s=20parameter?= =?UTF-8?q?=20handling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Do not emit E_NOTICEs * Introduce explicit feed mode default value »recent« instead of handling every unknown feed mode as recent changes mode. This means: - FEED_MODE_UNKNOWN is only executed if the given feed mode is indeed unknown. This is specifically not the case if no feed mode request param has been specified or the requested feed mode is »recent«. - FEED_MODE_UNKNOWN dies with an error as default behaviour * opt[items] is forced to be a non-negative integer * opt[show_minor] is forced to be a boolean and thus has a default value of false instead of null --- conf/dokuwiki.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/dokuwiki.php') diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php index 2405494e0..9e289d9bc 100644 --- a/conf/dokuwiki.php +++ b/conf/dokuwiki.php @@ -121,7 +121,7 @@ $conf['rss_linkto'] = 'diff'; //what page RSS entries link to: // 'page' - the revised page itself // 'rev' - page showing all revisions // 'current' - most recent revision of page -$conf['rss_content'] = 'abstract'; // what to put in the items by deafult? +$conf['rss_content'] = 'abstract'; // what to put in the items by default? // 'abstract' - plain text, first paragraph or so // 'diff' - plain text unified diff wrapped in
 tags
                                          //  'htmldiff' - diff as HTML table
-- 
cgit v1.2.3