From 003d892b7cca3a8ba5dae2ee6a03954b2201c4bc Mon Sep 17 00:00:00 2001 From: vargenau Date: Wed, 1 Jun 2011 12:33:26 +0000 Subject: [PATCH] In AllPages, include_empty is false by default git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@8090 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/AllPages.php | 3 +-- pgsrc/Help%2FAllPagesPlugin | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/plugin/AllPages.php b/lib/plugin/AllPages.php index 5b8888345..dbbb582b5 100644 --- a/lib/plugin/AllPages.php +++ b/lib/plugin/AllPages.php @@ -44,8 +44,7 @@ extends WikiPlugin PageList::supportedArgs(), array( 'noheader' => false, - 'include_empty' => true, // is faster - //'pages' => false, // DONT, this would be ListPages then. + 'include_empty' => false, 'info' => '', 'debug' => false, 'userpages' => false diff --git a/pgsrc/Help%2FAllPagesPlugin b/pgsrc/Help%2FAllPagesPlugin index 64c94e61c..2fff48da7 100644 --- a/pgsrc/Help%2FAllPagesPlugin +++ b/pgsrc/Help%2FAllPagesPlugin @@ -1,4 +1,4 @@ -Date: Fri, 10 Sep 2010 13:46:13 +0000 +Date: Wed, 1 Jun 2011 14:29:50 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -26,11 +26,11 @@ All [[Help:PageList|PageList]] arguments, plus the following ones. ! Default value |- | **noheader** -| Boolean header should be omitted. +| Boolean. If true, header should be omitted. | false |- | **include_empty** -| Boolean +| Boolean. If true, pages that are referenced but not yet created are included in the list. | false |- | **info** -- 2.45.0