From d77bda19b7b1e2383229d5be42bdc82a5e015c09 Mon Sep 17 00:00:00 2001 From: John Bintz <27256+johnbintz@users.noreply.github.com> Date: Tue, 23 Jun 2020 17:56:44 -0400 Subject: [PATCH] always open new links in external windows --- .sandstorm/sandstorm-files.list | 3 +++ .sandstorm/sandstorm-pkgdef.capnp | 2 +- local.php | 1 - local.protected.php | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.sandstorm/sandstorm-files.list b/.sandstorm/sandstorm-files.list index 11ef031..4079c91 100644 --- a/.sandstorm/sandstorm-files.list +++ b/.sandstorm/sandstorm-files.list @@ -507,8 +507,10 @@ opt/app/dokuwiki/inc/init.php opt/app/dokuwiki/inc/io.php opt/app/dokuwiki/inc/lang opt/app/dokuwiki/inc/lang/en/admin.txt +opt/app/dokuwiki/inc/lang/en/edit.txt opt/app/dokuwiki/inc/lang/en/lang.php opt/app/dokuwiki/inc/lang/en/newpage.txt +opt/app/dokuwiki/inc/lang/en/stopwords.txt opt/app/dokuwiki/inc/lessc.inc.php opt/app/dokuwiki/inc/load.php opt/app/dokuwiki/inc/mail.php @@ -516,6 +518,7 @@ opt/app/dokuwiki/inc/media.php opt/app/dokuwiki/inc/pageutils.php opt/app/dokuwiki/inc/parser/handler.php opt/app/dokuwiki/inc/parser/lexer.php +opt/app/dokuwiki/inc/parser/metadata.php opt/app/dokuwiki/inc/parser/parser.php opt/app/dokuwiki/inc/parser/renderer.php opt/app/dokuwiki/inc/parser/xhtml.php diff --git a/.sandstorm/sandstorm-pkgdef.capnp b/.sandstorm/sandstorm-pkgdef.capnp index 19a804a..b0bb456 100644 --- a/.sandstorm/sandstorm-pkgdef.capnp +++ b/.sandstorm/sandstorm-pkgdef.capnp @@ -19,7 +19,7 @@ const pkgdef :Spk.PackageDefinition = ( appTitle = (defaultText = "DokuWiki"), - appVersion = 7, # Increment this for every release. + appVersion = 8, # Increment this for every release. appMarketingVersion = (defaultText = (embed "app-marketing-version")), # Human-readable representation of appVersion. Should match the way you diff --git a/local.php b/local.php index 31a7bcf..3436aac 100644 --- a/local.php +++ b/local.php @@ -9,4 +9,3 @@ */ $conf['showuseras'] = 'username'; -$conf['target']['extern'] = '_blank'; // always open external links in a new window diff --git a/local.protected.php b/local.protected.php index fbc32a3..de390c4 100644 --- a/local.protected.php +++ b/local.protected.php @@ -18,3 +18,4 @@ $conf['userewrite'] = 1; //this makes nice URLs: 0: off 1: .htac $conf['useslash'] = 1; //use slash instead of colon? only when rewrite is on $conf['useacl'] = 1; //Use Access Control Lists to restrict access? $conf['savedir'] = '/var/lib/dokuwiki/data'; //where to store all the files +$conf['target']['extern'] = '_blank'; // always open external links in a new window