diff --git a/build/index.php b/build/index.php index e542829..5bd98fc 100644 --- a/build/index.php +++ b/build/index.php @@ -387,7 +387,7 @@ if($settings->css === "auto") ///////////////////////////////////////////////////////////////////////////// /** The version of Pepperminty Wiki currently running. */ $version = "v0.16-dev"; -$commit = "de61612b18b88b9a2e91d1bc7b85438221d88762"; +$commit = "72825f87552618c6a7bd99507d3b588652eea1f6"; /// Environment /// /** Holds information about the current request environment. */ $env = new stdClass(); @@ -4685,6 +4685,7 @@ register_module([ $content .= "
$settings->sitename doesn't current have the page listing module installed, so HTML rendering of this statistic is currently unavailable. Try contacting $settings->admindetails_name, $settings->sitename's administrator and asking then to install the page-list
module.
Count: " . count($stats->{$_GET["stat"]}->value) . "
\n"; $content .= generate_page_list($stats->{$_GET["stat"]}->value); break; @@ -8034,7 +8035,7 @@ register_module([ statistic_add([ "id" => "orphan-pages", "name" => "Orphan Pages", - "type" => "page", + "type" => "page-list", "update" => function($old_stats) { global $pageindex, $env; @@ -8066,18 +8067,6 @@ register_module([ $result->value = $orphaned_pages; $result->completed = true; return $result; - }, - "render" => function($stats_data) { - global $pageindex; - $result = "Count: " . count($stats_data->value) . "
\n"; - $result .= "$settings->sitename doesn't current have the page listing module installed, so HTML rendering of this statistic is currently unavailable. Try contacting $settings->admindetails_name, $settings->sitename's administrator and asking then to install the page-list
module.
Count: " . count($stats->{$_GET["stat"]}->value) . "
\n"; $content .= generate_page_list($stats->{$_GET["stat"]}->value); break; diff --git a/modules/parser-parsedown.php b/modules/parser-parsedown.php index a954ec1..43a82b8 100644 --- a/modules/parser-parsedown.php +++ b/modules/parser-parsedown.php @@ -74,7 +74,7 @@ register_module([ statistic_add([ "id" => "orphan-pages", "name" => "Orphan Pages", - "type" => "page", + "type" => "page-list", "update" => function($old_stats) { global $pageindex, $env; @@ -106,18 +106,6 @@ register_module([ $result->value = $orphaned_pages; $result->completed = true; return $result; - }, - "render" => function($stats_data) { - global $pageindex; - $result = "Count: " . count($stats_data->value) . "
\n"; - $result .= "