summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanguy Ortolo <tanguy+debian@ortolo.eu>2017-04-14 09:23:13 -0400
committerTanguy Ortolo <tanguy+debian@ortolo.eu>2017-04-14 09:23:13 -0400
commit00abc55a254e090b50f469d26a2bf5ebd55989fa (patch)
tree9a25f761997d6dfaafe485dd548e5d1cbae7cbce
parentba2b7c4e3fc5a09928df862aba4d1b4a81bbe3c3 (diff)
debianize
Gbp-Pq: Name debianize.diff
-rw-r--r--conf/dokuwiki.php6
-rw-r--r--install.php12
-rw-r--r--lib/tpl/dokuwiki/tpl_footer.php2
3 files changed, 16 insertions, 4 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php
index 30ed160..90e3961 100644
--- a/conf/dokuwiki.php
+++ b/conf/dokuwiki.php
@@ -13,14 +13,14 @@
/* Basic Settings */
-$conf['title'] = 'DokuWiki'; //what to show in the title
+$conf['title'] = 'Debian DokuWiki'; //what to show in the title
$conf['start'] = 'start'; //name of start page
$conf['lang'] = 'en'; //your language
$conf['template'] = 'dokuwiki'; //see lib/tpl directory
$conf['tagline'] = ''; //tagline in header (if template supports it)
$conf['sidebar'] = 'sidebar'; //name of sidebar in root namespace (if template supports it)
$conf['license'] = 'cc-by-nc-sa'; //see conf/license.php
-$conf['savedir'] = './data'; //where to store all the files
+$conf['savedir'] = '/var/lib/dokuwiki/data'; //where to store all the files
$conf['basedir'] = ''; //absolute dir from serveroot - blank for autodetection
$conf['baseurl'] = ''; //URL to server including protocol - blank for autodetect
$conf['cookiedir'] = ''; //path to use in cookies - blank for basedir
@@ -137,7 +137,7 @@ $conf['rss_update'] = 5*60; //Update the RSS feed every n seconds (
$conf['rss_show_summary'] = 1; //Add revision summary to title? 0|1
/* Advanced Settings */
-$conf['updatecheck'] = 1; //automatically check for new releases?
+$conf['updatecheck'] = 0; //automatically check for new releases?
$conf['userewrite'] = 0; //this makes nice URLs: 0: off 1: .htaccess 2: internal
$conf['useslash'] = 0; //use slash instead of colon? only when rewrite is on
$conf['sepchar'] = '_'; //word separator character in page names; may be a
diff --git a/install.php b/install.php
index ad4384c..0ee22f6 100644
--- a/install.php
+++ b/install.php
@@ -50,16 +50,26 @@ $dokuwiki_hash = array(
'2008-05-04' => '1e5c42eac3219d9e21927c39e3240aad',
'2009-02-14' => 'ec8c04210732a14fdfce0f7f6eead865',
'2009-12-25' => '993c4b2b385643efe5abf8e7010e11f4',
+ '2009-12-25 Debian' => '176d73601d83bfc527d0b3c1841dd78a',
'2010-11-07' => '7921d48195f4db21b8ead6d9bea801b8',
'2011-05-25' => '4241865472edb6fa14a1227721008072',
+ '2011-05-25 Debian' => '9d13793b2c3ca3add78fb4f377a09fce',
'2011-11-10' => 'b46ff19a7587966ac4df61cbab1b8b31',
+ '2011-11-10 Debian' => '71ffd5f350869974405521c958e1058f',
'2012-01-25' => '72c083c73608fc43c586901fd5dabb74',
+ '2012-01-25 Debian' => '46081dd42980f4749050aab36b054fdb',
'2012-09-10' => 'eb0b3fc90056fbc12bac6f49f7764df3',
+ '2012-09-10 Debian' => '16d467163185a85393ec5d970d743c5e',
'2013-05-10' => '7b62b75245f57f122d3e0f8ed7989623',
+ '2013-05-10 Debian' => '7c7771b411bca75d8978cfc79ee4835b',
'2013-12-08' => '263c76af309fbf083867c18a34ff5214',
+ '2013-12-08 Debian' => 'cfa4880a53c4e1e748d459c47de92d22',
'2014-05-05' => '263c76af309fbf083867c18a34ff5214',
+ '2014-05-05 Debian' => 'cfa4880a53c4e1e748d459c47de92d22',
'2015-08-10' => '263c76af309fbf083867c18a34ff5214',
- '2016-06-26' => 'fd3abb6d89853dacb032907e619fbd73'
+ '2015-08-10 Debian' => 'cfa4880a53c4e1e748d459c47de92d22',
+ '2016-06-26' => 'fd3abb6d89853dacb032907e619fbd73',
+ '2016-06-26 Debian' => '42cb3b63be1dcd2f0b52d942c042247b'
);
diff --git a/lib/tpl/dokuwiki/tpl_footer.php b/lib/tpl/dokuwiki/tpl_footer.php
index fa87c61..58ede42 100644
--- a/lib/tpl/dokuwiki/tpl_footer.php
+++ b/lib/tpl/dokuwiki/tpl_footer.php
@@ -24,6 +24,8 @@ if (!defined('DOKU_INC')) die();
src="<?php echo tpl_basedir(); ?>images/button-html5.png" width="80" height="15" alt="Valid HTML5" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" <?php echo $target?>><img
src="<?php echo tpl_basedir(); ?>images/button-css.png" width="80" height="15" alt="Valid CSS" /></a>
+ <a href="http://www.debian.org" title="Run on Debian" <?php echo $target?>><img
+ src="<?php echo tpl_basedir(); ?>images/button-debian.png" width="80" height="15" alt="Run on Debian" /></a>
<a href="http://dokuwiki.org/" title="Driven by DokuWiki" <?php echo $target?>><img
src="<?php echo tpl_basedir(); ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
</div>