summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNetsurf Administrators <help@netsurf-browser.org>2017-02-04 10:26:54 (GMT)
committer Netsurf Administrators <help@netsurf-browser.org>2017-02-04 10:26:54 (GMT)
commit3d6d89c45fef8afbbc53551ed73aa66a7792e337 (patch)
tree4ca81e350cb17f3a4dd92b8d010024d818e827c8
parent05330c605bfd1aa84331bcc7a833eb2694a48876 (diff)
downloadnetsurf-wiki-setup.tar.gz
netsurf-wiki-setup.tar.bz2
Tweakssetup
-rw-r--r--ikiwiki-bootstrap-theme/page.tmpl18
-rw-r--r--nswiki.setup24
2 files changed, 23 insertions, 19 deletions
diff --git a/ikiwiki-bootstrap-theme/page.tmpl b/ikiwiki-bootstrap-theme/page.tmpl
index 177f1e9..7c01bab 100644
--- a/ikiwiki-bootstrap-theme/page.tmpl
+++ b/ikiwiki-bootstrap-theme/page.tmpl
@@ -104,19 +104,19 @@
<li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
</TMPL_IF>
<TMPL_IF PREFSURL>
- <li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
+ <li><a href="<TMPL_VAR PREFSURL>" style="display:none">Preferences</a></li>
</TMPL_IF>
<TMPL_IF ACTIONS>
<TMPL_LOOP ACTIONS>
<li><TMPL_VAR ACTION></li>
- </TMPL_LOOP>
- </TMPL_IF>
- <TMPL_IF COMMENTSLINK>
- <li><TMPL_VAR COMMENTSLINK></li>
- <TMPL_ELSE>
- <TMPL_IF DISCUSSIONLINK>
- <li><TMPL_VAR DISCUSSIONLINK></li>
- </TMPL_IF>
+ </TMPL_LOOP>
+ </TMPL_IF>
+ <TMPL_IF COMMENTSLINK>
+ <li><TMPL_VAR COMMENTSLINK></li>
+ <TMPL_ELSE>
+ <TMPL_IF DISCUSSIONLINK>
+ <li><TMPL_VAR DISCUSSIONLINK></li>
+ </TMPL_IF>
</TMPL_IF>
</ul>
</TMPL_IF>
diff --git a/nswiki.setup b/nswiki.setup
index 0125de2..539646d 100644
--- a/nswiki.setup
+++ b/nswiki.setup
@@ -12,7 +12,8 @@ wikiname: NetSurf Developers Wiki
# contact email for wiki
#adminemail: me@example.com
# users who are wiki admins
-adminuser: []
+adminuser:
+- http://www.digital-scurf.org/
# users who are banned from the wiki
banned_users: []
# where the source of the wiki is located
@@ -22,11 +23,11 @@ destdir: '/home/netsurf/websites/wiki.netsurf-browser.org/html'
# base url to the wiki
url: 'http://wiki.netsurf-browser.org/'
# url to the ikiwiki.cgi
-cgiurl: ''
+cgiurl: 'http://wiki.netsurf-browser.org/cgi-bin/ikiwiki.cgi'
# do not adjust cgiurl if CGI is accessed via different URL
reverse_proxy: 0
# filename of cgi wrapper to generate
-cgi_wrapper: ''
+cgi_wrapper: '/home/netsurf/websites/wiki.netsurf-browser.org/cgi-bin/ikiwiki.cgi'
# mode for cgi_wrapper (can safely be made suid)
cgi_wrappermode: 06755
# number of seconds to delay CGI requests when overloaded
@@ -36,12 +37,10 @@ cgi_overload_message: ''
# enable optimization of only refreshing committed changes?
only_committed_changes: 0
# rcs backend to use
-rcs: ''
+rcs: git
# plugins to add to the default configuration
add_plugins:
- goodstuff
-- websetup
-- comments
- blogspam
- underlay
- jscalendar
@@ -50,7 +49,6 @@ add_plugins:
- openid
- remove
- pingee
-- moderatedcomments
- attachment
- rename
- htmlscrubber
@@ -60,10 +58,16 @@ add_plugins:
- favicon
- format
- highlight
-- getsource
- edittemplate
+- getsource
# plugins to disable
-disable_plugins: []
+disable_plugins:
+- websetup
+- comments
+- moderatedcomments
+- editpage
+- getsource
+- recentchanges
# additional directory to search for t=emplate files
templatedir: /home/netsurf/websites/wiki.netsurf-browser.org/gitsetup/ikiwiki-bootstrap-theme
# base wiki source location
@@ -79,7 +83,7 @@ prefix_directives: 1
# use page/index.mdwn source files
indexpages: 0
# enable Discussion pages?
-discussion: 1
+discussion: 0
# name of Discussion pages
discussionpage: Discussion
# use elements new in HTML5 like <section>?