SF.net SVN: phpwiki:[10767] trunk

vargenau--- via phpwiki-checkins <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10767
          http://sourceforge.net/p/phpwiki/code/10767
Author:   vargenau
Date:     2021-12-09 17:49:44 +0000 (Thu, 09 Dec 2021)
Log Message:
-----------
IncludePages plugin: pages and exclude arguments are strings

Modified Paths:
--------------
    trunk/lib/plugin/IncludePages.php
    trunk/pgsrc/Help%2FIncludePagesPlugin

Modified: trunk/lib/plugin/IncludePages.php
===================================================================
--- trunk/lib/plugin/IncludePages.php	2021-12-09 17:45:40 UTC (rev 10766)
+++ trunk/lib/plugin/IncludePages.php	2021-12-09 17:49:44 UTC (rev 10767)
@@ -40,8 +40,8 @@
 
     function getDefaultArguments()
     {
-        return array_merge(array('pages' => false, // the pages to include
-                'exclude' => false), // the pages to exclude
+        return array_merge(array('pages' => '', // the pages to include
+                                 'exclude' => ''), // the pages to exclude
             WikiPlugin_IncludePage::getDefaultArguments()
         );
     }

Modified: trunk/pgsrc/Help%2FIncludePagesPlugin
===================================================================
--- trunk/pgsrc/Help%2FIncludePagesPlugin	2021-12-09 17:45:40 UTC (rev 10766)
+++ trunk/pgsrc/Help%2FIncludePagesPlugin	2021-12-09 17:49:44 UTC (rev 10767)
@@ -1,4 +1,4 @@
-Date: Mon, 22 Feb 2021 19:16:32 +0000
+Date: Thu,  9 Dec 2021 18:48:34 +0000
 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
 Content-Type: application/x-phpwiki;
   pagename=Help%2FIncludePagesPlugin;
@@ -24,12 +24,12 @@
 ! Default value
 |-
 | **pages**
-| The pages to include
-| //none//
+| The pages to include.
+| //empty//
 |-
 | **exclude**
-| Comma-separated list of pages to exclude
-| false
+| Comma-separated list of pages to exclude.
+| //empty//
 |}
 
 == Example ==

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.