// PukiWiki - Yet another WikiWikiWeb clone
// pukiwiki.ini.php
// Copyright
-// 2002-2016 PukiWiki Development Team
+// 2002-2019 PukiWiki Development Team
// 2001-2002 Originally written by yu-ji
// License: GPL v2 or (at your option) any later version
//
// Sample:
//$adminpass = 'pass'; // Cleartext
//$adminpass = '{x-php-md5}1a1dc91c907325c69271ddf0c944bc72'; // PHP md5() 'pass'
+//$adminpass = '{x-php-sha256}d74ff0ee8da3b9806b18c877dbf29bbde50b5bd8e4dad7a3a725000feb82e8f1'; // PHP sha256 'pass'
//$adminpass = '{CRYPT}$1$AR.Gk94x$uCe8fUUGMfxAPH83psCZG/'; // LDAP CRYPT 'pass'
//$adminpass = '{MD5}Gh3JHJBzJcaScd3wyUS8cg=='; // LDAP MD5 'pass'
//$adminpass = '{SMD5}o7lTdtHFJDqxFOVX09C8QnlmYmZnd2Qx'; // LDAP SMD5 'pass'
+//$adminpass = '{SHA256}10/w7o2juYBrGMh32/KbveULW9jk2tejpyUAD+uC6PE=' // LDAP SHA256 'pass'
/////////////////////////////////////////////////
// Page-reading feature settings
),
*/
);
+// AutoTicketLink - JIRA Default site
+/*
+$ticket_jira_default_site = array(
+ 'title' => 'My JIRA - $1',
+ 'base_url' => 'https://issues.example.com/jira/browse/',
+);
+//*/
+
+/////////////////////////////////////////////////
+// Show External Link Cushion Page
+// 0: Disabled
+// 1: Enabled
+$external_link_cushion_page = 0;
+$external_link_cushion = array(
+ // Wait N seconds before jumping to an external site
+ 'wait_seconds' => 5,
+ // Internal site domain list
+ 'internal_domains' => array(
+ 'localhost',
+ // '*.example.com',
+ ),
+ // Don't show extenal link icons on these domains
+ 'silent_external_domains' => array(
+ 'pukiwiki.osdn.jp',
+ 'pukiwiki.example.com',
+ ),
+);
+
+/////////////////////////////////////////////////
+// Show Topicpath title
+// 0: Disabled
+// 1: Enabled
+$topicpath_title = 1;
+
+/////////////////////////////////////////////////
+// Output HTML meta Referrer Policy
+// Value: '' (default), no-referrer, origin, same-origin, ...
+// Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
+$html_meta_referrer_policy = '';
+
+/////////////////////////////////////////////////
+// Output custom HTTP response headers
+$http_response_custom_headers = array(
+ // 'Strict-Transport-Security: max-age=86400',
+ // 'X-Content-Type-Options: nosniff',
+);
/////////////////////////////////////////////////
// $whatsnew: Max number of RecentChanges
-$maxshow = 60;
+$maxshow = 500;
// $whatsdeleted: Max number of RecentDeleted
// (0 = Disabled)
-$maxshow_deleted = 60;
+$maxshow_deleted = 200;
/////////////////////////////////////////////////
// Page names can't be edit via PukiWiki
$usedatetime = 1;
/////////////////////////////////////////////////
+// Logging updates (0 or 1)
+$logging_updates = 0;
+$logging_updates_log_dir = '/var/log/pukiwiki';
+
+/////////////////////////////////////////////////
// User-Agent settings
//
// If you want to ignore embedded browsers for rich-content-wikisite,