You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(43) |
Nov
(73) |
Dec
(10) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(34) |
Feb
(110) |
Mar
(24) |
Apr
(44) |
May
(37) |
Jun
(22) |
Jul
(20) |
Aug
(28) |
Sep
(50) |
Oct
(11) |
Nov
(132) |
Dec
(595) |
| 2002 |
Jan
(1099) |
Feb
(579) |
Mar
(63) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(125) |
Sep
(101) |
Oct
(25) |
Nov
(34) |
Dec
(47) |
| 2003 |
Jan
(82) |
Feb
(182) |
Mar
(71) |
Apr
(3) |
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
(14) |
Oct
(6) |
Nov
(124) |
Dec
(68) |
| 2004 |
Jan
(64) |
Feb
(191) |
Mar
(199) |
Apr
(298) |
May
(252) |
Jun
(426) |
Jul
(134) |
Aug
(13) |
Sep
(96) |
Oct
(75) |
Nov
(232) |
Dec
(171) |
| 2005 |
Jan
(205) |
Feb
(165) |
Mar
(8) |
Apr
(74) |
May
(21) |
Jun
(19) |
Jul
(37) |
Aug
(69) |
Sep
(141) |
Oct
(118) |
Nov
(31) |
Dec
(7) |
| 2006 |
Jan
(5) |
Feb
(10) |
Mar
(35) |
Apr
(24) |
May
(34) |
Jun
(29) |
Jul
(5) |
Aug
(38) |
Sep
(30) |
Oct
(37) |
Nov
(30) |
Dec
(86) |
| 2007 |
Jan
(414) |
Feb
(40) |
Mar
(18) |
Apr
(10) |
May
(66) |
Jun
(60) |
Jul
(105) |
Aug
(55) |
Sep
(64) |
Oct
(7) |
Nov
(11) |
Dec
(5) |
| 2008 |
Jan
(26) |
Feb
(28) |
Mar
(79) |
Apr
(34) |
May
(61) |
Jun
(24) |
Jul
(29) |
Aug
(160) |
Sep
(62) |
Oct
(70) |
Nov
(32) |
Dec
(14) |
| 2009 |
Jan
(140) |
Feb
(135) |
Mar
(153) |
Apr
(53) |
May
(24) |
Jun
(138) |
Jul
(90) |
Aug
(46) |
Sep
(72) |
Oct
(84) |
Nov
(32) |
Dec
(4) |
| 2010 |
Jan
(13) |
Feb
(7) |
Mar
(14) |
Apr
(55) |
May
(89) |
Jun
(131) |
Jul
(41) |
Aug
(38) |
Sep
(42) |
Oct
(11) |
Nov
(27) |
Dec
(54) |
| 2011 |
Jan
(127) |
Feb
(16) |
Mar
(71) |
Apr
(52) |
May
(32) |
Jun
(31) |
Jul
(4) |
Aug
|
Sep
(45) |
Oct
(26) |
Nov
(36) |
Dec
(10) |
| 2012 |
Jan
(23) |
Feb
(6) |
Mar
(13) |
Apr
(18) |
May
(1) |
Jun
(4) |
Jul
(3) |
Aug
(12) |
Sep
(57) |
Oct
(96) |
Nov
(163) |
Dec
(124) |
| 2013 |
Jan
(11) |
Feb
(17) |
Mar
(7) |
Apr
(48) |
May
(15) |
Jun
(29) |
Jul
(12) |
Aug
|
Sep
(9) |
Oct
|
Nov
|
Dec
(3) |
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(8) |
Jun
(90) |
Jul
(104) |
Aug
(12) |
Sep
(81) |
Oct
(139) |
Nov
(111) |
Dec
(64) |
| 2015 |
Jan
(46) |
Feb
(74) |
Mar
(56) |
Apr
(61) |
May
(3) |
Jun
(7) |
Jul
(11) |
Aug
(5) |
Sep
(15) |
Oct
(1) |
Nov
(1) |
Dec
(15) |
| 2016 |
Jan
(25) |
Feb
(33) |
Mar
(24) |
Apr
(4) |
May
(24) |
Jun
(3) |
Jul
(75) |
Aug
|
Sep
(2) |
Oct
(38) |
Nov
(4) |
Dec
(18) |
| 2017 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
|
May
(14) |
Jun
|
Jul
(5) |
Aug
(9) |
Sep
|
Oct
(23) |
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
(9) |
Apr
(60) |
May
(1) |
Jun
|
Jul
(13) |
Aug
|
Sep
(11) |
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
(15) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(47) |
| 2021 |
Jan
(24) |
Feb
(33) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(64) |
Jul
(71) |
Aug
(114) |
Sep
(82) |
Oct
(32) |
Nov
(76) |
Dec
(86) |
| 2022 |
Jan
(162) |
Feb
(41) |
Mar
(11) |
Apr
(9) |
May
|
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(7) |
| 2023 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(25) |
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
| 2024 |
Jan
(7) |
Feb
(3) |
Mar
(3) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
|
Feb
(90) |
Mar
(19) |
Apr
|
May
(6) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <var...@us...> - 2021-02-23 19:00:51
|
Revision: 10275
http://sourceforge.net/p/phpwiki/code/10275
Author: vargenau
Date: 2021-02-23 19:00:50 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
plugin WikiForum: better test boolean argument "noheader"
Modified Paths:
--------------
trunk/lib/plugin/WikiForum.php
Modified: trunk/lib/plugin/WikiForum.php
===================================================================
--- trunk/lib/plugin/WikiForum.php 2021-02-23 18:03:47 UTC (rev 10274)
+++ trunk/lib/plugin/WikiForum.php 2021-02-23 19:00:50 UTC (rev 10275)
@@ -75,10 +75,20 @@
function run($dbi, $argstr, &$request, $basepage)
{
$args = $this->getArgs($argstr, $request);
+
if (!$args['pagename']) {
return $this->error(sprintf(_("A required argument “%s” is missing."), 'pagename'));
}
+ $noheader = $args['noheader'];
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
// Get our form args.
$forum = $request->getArg('forum');
$request->setArg('forum', false);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-23 18:03:49
|
Revision: 10274
http://sourceforge.net/p/phpwiki/code/10274
Author: vargenau
Date: 2021-02-23 18:03:47 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
plugin WantedPages: better test boolean argument "noheader"
Modified Paths:
--------------
trunk/lib/plugin/WantedPages.php
Modified: trunk/lib/plugin/WantedPages.php
===================================================================
--- trunk/lib/plugin/WantedPages.php 2021-02-23 18:00:42 UTC (rev 10273)
+++ trunk/lib/plugin/WantedPages.php 2021-02-23 18:03:47 UTC (rev 10274)
@@ -83,6 +83,15 @@
: $args['exclude_from']; // <! plugin-list !>
extract($args);
+
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
if ($page == _("WantedPages")) $page = "";
// There's probably a more memory-efficient way to do this (eg
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-23 18:00:49
|
Revision: 10273
http://sourceforge.net/p/phpwiki/code/10273
Author: vargenau
Date: 2021-02-23 18:00:42 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
plugin Video: better test boolean argument "autoplay"
Modified Paths:
--------------
trunk/lib/plugin/Video.php
Modified: trunk/lib/plugin/Video.php
===================================================================
--- trunk/lib/plugin/Video.php 2021-02-23 17:56:45 UTC (rev 10272)
+++ trunk/lib/plugin/Video.php 2021-02-23 18:00:42 UTC (rev 10273)
@@ -80,6 +80,14 @@
$height = $args['height'];
$autoplay = $args['autoplay'];
+ if (($autoplay == '0') || ($autoplay == 'false')) {
+ $autoplay = false;
+ } elseif (($autoplay == '1') || ($autoplay == 'true')) {
+ $autoplay = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "autoplay"));
+ }
+
if (!$url && !$file) {
return $this->error(_("Both 'url' or 'file' parameters missing."));
} elseif ($url && $file) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-23 17:56:48
|
Revision: 10272
http://sourceforge.net/p/phpwiki/code/10272
Author: vargenau
Date: 2021-02-23 17:56:45 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
plugin UserRatings: better test boolean arguments "noheader", "userPage" and "nobuds"
Modified Paths:
--------------
trunk/lib/plugin/UserRatings.php
trunk/pgsrc/Help%2FUserRatingsPlugin
Modified: trunk/lib/plugin/UserRatings.php
===================================================================
--- trunk/lib/plugin/UserRatings.php 2021-02-23 13:53:17 UTC (rev 10271)
+++ trunk/lib/plugin/UserRatings.php 2021-02-23 17:56:45 UTC (rev 10272)
@@ -58,7 +58,7 @@
'pagename' => '[pagename]', // hackish
'exclude' => '',
'limit' => 0, // limit of <=0 is show-all
- 'noheader' => 0,
+ 'noheader' => false,
'userPage' => false,
'nobuds' => false,
// rating columns are added later
@@ -82,6 +82,30 @@
{
extract($this->getArgs($argstr, $request));
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
+ if (($userPage == '0') || ($userPage == 'false')) {
+ $userPage = false;
+ } elseif (($userPage == '1') || ($userPage == 'true')) {
+ $userPage = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "userPage"));
+ }
+
+ if (($nobuds == '0') || ($nobuds == 'false')) {
+ $nobuds = false;
+ } elseif (($nobuds == '1') || ($nobuds == 'true')) {
+ $nobuds = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "nobuds"));
+ }
+
// XXX: fix to reflect multi-user ratings?
$caption = _("Displaying %d ratings:");
Modified: trunk/pgsrc/Help%2FUserRatingsPlugin
===================================================================
--- trunk/pgsrc/Help%2FUserRatingsPlugin 2021-02-23 13:53:17 UTC (rev 10271)
+++ trunk/pgsrc/Help%2FUserRatingsPlugin 2021-02-23 17:56:45 UTC (rev 10272)
@@ -1,4 +1,4 @@
-Date: Mon, 22 Feb 2021 19:16:32 +0000
+Date: Tue, 23 Feb 2021 18:51:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FUserRatingsPlugin;
@@ -44,7 +44,7 @@
|-
| **exclude**
| Pages to exclude (allows multiple pagenames exclude=HomePage,RecentChanges)
-|
+| none
|-
| **limit**
| limit of <=0 is show-all
@@ -55,9 +55,13 @@
| false
|-
| **userPage**
-|
+| Boolean. If true, we're on a user's homepage, get **their** ratings
| false
|-
+| **nobuds**
+| Boolean.
+| false
+|-
| **info**
| columns to display (hits, pagename, author, ratingwidget...)
| pagename
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-23 13:53:18
|
Revision: 10271
http://sourceforge.net/p/phpwiki/code/10271
Author: vargenau
Date: 2021-02-23 13:53:17 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
plugin TitleSearch: better test boolean arguments "case_exact", "noheader" and "auto_redirect"
Modified Paths:
--------------
trunk/lib/plugin/TitleSearch.php
Modified: trunk/lib/plugin/TitleSearch.php
===================================================================
--- trunk/lib/plugin/TitleSearch.php 2021-02-23 13:46:52 UTC (rev 10270)
+++ trunk/lib/plugin/TitleSearch.php 2021-02-23 13:53:17 UTC (rev 10271)
@@ -81,6 +81,33 @@
{
$args = $this->getArgs($argstr, $request);
+ $auto_redirect = $args['auto_redirect'];
+ if (($auto_redirect == '0') || ($auto_redirect == 'false')) {
+ $auto_redirect = false;
+ } elseif (($auto_redirect == '1') || ($auto_redirect == 'true')) {
+ $auto_redirect = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "auto_redirect"));
+ }
+
+ $noheader = $args['noheader'];
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
+ $case_exact = $args['case_exact'];
+ if (($case_exact == '0') || ($case_exact == 'false')) {
+ $case_exact = false;
+ } elseif (($case_exact == '1') || ($case_exact == 'true')) {
+ $case_exact = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "case_exact"));
+ }
+
if (isset($args['limit']) && !is_limit($args['limit'])) {
return HTML::p(array('class' => "error"),
_("Illegal “limit” argument: must be an integer or two integers separated by comma"));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-23 13:46:55
|
Revision: 10270
http://sourceforge.net/p/phpwiki/code/10270
Author: vargenau
Date: 2021-02-23 13:46:52 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
Update pgsrc
Modified Paths:
--------------
trunk/pgsrc/Help%2FLinkSearchPlugin
trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin
trunk/pgsrc/Help%2FTitleSearchPlugin
Modified: trunk/pgsrc/Help%2FLinkSearchPlugin
===================================================================
--- trunk/pgsrc/Help%2FLinkSearchPlugin 2021-02-23 08:37:19 UTC (rev 10269)
+++ trunk/pgsrc/Help%2FLinkSearchPlugin 2021-02-23 13:46:52 UTC (rev 10270)
@@ -1,4 +1,4 @@
-Date: Mon, 22 Feb 2021 19:16:32 +0000
+Date: Tue, 23 Feb 2021 14:45:30 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FLinkSearchPlugin
@@ -37,7 +37,7 @@
| out
|-
| **case_exact**
-|
+| Boolean. If true, search with case exact.
| false
|-
| **regex**
Modified: trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin
===================================================================
--- trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin 2021-02-23 08:37:19 UTC (rev 10269)
+++ trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin 2021-02-23 13:46:52 UTC (rev 10270)
@@ -1,4 +1,4 @@
-Date: Mon, 22 Feb 2021 19:16:32 +0000
+Date: Tue, 23 Feb 2021 14:45:30 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FSemanticSearchAdvancedPlugin;
@@ -37,7 +37,7 @@
| false
|-
| **regex**
-|
+| Type of regular expression used for searching
| auto
|-
| **noform**
Modified: trunk/pgsrc/Help%2FTitleSearchPlugin
===================================================================
--- trunk/pgsrc/Help%2FTitleSearchPlugin 2021-02-23 08:37:19 UTC (rev 10269)
+++ trunk/pgsrc/Help%2FTitleSearchPlugin 2021-02-23 13:46:52 UTC (rev 10270)
@@ -1,4 +1,4 @@
-Date: Mon, 22 Feb 2021 19:16:32 +0000
+Date: Tue, 23 Feb 2021 14:45:30 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FTitleSearchPlugin;
@@ -28,11 +28,11 @@
! Default value
|-
| **s**
-| string to search
+| String to search
| //none//
|-
| **auto_redirect**
-| if true and only one page is found, this page is displayed immediately
+| Boolean. If true and only one page is found, this page is displayed immediately
| false
|-
| **noheader**
@@ -44,15 +44,15 @@
| false
|-
| **info**
-|
+| Info to display in the table
| false
|-
| **case_exact**
-|
+| Boolean. If true, search with case exact.
| false
|-
| **regex**
-|
+| Type of regular expression used for searching
| auto
|-
| **format**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-23 08:37:22
|
Revision: 10269
http://sourceforge.net/p/phpwiki/code/10269
Author: vargenau
Date: 2021-02-23 08:37:19 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
plugin SemanticSearch: better test boolean arguments "case_exact", "noheader" and "noform"
Modified Paths:
--------------
trunk/lib/plugin/SemanticSearch.php
trunk/pgsrc/Help%2FSemanticSearchPlugin
Modified: trunk/lib/plugin/SemanticSearch.php
===================================================================
--- trunk/lib/plugin/SemanticSearch.php 2021-02-23 08:30:59 UTC (rev 10268)
+++ trunk/lib/plugin/SemanticSearch.php 2021-02-23 08:37:19 UTC (rev 10269)
@@ -294,6 +294,31 @@
, "\n"
, fmt("See %s", WikiLink(_("Help").":"._("SemanticRelations")))));
extract($args);
+
+ if (($case_exact == '0') || ($case_exact == 'false')) {
+ $case_exact = false;
+ } elseif (($case_exact == '1') || ($case_exact == 'true')) {
+ $case_exact = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "case_exact"));
+ }
+
+ if (($noform == '0') || ($noform == 'false')) {
+ $noform = false;
+ } elseif (($noform == '1') || ($noform == 'true')) {
+ $noform = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noform"));
+ }
+
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
// for convenience and harmony we allow GET requests also.
if (!$request->isPost()) {
if ($relation or $attribute) // check for good GET request
Modified: trunk/pgsrc/Help%2FSemanticSearchPlugin
===================================================================
--- trunk/pgsrc/Help%2FSemanticSearchPlugin 2021-02-23 08:30:59 UTC (rev 10268)
+++ trunk/pgsrc/Help%2FSemanticSearchPlugin 2021-02-23 08:37:19 UTC (rev 10269)
@@ -1,4 +1,4 @@
-Date: Mon, 22 Feb 2021 19:16:32 +0000
+Date: Tue, 23 Feb 2021 09:33:05 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FSemanticSearchPlugin;
@@ -67,7 +67,7 @@
|
|-
| **case_exact**
-|
+| Boolean. If true, search with case exact.
| true
|-
| **regex**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-23 08:31:02
|
Revision: 10268
http://sourceforge.net/p/phpwiki/code/10268
Author: vargenau
Date: 2021-02-23 08:30:59 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
plugin SemanticSearchAdvanced: better test boolean arguments "case_exact", "noheader" and "noform"
Modified Paths:
--------------
trunk/lib/plugin/SemanticSearchAdvanced.php
trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin
Modified: trunk/lib/plugin/SemanticSearchAdvanced.php
===================================================================
--- trunk/lib/plugin/SemanticSearchAdvanced.php 2021-02-23 08:19:43 UTC (rev 10267)
+++ trunk/lib/plugin/SemanticSearchAdvanced.php 2021-02-23 08:30:59 UTC (rev 10268)
@@ -148,7 +148,33 @@
if (isset($this->_norelations_warning))
$form->pushContent(HTML::div(array('class' => 'warning'),
_("Warning:") . $this->_norelations_warning));
+
extract($args);
+
+ if (($case_exact == '0') || ($case_exact == 'false')) {
+ $case_exact = false;
+ } elseif (($case_exact == '1') || ($case_exact == 'true')) {
+ $case_exact = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "case_exact"));
+ }
+
+ if (($noform == '0') || ($noform == 'false')) {
+ $noform = false;
+ } elseif (($noform == '1') || ($noform == 'true')) {
+ $noform = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noform"));
+ }
+
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
// For convenience, peace and harmony we allow GET requests also.
if (!$args['s']) // check for good GET request
return $form; // nobody called us, so just display our form
Modified: trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin
===================================================================
--- trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin 2021-02-23 08:19:43 UTC (rev 10267)
+++ trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin 2021-02-23 08:30:59 UTC (rev 10268)
@@ -33,7 +33,7 @@
| ~* (all)
|-
| **case_exact**
-|
+| Boolean. If true, search with case exact.
| false
|-
| **regex**
@@ -41,7 +41,7 @@
| auto
|-
| **noform**
-| don't show form with results.
+| Boolean. If true, don't show form with results.
| false
|-
| **noheader**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-23 08:19:48
|
Revision: 10267
http://sourceforge.net/p/phpwiki/code/10267
Author: vargenau
Date: 2021-02-23 08:19:43 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
plugin SemanticRelations: better test boolean arguments "noheader" and "nohelp"
Modified Paths:
--------------
trunk/lib/plugin/SemanticRelations.php
trunk/pgsrc/Help%2FSemanticRelationsPlugin
Modified: trunk/lib/plugin/SemanticRelations.php
===================================================================
--- trunk/lib/plugin/SemanticRelations.php 2021-02-23 08:07:16 UTC (rev 10266)
+++ trunk/lib/plugin/SemanticRelations.php 2021-02-23 08:19:43 UTC (rev 10267)
@@ -63,6 +63,23 @@
global $WikiTheme;
$args = $this->getArgs($argstr, $request);
extract($args);
+
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
+ if (($nohelp == '0') || ($nohelp == 'false')) {
+ $nohelp = false;
+ } elseif (($nohelp == '1') || ($nohelp == 'true')) {
+ $nohelp = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "nohelp"));
+ }
+
if (empty($page))
$page = $request->getArg('pagename');
$relhtml = HTML();
Modified: trunk/pgsrc/Help%2FSemanticRelationsPlugin
===================================================================
--- trunk/pgsrc/Help%2FSemanticRelationsPlugin 2021-02-23 08:07:16 UTC (rev 10266)
+++ trunk/pgsrc/Help%2FSemanticRelationsPlugin 2021-02-23 08:19:43 UTC (rev 10267)
@@ -1,4 +1,4 @@
-Date: Mon, 22 Feb 2021 19:16:32 +0000
+Date: Tue, 23 Feb 2021 09:16:17 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FSemanticRelationsPlugin;
@@ -34,8 +34,8 @@
| All
|-
| **units**
+| Not yet implemented.
|
-|
|-
| **noheader**
| Boolean. If true, header should be omitted.
@@ -42,11 +42,10 @@
| false
|-
| **nohelp**
-|
+| Boolean. If true, do not display help.
| false
|}
-
== Example ==
{{{
@@ -59,6 +58,8 @@
* [[Help:Reini Urban|Reini Urban]]
== See Also ==
+* [[SemanticRelations]], [[ListRelations]], [[SemanticSearch]]
+* [[Help:SemanticSearchPlugin|SemanticSearchPlugin]]
<noinclude>
----
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-23 08:07:23
|
Revision: 10266
http://sourceforge.net/p/phpwiki/code/10266
Author: vargenau
Date: 2021-02-23 08:07:16 +0000 (Tue, 23 Feb 2021)
Log Message:
-----------
plugin SearchHighlight: better test boolean argument "case_exact"
Modified Paths:
--------------
trunk/lib/plugin/SearchHighlight.php
trunk/pgsrc/Help%2FSearchHighlightPlugin
Modified: trunk/lib/plugin/SearchHighlight.php
===================================================================
--- trunk/lib/plugin/SearchHighlight.php 2021-02-22 20:47:09 UTC (rev 10265)
+++ trunk/lib/plugin/SearchHighlight.php 2021-02-23 08:07:16 UTC (rev 10266)
@@ -71,6 +71,15 @@
return HTML();
}
extract($args);
+
+ if (($case_exact == '0') || ($case_exact == 'false')) {
+ $case_exact = false;
+ } elseif (($case_exact == '1') || ($case_exact == 'true')) {
+ $case_exact = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "case_exact"));
+ }
+
$html = HTML();
if (!$noheader and isset($request->_searchhighlight)) {
$engine = $request->_searchhighlight['engine'];
Modified: trunk/pgsrc/Help%2FSearchHighlightPlugin
===================================================================
--- trunk/pgsrc/Help%2FSearchHighlightPlugin 2021-02-22 20:47:09 UTC (rev 10265)
+++ trunk/pgsrc/Help%2FSearchHighlightPlugin 2021-02-23 08:07:16 UTC (rev 10266)
@@ -1,4 +1,4 @@
-Date: Sat, 20 Feb 2021 11:52:37 +0000
+Date: Tue, 23 Feb 2021 09:05:00 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FSearchHighlightPlugin;
@@ -26,11 +26,11 @@
| //none//
|-
| **case_exact**
-| Boolean
+| Boolean. If true, highlight only case exact searches.
| false
|-
| **regex**
-| Boolean
+| not yet supported
| false
|}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 20:47:12
|
Revision: 10265
http://sourceforge.net/p/phpwiki/code/10265
Author: vargenau
Date: 2021-02-22 20:47:09 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin RssFeed: better test boolean argument "titleonly"
Modified Paths:
--------------
trunk/lib/plugin/RssFeed.php
Modified: trunk/lib/plugin/RssFeed.php
===================================================================
--- trunk/lib/plugin/RssFeed.php 2021-02-22 20:44:05 UTC (rev 10264)
+++ trunk/lib/plugin/RssFeed.php 2021-02-22 20:47:09 UTC (rev 10265)
@@ -64,6 +64,14 @@
{
extract($this->getArgs($argstr, $request));
+ if (($titleonly == '0') || ($titleonly == 'false')) {
+ $titleonly = false;
+ } elseif (($titleonly == '1') || ($titleonly == 'true')) {
+ $titleonly = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "titleonly"));
+ }
+
$rss_parser = new RSSParser();
if (!empty($url))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 20:44:07
|
Revision: 10264
http://sourceforge.net/p/phpwiki/code/10264
Author: vargenau
Date: 2021-02-22 20:44:05 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin RecentReferrers: better test boolean argument "noheader"
Modified Paths:
--------------
trunk/lib/plugin/RecentReferrers.php
Modified: trunk/lib/plugin/RecentReferrers.php
===================================================================
--- trunk/lib/plugin/RecentReferrers.php 2021-02-22 20:38:42 UTC (rev 10263)
+++ trunk/lib/plugin/RecentReferrers.php 2021-02-22 20:44:05 UTC (rev 10264)
@@ -61,6 +61,16 @@
return HTML::div(array('class' => "error"), _("Error: no ACCESS_LOG"));
}
$args = $this->getArgs($argstr, $request);
+
+ $noheader = $args['noheader'];
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
$table = HTML::table(array('class' => 'pagelist'));
if (!$args['noheader'] and !empty($args['caption']))
$table->pushContent(HTML::caption(array('style' => 'caption-side:top'), $args['caption']));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 20:38:44
|
Revision: 10263
http://sourceforge.net/p/phpwiki/code/10263
Author: vargenau
Date: 2021-02-22 20:38:42 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin PopularNearby: better test boolean argument "noheader"
Modified Paths:
--------------
trunk/lib/plugin/PopularNearby.php
Modified: trunk/lib/plugin/PopularNearby.php
===================================================================
--- trunk/lib/plugin/PopularNearby.php 2021-02-22 20:31:04 UTC (rev 10262)
+++ trunk/lib/plugin/PopularNearby.php 2021-02-22 20:38:42 UTC (rev 10263)
@@ -52,7 +52,7 @@
'mode' => 'nearby', // or 'incoming' or 'outgoing'
//'exclude' => false, // not yet
'limit' => 5,
- 'noheader' => 0,
+ 'noheader' => false,
);
}
@@ -73,6 +73,15 @@
}
extract($args);
+
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
$header = '';
$page = $dbi->getPage($pagename);
switch ($mode) {
@@ -153,7 +162,7 @@
function sortByHits($links)
{
if (!$links) return array();
- usort($links, 'cmp_by_hits'); // php-4.0.6 cannot use methods
+ usort($links, 'cmp_by_hits');
reset($links);
return $links;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 20:31:06
|
Revision: 10262
http://sourceforge.net/p/phpwiki/code/10262
Author: vargenau
Date: 2021-02-22 20:31:04 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin OrphanedPages: better test boolean argument "noheader"
Modified Paths:
--------------
trunk/lib/plugin/OrphanedPages.php
Modified: trunk/lib/plugin/OrphanedPages.php
===================================================================
--- trunk/lib/plugin/OrphanedPages.php 2021-02-22 20:28:30 UTC (rev 10261)
+++ trunk/lib/plugin/OrphanedPages.php 2021-02-22 20:31:04 UTC (rev 10262)
@@ -72,6 +72,14 @@
extract($args);
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
if (($include_empty == '0') || ($include_empty == 'false')) {
$include_empty = false;
} elseif (($include_empty == '1') || ($include_empty == 'true')) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 20:28:36
|
Revision: 10261
http://sourceforge.net/p/phpwiki/code/10261
Author: vargenau
Date: 2021-02-22 20:28:30 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
Update pgsrc/Help%2FOrphanedPagesPlugin
Modified Paths:
--------------
trunk/pgsrc/Help%2FOrphanedPagesPlugin
Modified: trunk/pgsrc/Help%2FOrphanedPagesPlugin
===================================================================
--- trunk/pgsrc/Help%2FOrphanedPagesPlugin 2021-02-22 20:23:02 UTC (rev 10260)
+++ trunk/pgsrc/Help%2FOrphanedPagesPlugin 2021-02-22 20:28:30 UTC (rev 10261)
@@ -1,4 +1,4 @@
-Date: Mon, 22 Feb 2021 19:16:32 +0000
+Date: Mon, 22 Feb 2021 21:27:53 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FOrphanedPagesPlugin;
@@ -31,11 +31,11 @@
|-
| **exclude**
| Comma-separated list of pages to exclude
-|
+| empty
|-
| **info**
-|
-|
+| List of columns to display
+| empty
|-
| **sortby**
|
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 20:23:06
|
Revision: 10260
http://sourceforge.net/p/phpwiki/code/10260
Author: vargenau
Date: 2021-02-22 20:23:02 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin MostPopular: better test boolean argument "noheader"
Modified Paths:
--------------
trunk/lib/plugin/MostPopular.php
Modified: trunk/lib/plugin/MostPopular.php
===================================================================
--- trunk/lib/plugin/MostPopular.php 2021-02-22 20:19:10 UTC (rev 10259)
+++ trunk/lib/plugin/MostPopular.php 2021-02-22 20:23:02 UTC (rev 10260)
@@ -41,7 +41,7 @@
array('pagename' => '[pagename]', // hackish
//'exclude' => '',
'limit' => 20, // limit <0 returns least popular pages
- 'noheader' => 0,
+ 'noheader' => false,
'sortby' => '-hits',
'info' => false,
//'paging' => 'auto'
@@ -66,6 +66,14 @@
extract($args);
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
if (isset($limit) && !is_limit($limit)) {
return HTML::p(array('class' => "error"),
_("Illegal “limit” argument: must be an integer or two integers separated by comma"));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 20:19:13
|
Revision: 10259
http://sourceforge.net/p/phpwiki/code/10259
Author: vargenau
Date: 2021-02-22 20:19:10 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin ListSubpages: better test boolean argument "noheader"
Modified Paths:
--------------
trunk/lib/plugin/ListSubpages.php
Modified: trunk/lib/plugin/ListSubpages.php
===================================================================
--- trunk/lib/plugin/ListSubpages.php 2021-02-22 18:44:04 UTC (rev 10258)
+++ trunk/lib/plugin/ListSubpages.php 2021-02-22 20:19:10 UTC (rev 10259)
@@ -87,6 +87,14 @@
}
extract($args);
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
$content = HTML();
//$subpages = array_reverse($subpages); // TODO: why?
if ($maxpages) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 18:44:06
|
Revision: 10258
http://sourceforge.net/p/phpwiki/code/10258
Author: vargenau
Date: 2021-02-22 18:44:04 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
Extract arguments first
Modified Paths:
--------------
trunk/lib/plugin/LinkSearch.php
Modified: trunk/lib/plugin/LinkSearch.php
===================================================================
--- trunk/lib/plugin/LinkSearch.php 2021-02-22 18:37:22 UTC (rev 10257)
+++ trunk/lib/plugin/LinkSearch.php 2021-02-22 18:44:04 UTC (rev 10258)
@@ -136,6 +136,7 @@
function run($dbi, $argstr, &$request, $basepage)
{
$args = $this->getArgs($argstr, $request);
+ extract($args);
if (($noform == '0') || ($noform == 'false')) {
$noform = false;
@@ -156,7 +157,6 @@
if (empty($args['page']))
$args['page'] = "*";
$form = $this->showForm($dbi, $request, $args);
- extract($args);
if (empty($s))
return $form;
$pagequery = new TextSearchQuery($page, $args['case_exact'], $args['regex']);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 18:37:24
|
Revision: 10257
http://sourceforge.net/p/phpwiki/code/10257
Author: vargenau
Date: 2021-02-22 18:37:22 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin LinkSearch: better test boolean arguments "noform" and "noheader"
Modified Paths:
--------------
trunk/lib/plugin/LinkSearch.php
Modified: trunk/lib/plugin/LinkSearch.php
===================================================================
--- trunk/lib/plugin/LinkSearch.php 2021-02-22 18:28:34 UTC (rev 10256)
+++ trunk/lib/plugin/LinkSearch.php 2021-02-22 18:37:22 UTC (rev 10257)
@@ -137,6 +137,22 @@
{
$args = $this->getArgs($argstr, $request);
+ if (($noform == '0') || ($noform == 'false')) {
+ $noform = false;
+ } elseif (($noform == '1') || ($noform == 'true')) {
+ $noform = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noform"));
+ }
+
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
if (empty($args['page']))
$args['page'] = "*";
$form = $this->showForm($dbi, $request, $args);
@@ -158,7 +174,7 @@
if (!$noheader) {
// We put the form into the caption just to be able to return one pagelist object,
// and to still have the convenience form at the top. we could workaround this by
- // putting the form as WikiFormRich into the actionpage. but thid doesnt look as
+ // putting the form as WikiFormRich into the actionpage. But this does not look as
// nice as this here.
$pagelist->setCaption
( // on mozilla the form doesn't fit into the caption very well.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 18:28:37
|
Revision: 10256
http://sourceforge.net/p/phpwiki/code/10256
Author: vargenau
Date: 2021-02-22 18:28:34 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
include_self and noheader are false
Modified Paths:
--------------
trunk/lib/plugin/IncludeSiteMap.php
trunk/lib/plugin/IncludeTree.php
trunk/lib/plugin/SiteMap.php
Modified: trunk/lib/plugin/IncludeSiteMap.php
===================================================================
--- trunk/lib/plugin/IncludeSiteMap.php 2021-02-22 18:20:51 UTC (rev 10255)
+++ trunk/lib/plugin/IncludeSiteMap.php 2021-02-22 18:28:34 UTC (rev 10256)
@@ -58,8 +58,8 @@
function getDefaultArguments()
{
return array('exclude' => '',
- 'include_self' => 0,
- 'noheader' => 0,
+ 'include_self' => false,
+ 'noheader' => false,
'page' => '[pagename]',
'description' => $this->getDescription(),
'reclimit' => 2,
Modified: trunk/lib/plugin/IncludeTree.php
===================================================================
--- trunk/lib/plugin/IncludeTree.php 2021-02-22 18:20:51 UTC (rev 10255)
+++ trunk/lib/plugin/IncludeTree.php 2021-02-22 18:28:34 UTC (rev 10256)
@@ -45,8 +45,8 @@
function getDefaultArguments()
{
return array('exclude' => '',
- 'include_self' => 0,
- 'noheader' => 0,
+ 'include_self' => false,
+ 'noheader' => false,
'page' => '[pagename]',
'description' => $this->getDescription(),
'reclimit' => 2,
Modified: trunk/lib/plugin/SiteMap.php
===================================================================
--- trunk/lib/plugin/SiteMap.php 2021-02-22 18:20:51 UTC (rev 10255)
+++ trunk/lib/plugin/SiteMap.php 2021-02-22 18:28:34 UTC (rev 10256)
@@ -63,8 +63,8 @@
function getDefaultArguments()
{
return array('exclude' => '',
- 'include_self' => 0,
- 'noheader' => 0,
+ 'include_self' => false,
+ 'noheader' => false,
'page' => '[pagename]',
'description' => $this->getDescription(),
'reclimit' => 4,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 18:20:53
|
Revision: 10255
http://sourceforge.net/p/phpwiki/code/10255
Author: vargenau
Date: 2021-02-22 18:20:51 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
Update pgsrc Help pages
Modified Paths:
--------------
trunk/pgsrc/Help%2FCategoryPagePlugin
trunk/pgsrc/Help%2FGraphVizPlugin
trunk/pgsrc/Help%2FIncludePagesPlugin
trunk/pgsrc/Help%2FIncludeSiteMapPlugin
trunk/pgsrc/Help%2FIncludeTreePlugin
trunk/pgsrc/Help%2FLinkDatabasePlugin
trunk/pgsrc/Help%2FLinkSearchPlugin
trunk/pgsrc/Help%2FOrphanedPagesPlugin
trunk/pgsrc/Help%2FPageList
trunk/pgsrc/Help%2FPopularNearbyPlugin
trunk/pgsrc/Help%2FPopularTagsPlugin
trunk/pgsrc/Help%2FRecentReferrersPlugin
trunk/pgsrc/Help%2FSemanticRelationsPlugin
trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin
trunk/pgsrc/Help%2FSemanticSearchPlugin
trunk/pgsrc/Help%2FSiteMapPlugin
trunk/pgsrc/Help%2FTitleSearchPlugin
trunk/pgsrc/Help%2FUserRatingsPlugin
trunk/pgsrc/Help%2FWantedPagesPlugin
trunk/pgsrc/Help%2FWikiForumPlugin
Modified: trunk/pgsrc/Help%2FCategoryPagePlugin
===================================================================
--- trunk/pgsrc/Help%2FCategoryPagePlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FCategoryPagePlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FCategoryPagePlugin;
@@ -26,7 +26,7 @@
! Default value
|-
| **exclude**
-|
+| Comma-separated list of pages to exclude
| false
|-
| **pagename**
Modified: trunk/pgsrc/Help%2FGraphVizPlugin
===================================================================
--- trunk/pgsrc/Help%2FGraphVizPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FGraphVizPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FGraphVizPlugin;
@@ -45,7 +45,7 @@
|
|-
| **exclude**
-| Exclude pages
+| Comma-separated list of pages to exclude
|
|-
| **help**
Modified: trunk/pgsrc/Help%2FIncludePagesPlugin
===================================================================
--- trunk/pgsrc/Help%2FIncludePagesPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FIncludePagesPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FIncludePagesPlugin;
@@ -28,7 +28,7 @@
| //none//
|-
| **exclude**
-| The pages to exclude
+| Comma-separated list of pages to exclude
| false
|}
Modified: trunk/pgsrc/Help%2FIncludeSiteMapPlugin
===================================================================
--- trunk/pgsrc/Help%2FIncludeSiteMapPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FIncludeSiteMapPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FIncludeSiteMapPlugin;
@@ -26,45 +26,49 @@
! Description
! Default value
|-
-| **direction**
-| Get BackLinks or forward links (links listed on the page)
-|
-|-
-| **firstreversed**
-| If true, get BackLinks for the first page and forward links for the rest. Only applicable when direction = 'forward'.
-|
-|-
-| **excludeunknown**
-| If true (default) then exclude any mentioned pages which don't exist yet. Only applicable when direction = 'forward'.
-|
-|-
| **exclude**
-|
-|
+| Comma-separated list of pages to exclude
+| empty
|-
| **include_self**
-|
-| 0
+| Boolean. If true, include yourself in the results.
+| false
|-
| **noheader**
-|
-| 0
+| Boolean. If true, header should be omitted.
+| false
|-
| **page**
-|
+| Page from which site map starts
| The current page
|-
| **description**
-| Override default Description. Printed as header.
-|
+| Override default description. Printed as header.
+| Default description
|-
| **reclimit**
-|
-| 4
+| Max recursion depth.
+| 2
|-
| **info**
-|
+| Info to display in the table
| false
+|-
+| **direction**
+| Get BackLinks or forward links (links listed on the page)
+| back
+|-
+| **firstreversed**
+| If true, get BackLinks for the first page and forward links for the rest. Only applicable when direction = 'forward'.
+| false
+|-
+| **excludeunknown**
+| If true, exclude any mentioned pages which don't exist yet. Only applicable when direction = 'forward'.
+| true
+|-
+| **includepages**
+| Passed verbatim to the IncludePage plugin.
+| words=50
|}
== Example ==
Modified: trunk/pgsrc/Help%2FIncludeTreePlugin
===================================================================
--- trunk/pgsrc/Help%2FIncludeTreePlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FIncludeTreePlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Sat, 20 Feb 2021 11:52:37 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FIncludeTreePlugin;
@@ -23,24 +23,24 @@
! Default value
|-
| **exclude**
-|
-|
+| Comma-separated list of pages to exclude
+| empty
|-
| **include_self**
-|
-| 0
+| Boolean. If true, include yourself in the results.
+| false
|-
| **noheader**
-|
-| 0
+| Boolean. If true, header should be omitted.
+| false
|-
| **page**
-|
+| The page to start the include tree
| The current page
|-
| **description**
-| Override default Description. Printed as header.
-|
+| Override default description. Printed as header.
+| Default description
|-
| **reclimit**
| Max recursion depth.
@@ -47,7 +47,7 @@
| 2
|-
| **info**
-|
+| Info to display in the table
| false
|-
| **direction**
@@ -62,6 +62,14 @@
| Boolean. If true, then exclude any mentioned pages which don't exist yet. Only applicable when direction = 'forward'.
| true
|-
+| **includepages**
+|
+| words=100
+|-
+| **category**
+|
+| empty
+|-
| **dtree**
|
| true
Modified: trunk/pgsrc/Help%2FLinkDatabasePlugin
===================================================================
--- trunk/pgsrc/Help%2FLinkDatabasePlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FLinkDatabasePlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Sat, 20 Feb 2021 11:52:37 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FLinkDatabasePlugin;
@@ -29,7 +29,7 @@
| html
|-
| **noheader**
-|
+| Boolean. If true, header should be omitted.
| false
|-
| **include_empty**
Modified: trunk/pgsrc/Help%2FLinkSearchPlugin
===================================================================
--- trunk/pgsrc/Help%2FLinkSearchPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FLinkSearchPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Sat, 20 Feb 2021 11:52:37 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FLinkSearchPlugin
@@ -49,7 +49,7 @@
| false
|-
| **noheader**
-| no caption
+| Boolean. If true, header should be omitted.
| false
|}
Modified: trunk/pgsrc/Help%2FOrphanedPagesPlugin
===================================================================
--- trunk/pgsrc/Help%2FOrphanedPagesPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FOrphanedPagesPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Sat, 20 Feb 2021 11:52:37 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FOrphanedPagesPlugin;
@@ -22,7 +22,7 @@
! Default value
|-
| **noheader**
-|
+| Boolean. If true, header should be omitted.
| false
|-
| **include_empty**
@@ -30,8 +30,8 @@
| false
|-
| **exclude**
+| Comma-separated list of pages to exclude
|
-|
|-
| **info**
|
Modified: trunk/pgsrc/Help%2FPageList
===================================================================
--- trunk/pgsrc/Help%2FPageList 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FPageList 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FPageList;
@@ -27,31 +27,31 @@
! Default value
|-
| **info**
-| which columns to display
+| Which columns to display
| pagename
|-
| **exclude**
-| which pages to exclude. Wildcards, comma-separated lists and <!plugin-list !> arrays allowed.
+| Which pages to exclude. Wildcards, comma-separated lists and <!plugin-list !> arrays allowed.
| //none//
|-
| **author**
-| select pages by author; current user by ~[~]
+| Select pages by author; current user by ~[~]
| false
|-
| **owner**
-| select pages by owner; current user by ~[~]
+| Select pages by owner; current user by ~[~]
| false
|-
| **creator**
-| select pages by creator; current user by ~[~]
+| Select pages by creator; current user by ~[~]
| false
|-
| **sortby**
-| select column to sort
+| Select column to sort
| //none//
|-
| **limit**
-| number of rows, or start index and number of rows (see below)
+| Number of rows, or start index and number of rows (see below)
| 50
|-
| **paging**
@@ -67,11 +67,11 @@
| 0
|-
| **comma**
-| condensed comma-separated list, 1 if without links, 2 if with
+| Condensed comma-separated list, 1 if without links, 2 if with
| 0
|-
| **commasep**
-| comma separator
+| Comma separator
| ', '
|-
| **listtype**
Modified: trunk/pgsrc/Help%2FPopularNearbyPlugin
===================================================================
--- trunk/pgsrc/Help%2FPopularNearbyPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FPopularNearbyPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FPopularNearbyPlugin;
@@ -26,7 +26,7 @@
| empty
|-
| **mode**
-| nearby or incoming or outgoing
+| Nearby or incoming or outgoing
| nearby
|-
| **limit**
@@ -34,7 +34,7 @@
| 5
|-
| **noheader**
-| Display header or not
+| Boolean. If true, header should be omitted.
| false
|}
Modified: trunk/pgsrc/Help%2FPopularTagsPlugin
===================================================================
--- trunk/pgsrc/Help%2FPopularTagsPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FPopularTagsPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Fri, 26 Apr 2019 14:32:29 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FPopularTagsPlugin;
@@ -35,8 +35,8 @@
| 5
|-
| **noheader**
-|
-| 0
+| Boolean. If true, header should be omitted.
+| false
|}
== Example ==
Modified: trunk/pgsrc/Help%2FRecentReferrersPlugin
===================================================================
--- trunk/pgsrc/Help%2FRecentReferrersPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FRecentReferrersPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FRecentReferrersPlugin;
@@ -25,7 +25,7 @@
! Default value
|-
| **noheader**
-| do not display header
+| Boolean. If true, header should be omitted.
| false
|-
| **limit**
Modified: trunk/pgsrc/Help%2FSemanticRelationsPlugin
===================================================================
--- trunk/pgsrc/Help%2FSemanticRelationsPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FSemanticRelationsPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FSemanticRelationsPlugin;
@@ -38,7 +38,7 @@
|
|-
| **noheader**
-|
+| Boolean. If true, header should be omitted.
| false
|-
| **nohelp**
Modified: trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin
===================================================================
--- trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FSemanticSearchAdvancedPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FSemanticSearchAdvancedPlugin;
@@ -45,7 +45,7 @@
| false
|-
| **noheader**
-| no caption
+| Boolean. If true, header should be omitted.
| false
|}
Modified: trunk/pgsrc/Help%2FSemanticSearchPlugin
===================================================================
--- trunk/pgsrc/Help%2FSemanticSearchPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FSemanticSearchPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FSemanticSearchPlugin;
@@ -75,11 +75,11 @@
| auto
|-
| **noform**
-| don't show form with results.
+| Boolean. If true, don't show form with results.
| false
|-
| **noheader**
-| no caption
+| Boolean. If true, header should be omitted.
| false
|-
| **info**
Modified: trunk/pgsrc/Help%2FSiteMapPlugin
===================================================================
--- trunk/pgsrc/Help%2FSiteMapPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FSiteMapPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FSiteMapPlugin;
@@ -29,42 +29,42 @@
|-
| **direction**
| Get BackLinks or forward links (links listed on the page)
-|
+| back
|-
| **firstreversed**
-| If true, get BackLinks for the first page and forward links for the rest. Only applicable when direction = 'forward'.
-|
+| Boolean. If true, get BackLinks for the first page and forward links for the rest. Only applicable when direction = 'forward'.
+| false
|-
| **excludeunknown**
-| If true (default) then exclude any mentioned pages which don't exist yet. Only applicable when direction = 'forward'.
-|
+| Boolean. If true, then exclude any mentioned pages which don't exist yet. Only applicable when direction = 'forward'.
+| true
|-
| **exclude**
-|
-|
+| List of pagenames to exclude, separated by comma
+| (empty)
|-
| **include_self**
-|
-| 0
+| Boolean. If true, include yourself in the results.
+| false
|-
| **noheader**
-|
-| 0
+| Boolean. If true, header should be omitted.
+| false
|-
| **page**
-|
+| Page to get SiteMap from
| The current page
|-
| **description**
-| Override default Description. Printed as header.
-|
+| Override default description. Printed as header.
+| Default description
|-
| **reclimit**
-|
+| Maximum recusion level
| 4
|-
| **info**
-|
+| Info to display in the table
| false
|}
Modified: trunk/pgsrc/Help%2FTitleSearchPlugin
===================================================================
--- trunk/pgsrc/Help%2FTitleSearchPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FTitleSearchPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FTitleSearchPlugin;
@@ -36,11 +36,11 @@
| false
|-
| **noheader**
-|
+| Boolean. If true, header should be omitted.
| false
|-
| **exclude**
-|
+| Comma-separated list of pages to exclude
| false
|-
| **info**
Modified: trunk/pgsrc/Help%2FUserRatingsPlugin
===================================================================
--- trunk/pgsrc/Help%2FUserRatingsPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FUserRatingsPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FUserRatingsPlugin;
@@ -51,8 +51,8 @@
| 0
|-
| **noheader**
-|
-| 0
+| Boolean. If true, header should be omitted.
+| false
|-
| **userPage**
|
Modified: trunk/pgsrc/Help%2FWantedPagesPlugin
===================================================================
--- trunk/pgsrc/Help%2FWantedPagesPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FWantedPagesPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FWantedPagesPlugin;
@@ -35,11 +35,11 @@
| 0
|-
| **noheader**
-| do not display header
+| Boolean. If true, header should be omitted.
| false
|-
| **exclude_from**
-| pages to exclude
+| Comma-separated list of pages to exclude
| PgsrcTranslation, InterWikiMap
|-
| **limit**
Modified: trunk/pgsrc/Help%2FWikiForumPlugin
===================================================================
--- trunk/pgsrc/Help%2FWikiForumPlugin 2021-02-22 17:04:18 UTC (rev 10254)
+++ trunk/pgsrc/Help%2FWikiForumPlugin 2021-02-22 18:20:51 UTC (rev 10255)
@@ -1,4 +1,4 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
+Date: Mon, 22 Feb 2021 19:16:32 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Help%2FWikiForumPlugin;
@@ -39,7 +39,7 @@
|
|-
| **noheader**
-| do not display header
+| Boolean. If true, header should be omitted.
| false
|}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 17:04:21
|
Revision: 10254
http://sourceforge.net/p/phpwiki/code/10254
Author: vargenau
Date: 2021-02-22 17:04:18 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin IncludePage: better test boolean arguments "sectionhead" and "quiet"
Modified Paths:
--------------
trunk/lib/plugin/IncludePage.php
Modified: trunk/lib/plugin/IncludePage.php
===================================================================
--- trunk/lib/plugin/IncludePage.php 2021-02-22 16:54:52 UTC (rev 10253)
+++ trunk/lib/plugin/IncludePage.php 2021-02-22 17:04:18 UTC (rev 10254)
@@ -93,6 +93,22 @@
$args = $this->getArgs($argstr, $request);
extract($args);
+ if (($quiet == '0') || ($quiet == 'false')) {
+ $quiet = false;
+ } elseif (($quiet == '1') || ($quiet == 'true')) {
+ $quiet = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "quiet"));
+ }
+
+ if (($sectionhead == '0') || ($sectionhead == 'false')) {
+ $sectionhead = false;
+ } elseif (($sectionhead == '1') || ($sectionhead == 'true')) {
+ $sectionhead = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "sectionhead"));
+ }
+
if ($page) {
// Expand relative page names.
$page = new WikiPageName($page, $basepage);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 16:54:58
|
Revision: 10253
http://sourceforge.net/p/phpwiki/code/10253
Author: vargenau
Date: 2021-02-22 16:54:52 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin FullTextSearch: better test boolean arguments "hilight", "case_exact", "noheader" and "quiet"
Modified Paths:
--------------
trunk/lib/plugin/FullTextSearch.php
Modified: trunk/lib/plugin/FullTextSearch.php
===================================================================
--- trunk/lib/plugin/FullTextSearch.php 2021-02-22 14:14:10 UTC (rev 10252)
+++ trunk/lib/plugin/FullTextSearch.php 2021-02-22 16:54:52 UTC (rev 10253)
@@ -77,8 +77,37 @@
_("You must enter a search term."));
}
extract($args);
- if ($quiet === 'false') {
+
+ if (($hilight == '0') || ($hilight == 'false')) {
+ $hilight = false;
+ } elseif (($hilight == '1') || ($hilight == 'true')) {
+ $hilight = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "hilight"));
+ }
+
+ if (($case_exact == '0') || ($case_exact == 'false')) {
+ $case_exact = false;
+ } elseif (($case_exact == '1') || ($case_exact == 'true')) {
+ $case_exact = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "case_exact"));
+ }
+
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
+ if (($quiet == '0') || ($quiet == 'false')) {
$quiet = false;
+ } elseif (($quiet == '1') || ($quiet == 'true')) {
+ $quiet = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "quiet"));
}
$query = new TextSearchQuery($s, $case_exact, $regex);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 14:14:13
|
Revision: 10252
http://sourceforge.net/p/phpwiki/code/10252
Author: vargenau
Date: 2021-02-22 14:14:10 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin ExternalSearch: better test boolean argument "debug"
Modified Paths:
--------------
trunk/lib/plugin/ExternalSearch.php
Modified: trunk/lib/plugin/ExternalSearch.php
===================================================================
--- trunk/lib/plugin/ExternalSearch.php 2021-02-22 14:08:53 UTC (rev 10251)
+++ trunk/lib/plugin/ExternalSearch.php 2021-02-22 14:14:10 UTC (rev 10252)
@@ -92,6 +92,14 @@
extract($args);
+ if (($debug == '0') || ($debug == 'false')) {
+ $debug = false;
+ } elseif (($debug == '1') || ($debug == 'true')) {
+ $debug = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "debug"));
+ }
+
$posted = $GLOBALS['HTTP_POST_VARS'];
if (in_array('url', array_keys($posted))) {
$s = $posted['s'];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <var...@us...> - 2021-02-22 14:08:54
|
Revision: 10251
http://sourceforge.net/p/phpwiki/code/10251
Author: vargenau
Date: 2021-02-22 14:08:53 +0000 (Mon, 22 Feb 2021)
Log Message:
-----------
plugin BackLinks: better test boolean arguments "noheader" and "include_self"
Modified Paths:
--------------
trunk/lib/plugin/BackLinks.php
Modified: trunk/lib/plugin/BackLinks.php
===================================================================
--- trunk/lib/plugin/BackLinks.php 2021-02-22 12:38:19 UTC (rev 10250)
+++ trunk/lib/plugin/BackLinks.php 2021-02-22 14:08:53 UTC (rev 10251)
@@ -67,6 +67,23 @@
}
extract($args);
+
+ if (($include_self == '0') || ($include_self == 'false')) {
+ $include_self = false;
+ } elseif (($include_self == '1') || ($include_self == 'true')) {
+ $include_self = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "include_self"));
+ }
+
+ if (($noheader == '0') || ($noheader == 'false')) {
+ $noheader = false;
+ } elseif (($noheader == '1') || ($noheader == 'true')) {
+ $noheader = true;
+ } else {
+ return $this->error(sprintf(_("Argument '%s' must be a boolean"), "noheader"));
+ }
+
if (empty($page) and $page != '0') {
return '';
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|