From f0f5e4a0e081e06a995bb92ed524c6aba935530a Mon Sep 17 00:00:00 2001 From: Sudaraka Wijesinghe Date: Tue, 28 Aug 2012 06:21:16 +0530 Subject: [PATCH] * Blocked page edit action from dokuwiki.php * Added interwiki link to Arch WIKI and Hanthana WIKI --- conf/interwiki.conf | 3 +++ doku.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/interwiki.conf b/conf/interwiki.conf index 8c3b96e..00301cb 100644 --- a/conf/interwiki.conf +++ b/conf/interwiki.conf @@ -10,6 +10,9 @@ hanthana http://hanthana.org/wiki/{NAME} hanthana.si http://hanthana.org/wiki/Si:{NAME} +arch https://wiki.archlinux.org/index.php/{NAME} +archpkg https://www.archlinux.org/packages/?name={NAME} +archaur https://aur.archlinux.org/packages.php?K={NAME} wp http://en.wikipedia.org/wiki/{NAME} wpfr http://fr.wikipedia.org/wiki/{NAME} diff --git a/doku.php b/doku.php index 9f3acc4..6dc3050 100644 --- a/doku.php +++ b/doku.php @@ -24,7 +24,7 @@ if (isset($_SERVER['HTTP_X_DOKUWIKI_DO'])){ } //Disable over HTTP edits -if(!in_array($ACT, array('show', 'sitemap', 'export'))) $ACT = 'show'; +if(!in_array($ACT, array('show', 'sitemap', 'export_code'))) $ACT = 'show'; // load and initialize the core system require_once(DOKU_INC.'inc/init.php'); -- 2.1.4