Project

General

Profile

« Previous | Next » 

Revision 13745

merged inputs/VegBIEN into schemas/VegBIEN, since for the purposes of the data dictionary URLs, VegBIEN is primarily an exchange schema

View differences:

trunk/inputs/VegBIEN/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3

  
4
SetEnvIf Request_URI ^ innermost_dir=VegBIEN
5

  
6
# dir without trailing / is provided as an absolute filesystem path
7
RewriteCond %{ENV:innermost_dir} =VegBIEN
8
RewriteCond $0 ^/ [ornext]
9
RewriteCond /$0 ^(.*)$
10
RewriteRule ^.+$ db%1 [discardpath,last,noescape,qsappend]
trunk/inputs/VegBIEN/Makefile
1
include ../input.Makefile
trunk/inputs/VegBIEN/Redmine/wiki/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /VegBIEN/Redmine/wiki/
4

  
5
SetEnvIf Request_URI ^ innermost_dir=wiki
6

  
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteCond %{ENV:innermost_dir} =wiki
9
RewriteCond $0 ^(?!/)(.+)$ [ornext]
10
RewriteCond - ()
11
RewriteRule ^.+$ ../main/wiki/%1 [discardpath,last,noescape,qsappend]
trunk/inputs/VegBIEN/Redmine/main/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3

  
4
SetEnvIf Request_URI ^ innermost_dir=main
5

  
6
# dir without trailing / is provided as an absolute filesystem path
7
RewriteCond %{ENV:innermost_dir} =main
8
RewriteCond $0 ^/ [ornext]
9
RewriteCond /$0 ^(.*)$
10
RewriteRule ^.+$ https://projects.nceas.ucsb.edu/nceas/projects/bien%1 [discardpath,last,noescape,qsappend]
trunk/inputs/VegBIEN/Redmine/svn/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /VegBIEN/Redmine/svn/
4

  
5
SetEnvIf Request_URI ^ innermost_dir=svn
6

  
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteCond %{ENV:innermost_dir} =svn
9
RewriteCond $0 ^/ [ornext]
10
RewriteCond /$0 ^(.*)$
11
RewriteRule ^.+$ https://code.nceas.ucsb.edu/code/projects/bien/trunk%1 [discardpath,last,noescape,qsappend]
trunk/inputs/VegBIEN/Redmine/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3

  
4
SetEnvIf Request_URI ^ innermost_dir=Redmine
5

  
6
# dir without trailing / is provided as an absolute filesystem path
7
RewriteCond %{ENV:innermost_dir} =Redmine
8
RewriteCond $0 ^/ [ornext]
9
RewriteCond /$0 ^(.*)$
10
RewriteRule ^.+$ wiki%1 [discardpath,last,noescape,qsappend]
trunk/inputs/VegBIEN/Redmine/svn-web/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /VegBIEN/Redmine/svn-web/
4

  
5
SetEnvIf Request_URI ^ innermost_dir=svn-web
6

  
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteCond %{ENV:innermost_dir} =svn-web
9
RewriteCond $0 ^/ [ornext]
10
RewriteCond /$0 ^(.*)$
11
RewriteRule ^.+$ ../main/repository/entry%1 [discardpath,last,noescape,qsappend]
trunk/inputs/VegBIEN/db/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3

  
4
SetEnvIf Request_URI ^ innermost_dir=db
5

  
6
# dir without trailing / is provided as an absolute filesystem path
7
RewriteCond %{ENV:innermost_dir} =db
8
RewriteCond $0 ^/ [ornext]
9
RewriteCond /$0 ^(.*)$
10
RewriteRule ^.+$ /servers/vegbiendev/vegbien%1 [discardpath,last,noescape,qsappend]
trunk/inputs/VegBIEN/planning
1
link fs/planning
2 0

  
trunk/inputs/VegBIEN/TWiki/twiki.conf
1
# Autogenerated httpd.conf file for TWiki.
2
# Generated at http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator
3

  
4
# IMPORTANT NOTE: Make sure to enable mod_cgid in the primary apache configuration file.
5

  
6
# We set an environment variable called blockAccess.
7
#
8
# Setting a BrowserMatchNoCase to ^$ is important. It prevents TWiki from
9
# including its own topics as URLs and also prevents other TWikis from
10
# doing the same. This is important to prevent the most obvious
11
# Denial of Service attacks.
12
#
13
# You can expand this by adding more BrowserMatchNoCase statements to
14
# block evil browser agents trying the impossible task of mirroring a twiki
15
#
16
# Example:
17
# BrowserMatchNoCase ^SiteSucker blockAccess
18
# BrowserMatchNoCase ^$ blockAccess
19

  
20
BrowserMatchNoCase ^Accoona blockAccess
21
BrowserMatchNoCase ^ActiveAgent blockAccess
22
BrowserMatchNoCase ^Attache blockAccess
23
BrowserMatchNoCase BecomeBot blockAccess
24
BrowserMatchNoCase ^bot blockAccess
25
BrowserMatchNoCase Charlotte/ blockAccess
26
BrowserMatchNoCase ^ConveraCrawler blockAccess
27
BrowserMatchNoCase ^CrownPeak-HttpAgent blockAccess
28
BrowserMatchNoCase ^EmailCollector blockAccess
29
BrowserMatchNoCase ^EmailSiphon blockAccess
30
BrowserMatchNoCase ^e-SocietyRobot blockAccess
31
BrowserMatchNoCase ^Exabot blockAccess
32
BrowserMatchNoCase ^FAST blockAccess
33
BrowserMatchNoCase ^FDM blockAccess
34
BrowserMatchNoCase ^GetRight/6.0a blockAccess
35
BrowserMatchNoCase ^GetWebPics blockAccess
36
BrowserMatchNoCase ^Gigabot blockAccess
37
BrowserMatchNoCase ^gonzo1 blockAccess
38
BrowserMatchNoCase ^Google\sSpider blockAccess
39
BrowserMatchNoCase ^ichiro blockAccess
40
BrowserMatchNoCase ^ie_crawler blockAccess
41
BrowserMatchNoCase ^iGetter blockAccess
42
BrowserMatchNoCase ^IRLbot blockAccess
43
BrowserMatchNoCase Jakarta blockAccess
44
BrowserMatchNoCase ^Java blockAccess
45
BrowserMatchNoCase ^KrakSpider blockAccess
46
BrowserMatchNoCase ^larbin blockAccess
47
BrowserMatchNoCase ^LeechGet blockAccess
48
BrowserMatchNoCase ^LinkWalker blockAccess
49
BrowserMatchNoCase ^Lsearch blockAccess
50
BrowserMatchNoCase ^Microsoft blockAccess
51
BrowserMatchNoCase ^MJ12bot blockAccess
52
BrowserMatchNoCase MSIECrawler blockAccess
53
BrowserMatchNoCase ^MSRBOT blockAccess
54
BrowserMatchNoCase ^noxtrumbot blockAccess
55
BrowserMatchNoCase ^NutchCVS blockAccess
56
BrowserMatchNoCase ^RealDownload blockAccess
57
BrowserMatchNoCase ^Rome blockAccess
58
BrowserMatchNoCase ^Roverbot blockAccess
59
BrowserMatchNoCase ^schibstedsokbot blockAccess
60
BrowserMatchNoCase ^Seekbot blockAccess
61
BrowserMatchNoCase ^SiteSnagger blockAccess
62
BrowserMatchNoCase ^SiteSucker blockAccess
63
BrowserMatchNoCase ^Snapbot blockAccess
64
BrowserMatchNoCase ^sogou blockAccess
65
BrowserMatchNoCase ^SpiderKU blockAccess
66
BrowserMatchNoCase ^SpiderMan blockAccess
67
BrowserMatchNoCase ^Squid blockAccess
68
BrowserMatchNoCase ^Teleport blockAccess
69
BrowserMatchNoCase ^User-Agent\: blockAccess
70
BrowserMatchNoCase VoilaBot blockAccess
71
BrowserMatchNoCase ^voyager blockAccess
72
BrowserMatchNoCase ^W3C blockAccess
73
BrowserMatchNoCase ^w3search blockAccess
74
BrowserMatchNoCase ^Web\sDownloader blockAccess
75
BrowserMatchNoCase ^WebCopier blockAccess
76
BrowserMatchNoCase ^WebDevil blockAccess
77
BrowserMatchNoCase ^WebSec blockAccess
78
BrowserMatchNoCase ^WebVac blockAccess
79
BrowserMatchNoCase ^Webwhacker blockAccess
80
BrowserMatchNoCase ^Webzip blockAccess
81
BrowserMatchNoCase ^Wells blockAccess
82
BrowserMatchNoCase ^WhoWhere blockAccess
83
BrowserMatchNoCase www\.netforex\.org blockAccess
84
BrowserMatchNoCase ^WX_mail blockAccess
85
BrowserMatchNoCase ^yacybot blockAccess
86
BrowserMatchNoCase ^ZIBB blockAccess
87
BrowserMatchNoCase ^$ blockAccess
88

  
89
<IfModule mod_perl.c>
90
	# Mod_perl preloading
91
	PerlSwitches -T
92
</IfModule>
93

  
94
# The ScriptAlias defines the bin directory as a directory where CGI
95
# scripts are allowed.
96
# The first parameter will be part of the URL to your installation e.g.
97
# http://example.com/do/view/...
98
# The second parameter must point to the physical path on your disc.
99
ScriptAlias /twiki/do "/home/bien/svn/web/.twiki/bin"
100

  
101
# The Alias defines a url that points to the twiki pub directory, which
102
# is the root of file attachments.
103
Alias /twiki/pub "/home/bien/svn/web/.twiki/pub"
104
Alias /twiki "/home/bien/svn/web/.twiki"
105

  
106
# Block access to typical spam related attachments
107
# Except the TWiki directory which is read only and does have attached html files.
108
SetEnvIf Request_URI "/twiki/pub/.*\.[hH][tT][mM][lL]?$" blockAccess
109
SetEnvIf Request_URI "/twiki/pub/TWiki/.*\.[hH][tT][mM][lL]?$" !blockAccess
110

  
111
# This specifies the options on the TWiki scripts directory. The ExecCGI
112
# and SetHandler tell apache that it contains scripts. "Require all granted"
113
# lets any IP address access this URL.
114
<Directory "/home/bien/svn/web/.twiki/bin">
115
	AllowOverride None
116
	Require all granted
117
	Deny from env=blockAccess
118

  
119
	Options ExecCGI FollowSymLinks
120
	SetHandler cgi-script
121

  
122
	# Password file for TWiki users
123
	#AuthUserFile /home/bien/svn/web/.twiki/data/.htpasswd
124
	#AuthName 'Enter your WikiName: (First name and last name, no space, no dots, capitalized, e.g. JohnSmith)'
125
	#AuthType Basic
126

  
127
	# File to return on access control error (e.g. wrong password)
128
	ErrorDocument 401 /twiki/do/view/TWiki/ResetPassword
129

  
130

  
131

  
132
</Directory>
133

  
134
<Directory "/home/bien/svn/web/.twiki">
135
	Require all granted
136
	Deny from env=blockAccess
137

  
138
	RedirectMatch ^/twiki/([A-Z0-9].*)?$ /twiki/do/view/Main/$1
139

  
140
	# File to return on access control error (e.g. wrong password)
141
	ErrorDocument 401 /twiki/do/view/TWiki/ResetPassword
142
</Directory>
143

  
144
# This sets the options on the pub directory, which contains attachments and
145
# other files like CSS stylesheets and icons. AllowOverride None stops a
146
# user installing a .htaccess file that overrides these options.
147
# Note that files in pub are *not* protected by TWiki Access Controls,
148
# so if you want to control access to files attached to topics you need to
149
# block access to the specific directories same way as the ApacheConfigGenerator
150
# blocks access to the pub directory of the Trash web
151
<Directory "/home/bien/svn/web/.twiki/pub">
152
	#Options None
153
	Options FollowSymLinks
154
	AllowOverride None
155
	Require all granted
156
	Deny from env=blockAccess
157

  
158
	# Disable execusion of PHP scripts
159
	php_admin_flag engine off
160

  
161
	# This line will redefine the mime type for the most common types of scripts
162
	AddType text/plain .shtml .php .php3 .phtml .phtm .pl .py .cgi
163

  
164
#add an Expires header that is sufficiently in the future that the browser does not even ask if its uptodate
165
# reducing the load on the server significantly
166
#IF you can, you should enable this - it _will_ improve your twiki experience, even if you set it to under one day.
167
# you may need to enable expires_module in your main apache config
168
#LoadModule expires_module libexec/httpd/mod_expires.so
169
#AddModule mod_expires.c
170
#<ifmodule mod_expires.c>
171
#  <filesmatch "\.(jpg|gif|png|css|js)$">
172
#		ExpiresActive on
173
#		ExpiresDefault "access plus 11 days"
174
#	</filesmatch>
175
#</ifmodule>
176

  
177
</Directory>
178

  
179
# Spammers are known to attach their stuff and then move it to trash where it remains unnoticed.
180
# We prevent viewing any attachments directly from pub
181
<Directory "/home/bien/svn/web/.twiki/pub/Trash">
182
   deny from all
183
</Directory>
184

  
185

  
trunk/inputs/VegBIEN/TWiki/templates/login.tmpl
1
%{ This is a default template }%%TMPL:INCLUDE{"twiki"}%
2

  
3
%TMPL:DEF{"webaction"}%%MAKETEXT{"TWiki User Authentication"}%%TMPL:END%
4
%TMPL:DEF{"titleaction"}%%MAKETEXT{"(login)"}% %TMPL:END%
5
%TMPL:DEF{"LOG_IN_BANNER"}%%TMPL:END%
6
%TMPL:DEF{"LOGGED_IN_BANNER"}%%MAKETEXT{"[_1] is currently logged in" args="%USERSWEB%.%WIKINAME%"}%%TMPL:END%
7
%TMPL:DEF{"NEW_USER_NOTE"}%%MAKETEXT{"Enter a new username and password to change identity"}%%TMPL:END%
8
%TMPL:DEF{"UNRECOGNISED_USER"}%%MAKETEXT{"Oops: we could not recognize you. Try again or [[[_1]][reset your password]]." args="%SYSTEMWEB%.ResetPassword"}%%TMPL:END%
9

  
10
%TMPL:DEF{"pagetitle"}%%TMPL:END%
11

  
12
%TMPL:DEF{"titleaction"}%%MAKETEXT{"([_1] login)" args="<nop>%WIKITOOLNAME%"}%%TMPL:END%
13

  
14
%TMPL:DEF{"title"}%---++ %MAKETEXT{"Please enter your username and password"}%
15
<p>&nbsp;</p>
16
---+ *<span style="line-height: normal; font-size: 140%;">%MAKETEXT{"If you do not have an account,<br/>[[TWiki.TWikiRegistration][click here to register]]"}%</span>*
17
%TMPL:END%
18

  
19
%TMPL:DEF{"titlestep"}%<div class="twikiFormStep">
20
%TMPL:P{"title"}%
21
%TMPL:P{"notestep"}%
22
%TMPL:P{"errorstep"}%</div><!-- /twikiFormStep-->%TMPL:END%
23

  
24

  
25
%TMPL:DEF{"notestep"}%<div style="display:%IF{'defined ERROR or defined NOTE or defined BANNER' then='block' else='none'}%;">
26
%IF{"defined NOTE AND $NOTE != ''" then='---+++ %NOTE%'}%</div>%TMPL:END%
27

  
28

  
29
%TMPL:DEF{"errorstep"}%%IF{"defined BANNER AND $BANNER != ''" then='<div class="twikiNotification twikiAlert twikiUnvisited patternLoginNotification">%BANNER%%IF{"defined ERROR AND $ERROR != ''" then='<!--%TMPL:P{"error"}%-->'}%</div>'}%%TMPL:END%
30

  
31
%TMPL:DEF{"error"}%%MAKETEXT{"Error: [_1]" args="%ERROR%"}%%TMPL:END%
32

  
33
%TMPL:DEF{"authrealm"}%%AUTHREALM%%TMPL:END%
34

  
35
%TMPL:DEF{"formstart"}%<form action='%SCRIPTURLPATH{"login"}%/%WEB%/%TOPIC%' name='loginform' method='post'>%TMPL:END%
36

  
37
%TMPL:DEF{"formend"}%<literal>
38
%QUERYPARAMS{encoding="entity" format="<input type='hidden' name='$name' value='$value' />"}%
39
</literal><input type="hidden" name="origurl" value="%ORIGURL%" /></form>%TMPL:END%
40

  
41
%TMPL:DEF{"usernamefield"}%<input tabindex='1' type='text' class='twikiInputField twikiFocus' size='40' name='username' value='%URLPARAM{"usernamestep"}%' %TMPL:P{context="no_auto_complete_login" then="autocomplete_off"}% />%TMPL:END%
42

  
43
%TMPL:DEF{"usernamestep"}%<div class="twikiFormStep">
44
---+++ %MAKETEXT{"Username"}%
45

  
46
%TMPL:P{"usernamefield"}% %TMPL:P{"usernamefieldhelp"}%
47

  
48
</div><!-- /twikiFormStep-->%TMPL:END%
49

  
50
%TMPL:DEF{"usernamenote"}%%TMPL:P{"authrealm"}%%TMPL:END%
51

  
52
%TMPL:DEF{"usernamefieldhelp"}%%TWISTY{mode="span" showlink="%MAKETEXT{"Help"}%" hidelink="%MAKETEXT{"Hide help"}%" remember="on"}% <div class="twikiHelp">%TMPL:P{"usernamenote"}%</div> %ENDTWISTY%%TMPL:END%
53

  
54
%TMPL:DEF{"passwordfield"}%<input tabindex='2' type='password' class='twikiInputField' size='40' name='password' value='' %TMPL:P{context="no_auto_complete_login" then="autocomplete_off"}% />%TMPL:END%
55

  
56
%TMPL:DEF{"autocomplete_off"}% autocomplete='off' %TMPL:END%
57

  
58
%TMPL:DEF{"passwordfieldnoteremember"}%%TMPL:P{"passwordfield"}% %TMPL:P{"passwordnote"}%
59
%TMPL:P{context="can_remember_login" then="rememberbox"}%%TMPL:END%
60

  
61
%TMPL:DEF{"passwordstep"}%<div class="twikiFormStep">
62
---+++ %MAKETEXT{"Password"}%
63

  
64
%TMPL:P{"passwordfieldnoteremember"}%
65
</div><!-- /twikiFormStep-->%TMPL:END%
66

  
67
%TMPL:DEF{"passwordnote"}%<span class="twikiUnvisited">[[%SYSTEMWEB%.ResetPassword][%MAKETEXT{"I forgot my password"}%]]</span>%TMPL:END%
68

  
69
%TMPL:DEF{"rememberbox"}%%BR%<input tabindex='3' id="remember" name="remember" type="checkbox" value="1" /><label for="remember">&nbsp;%MAKETEXT{"Remember me on this computer"}%</label>%TMPL:END%
70

  
71
%TMPL:DEF{"submitstep"}%<div class="twikiFormStep">%TMPL:P{"submit"}%</div><!-- /twikiFormStep-->%TMPL:END%
72

  
73
%TMPL:DEF{"submit"}%<input tabindex='4' type='submit' class='twikiSubmit' value='%MAKETEXT{"Logon"}%' />%TMPL:END%
74

  
75
%{ please keep the spaces between the div and the TMPL seealsonote, it allows TWiki to process the emailaddress }%
76
%TMPL:DEF{"seealsostep"}%<div class="twikiFormStep twikiGrayText twikiLast"> %TMPL:P{"seealsonote"}% </div><!-- /twikiFormStep-->%TMPL:END%
77

  
78
%TMPL:DEF{"seealsonote"}% %MAKETEXT{"If you have any questions, please contact [_1]" args="%IF{"defined WIKIWEBMASTER AND $WIKIWEBMASTER != ''" then="%WIKIWEBMASTER%" else="your TWiki administrator"}%"}% %TMPL:END%
79

  
80
%TMPL:DEF{"form"}%<div id="twikiLogin">
81
<div class="twikiFormSteps">%TMPL:P{"formstart"}%%TMPL:P{"titlestep"}%
82
%TMPL:P{"usernamestep"}%%TMPL:P{"passwordstep"}%%TMPL:P{"submitstep"}%
83
%TMPL:P{"formend"}%
84
%TMPL:P{"seealsostep"}%
85
</div><!-- /twikiFormSteps-->
86
</div><!-- /twikiLogin-->%TMPL:END%
87

  
88
%TMPL:DEF{"content"}%%TMPL:P{"form"}%%TMPL:END%
trunk/inputs/VegBIEN/TWiki/.rsync_filter.vegbiendev.download
1
exclude /**
trunk/inputs/VegBIEN/TWiki/.rsync_filter.starscream.upload
1
exclude /**
trunk/inputs/VegBIEN/TWiki/data/Main/TWikiPreferences.txt
1
%META:TOPICINFO{author="BaseUserMapping_333" date="1366699085" format="1.1" version="1.9"}%
2
---+!! %MAKETEXT{"Local customisations of site-wide preferences"}%
3

  
4
<div class="twikiHelp">%ICON{"info"}% %MAKETEXT{"Site-level preferences are located in [_1], however this [_2] prefs topic has override priority and should be used for local customisations. This allows for easier upgrades as you don't need to worry about the shipped preferences clobbering yours. It's easier to keep a handle on if you only copy over the settings you actually change." args="[[%SYSTEMWEB%.%TOPIC%]], [[%USERSWEB%.%TOPIC%]]"}% </div>
5

  
6
%EDITPREFERENCES{"%SYSTEMWEB%/TWikiPreferencesForm"}%
7
%IF{"$ SCRIPTNAME != 'viewauth%SCRIPTSUFFIX%'" then="<span class='twikiGrayText'>%MAKETEXT{"Quick edit of existing preferences (edit the topic text to set new preferences)"}%</span>" }%
8

  
9
---++ Site Specific Site-wide Preferences
10
<!-- Add site-wide preferences here -->
11

  
12
      * Set FORCENEWREVISIONCHECKBOX = checked="checked"
13
      * Set DONTNOTIFYCHECKBOX = checked="checked"
14

  
15

  
16

  
17
---++ Final Preferences
18

  
19
   * =FINALPREFERENCES= locks site-level preferences that are *not* allowed to be overridden by [[%WEBPREFSTOPIC%]] or user preferences:
20
      * Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, TWIKILAYOUTURL, TWIKISTYLEURL, TWIKICOLORSURL, USERSWEB, SYSTEMWEB, DOCWEB
21

  
22
---++ Security Settings
23

  
24
   * Only TWiki administrators are allowed to change this topic:
25
      * Set ALLOWTOPICCHANGE = TWikiAdminGroup
26
      * Set ALLOWTOPICRENAME = TWikiAdminGroup
27
   * Disable WYSIWYG editor for this preferences topic only:
28
      * Local TINYMCEPLUGIN_DISABLE = on
29

  
30
__Related topics:__ [[%SYSTEMWEB%.%TOPIC%]], [[%SYSTEMWEB%.TWikiVariables][TWikiVariables]], [[%SYSTEMWEB%.TWikiAccessControl][TWikiAccessControl]]
trunk/inputs/VegBIEN/TWiki/data/TWiki/TinyMCEPlugin.txt
1
%META:TOPICINFO{author="TWikiContributor" date="1310334724" format="1.1" version="13"}%
2
---+!! !TinyMCEPlugin
3
<!--
4
   Contributions to this plugin are appreciated. Please update the plugin page at
5
   http://twiki.org/cgi-bin/view/Plugins/TinyMCEPlugin or provide feedback at
6
   http://twiki.org/cgi-bin/view/Plugins/TinyMCEPluginDev.
7
   If you are a TWiki contributor please update the plugin in the SVN repository.
8

  
9
   * Set SHORTDESCRIPTION = Integration of the !TinyMCE WYSIWYG Editor
10
-->
11
<sticky><div style="float:right; margin:0 0 20px 20px;">
12
<div style="background-color:#EBEEF0; padding: 0 10px 0 10px;">
13
%TOC{title="Page contents"}%
14
</div>
15
<img src="%ATTACHURL%/screenshot.gif" alt="" width="400" height="278" />
16
</div></sticky>
17
%SHORTDESCRIPTION%
18

  
19
---++ Introduction
20

  
21
This is an integration of the <a href="http://tinymce.moxiecode.com?id=powered_by_tinymce_mini"><img src="http://tinymce.sourceforge.net/buttons/tinymce_button.png" border="0" width="80" height="15" alt="TinyMCE" /></a> WYSIWYG editor. This is great little editor, fast and highly functional, and supporting a wide range of browsers, including Firefox, IE and Safari. At the time of writing it doesn't work with Opera or Konqueror.
22

  
23
The integration uses the TWiki:Plugins.WysiwygPlugin to translate text to and from a format that !TinyMCE can edit.
24

  
25
Unlike the other editor integrations in TWiki, which install "Word in a Browser" style editors, this plugin is able to swap out the _standard_ text areas in an edit and replace them with WYSIWYG editors. This means you get WYSIWYG editors for textareas in forms, as well as for the main text of the topic. It can also co-exist alongside other WYSIWYG editors, such as Kupu.
26

  
27
The editor automatically "switches itself off" (i.e. reverts to the old text-only window) when editing topics that contain TWiki content it can't handle, such as complex TWiki variables.
28

  
29
---++ Editor Notes
30

  
31
The editor uses a translator module to convert from TWiki markup language (TML) to HTML and back. The translator converts special TWiki tags - such as %<nop>VARIABLES% - to plain text, and encloses them within HTML spans using a special style called =WYSIWYG_PROTECTED=. In this way the editor can detect text that is not meant to be HTML formatted. This style is _also_ used to protect special text you enter into the editor from being interpreted when the topic is translated back into TML. If you want to add any special TWiki features that are sensitive to formatting, such as =Set= statements, then you have to format those regions using 'Protect on save' or 'Protect forever'.
32

  
33
---++ Installation Instructions
34

  
35
__NOTES:__
36

  
37
   * This plugin comes pre-installed on TWiki. You should only need to re-install if there is an upgrade to the plugin.
38
   * It requires the very latest revision of WysiwygPlugin. It will *not* work with the version shipped with TWiki 4.1.2.
39
   * When installed, it *replaces* the old "textarea" editor. If you want to maintain access to the old editor from the standard screens, follow the instructions under [[#InstallingOnOldTWikis][Configuring the buttons on TWiki < 4.2.0]].
40

  
41
First follow the installation instructions to install the Plugin:
42

  
43
   * For an __automated installation__, run the [[%SCRIPTURL{configure}%][configure]] script and follow "Find More Extensions" in the in the __Extensions__ section.
44
      * See the [[http://twiki.org/cgi-bin/view/Plugins/BuildContribInstallationSupplement][installation supplement]] on TWiki.org for more information.
45

  
46
   * Or, follow these __manual installation__ steps:
47
      * Download the ZIP file from the extension home on twiki.org (see below).
48
      * Unzip ==%TOPIC%.zip== in your twiki installation directory.
49
      * Set the ownership of the extracted directories and files to the webserver user.
50
      * Install the dependencies (if any).
51

  
52
   * Plugin __configuration and testing__: 
53
      * Run the [[%SCRIPTURL{configure}%][configure]] script and enable the plugin in the __Plugins__ section.
54
      * Configure additional plugin settings in the __Extensions__ section if needed.
55
      * Test if the installation was successful using the examples provided.
56

  
57

  
58
   * *Enable* the WysiwygPlugin in =configure=.
59
   * *Enable* the TinyMCEPlugin in =configure=.
60
   * *Click* on edit of any topic.
61

  
62
---++ Settings
63

  
64
You can override this setting by defining TINYMCEPLUGIN_DEBUG to enable some simple debug features.
65
   * Set DEBUG = 0
66

  
67
This setting contains all the options passed to the !TinyMCE editor on startup. For a full explanation of the available options, and guidance on reconfiguring !TinyMCE, see the [[http://wiki.moxiecode.com/index.php/TinyMCE:Configuration][Moxicode TinyMCE Wiki]]. Note the inclusion of the Pattern Skin standard CSS files in the =content_css= setting.
68

  
69
<verbatim>
70
   * Set INIT = mode:"textareas",
71
   editor_selector : "twikiTextarea",
72
   save_on_tinymce_forms: true,
73
   cleanup : true,
74
   theme : "advanced",
75
   inline_styles : false,
76
   convert_urls : true,
77
   relative_urls : false,
78
   remove_script_host : false,
79
   setupcontent_callback : TWikiTiny.setUpContent,
80
   urlconverter_callback : "TWikiTiny.convertLink",
81
   hide_instance_callback : TWikiTiny.switchToRaw,
82
   show_instance_callback : TWikiTiny.switchToWYSIWYG,
83
   twikipuburl_callback : "TWikiTiny.convertPubURL",
84
   save_callback : "TWikiTiny.saveCallback",
85
   %IF{"$TINYMCEPLUGIN_DEBUG" then="debug:true,"}%
86
   plugins : "table,searchreplace,autosave,paste,twikibuttons,twikiimage%IF{"$TINYMCEPLUGIN_DEBUG" then=",devkit"}%",
87
   twiki_secret_id : "%WYSIWYG_SECRET_ID%",
88
   twiki_vars : { PUBURLPATH : "%PUBURLPATH%", PUBURL : "%PUBURL%", WEB : "%WEB%", TOPIC : "%TOPIC%", ATTACHURL : "%ATTACHURL%", ATTACHURLPATH : "%ATTACHURLPATH%", VIEWSCRIPTURL : "%SCRIPTURL{view}%", SCRIPTSUFFIX: "%SCRIPTSUFFIX%", SCRIPTURL : "%SCRIPTURL%" },
89
   theme_advanced_toolbar_align : "left",
90
   twikibuttons_formats : [
91
   { name: "Normal", el: "", style: null },
92
   { name: "Heading 1", el: "h1", style: false },
93
   { name: "Heading 2", el: "h2", style: false },
94
   { name: "Heading 3", el: "h3", style: false },
95
   { name: "Heading 4", el: "h4", style: false },
96
   { name: "Heading 5", el: "h5", style: false },
97
   { name: "Heading 6", el: "h6", style: false },
98
   { name: "Blockquote", el: "blockquote", style: false },
99
   { name: "VERBATIM", el: "pre", style: "TMLverbatim" },
100
   { name: "LITERAL", el: "span", style: "WYSIWYG_LITERAL" },
101
   { name: "Protect on save", el: null, style: "WYSIWYG_PROTECTED" },
102
   { name: "Protect forever", el: null, style: "WYSIWYG_STICKY" }
103
   ],
104
   paste_create_paragraphs : true,
105
   paste_create_linebreaks : false,
106
   paste_convert_middot_lists : true,
107
   paste_convert_headers_to_strong : false,
108
   paste_remove_spans: true,
109
   paste_remove_styles: true,
110
   paste_strip_class_attributes: "all",
111
   theme_advanced_buttons1 : "twikiformat,separator,bold,italic,underline,strikethrough,tt,colour,removeformat,separator,bullist,numlist,outdent,indent,separator,link,unlink,anchor,separator,attach,image,charmap,hr,separator,undo,redo,separator,search,replace",
112
   theme_advanced_buttons2: "tablecontrols,separator,code,hide",
113
   theme_advanced_buttons3: "",
114
   theme_advanced_toolbar_location: "top",
115
   theme_advanced_resize_horizontal : false,
116
   theme_advanced_resizing : true,
117
   theme_advanced_path: false,
118
   theme_advanced_statusbar_location : "bottom",
119
   content_css : "%PUBURLPATH%/%SYSTEMWEB%/TinyMCEPlugin/wysiwyg%IF{"$TINYMCEPLUGIN_DEBUG" then="_src"}%.css,%PUBURLPATH%/%SYSTEMWEB%/TWikiTemplates/base.css,%TWIKISTYLEURL%,%TWIKICOLORSURL%"
120
</verbatim>
121
   * Additional settings for specific browsers.
122
      * Warning: if you enable =paste_auto_cleanup_on_paste then it automatically implies =past_use_dialog= on all non-MSIE browsers.
123
      * Set INIT_MSIE = paste_auto_cleanup_on_paste : true
124
      * Set INIT_OPERA = 
125
      * Set INIT_GECKO = 
126
      * Set INIT_SAFARI = 
127

  
128
You can override these settings in the same way as any other TWiki variable, by setting e.g. =TINYMCEPLUGIN_INIT= in the site, web or topic preferences. You are *not* recommended to edit the setting here.
129

  
130
   * You can *disable* the plugin in any web or topic, or for any specific user, by setting the =TINYMCEPLUGIN_DISABLE= preferences setting to 1.
131
      * Alternatively (preferred), you can give the user an option to use the WYSIWYG editor or raw editor with the =EDITMETHOD= preferences setting set to =wysiwyg= (default) or =raw=.
132
   * Some browsers don't support !TinyMCE. You can prevent the editor from
133
     being invoked on these browsers by setting =TINYMCEPLUGIN_BAD_BROWSERS= to a regular expression that matches the user-agent string for any broken browsers. The default is =(?i-xsm:Konqueror|Opera)=.   
134

  
135
%INCLUDE{"%SYSTEMWEB%.WysiwygPluginSettings"}%
136

  
137
#InstallingOnOldTWikis
138
---++ Configuring the buttons on TWiki < 4.2.0
139

  
140
When installed on TWiki versions before 4.2.0, this plugin *replaces* the old textarea editor with the !TinyMCE editor. The shock of this change can be too much for some older contributors, so we have written instructions for reconfiguring your templates in TWiki:Plugins.TinyMCEFrequentlyAskedQuestions.
141

  
142
---++ Plugin Info
143

  
144
Many thanks to the following sponsors for supporting this work:
145
   * [[http://ilog.fr/][ILOG]]
146
   * [[http://www.carrier.com/][Carrier Corporation]]
147
   * [[http://twiki.net/][Twiki, Inc.]]
148

  
149
|  Plugin Author: | TWiki:Main.CrawfordCurrie |
150
|  Copyright: | &copy; 2007-2008 Crawford Currie http://c-dot.co.uk, %BR% &copy; 2007-2011 TWiki:TWiki.TWikiContributor |
151
|             | This package also includes the complete sources for version 3.2.4.1 of the !TinyMCE editor |
152
|  License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]] |
153
|  Plugin Version: | 2011-07-10 24853 (2013-02-16) |
154
|  Change History: | <!-- versions below in reverse order -->&nbsp; |
155
|  2011-07-10: | TWikibug:Item6725: Change global package variables from "use vars" to "our" |
156
|  2010-11-05 | TWikibug:Item6604: Add documentation for EDITMETHOD setting |
157
|  2010-04-24 | TWikibug:Item6433: Doc improvements, prepare for TWiki 5.0 release |
158
|  2009-09-08 | TWikibug:Item6334: Upgrade plugin to latest !TinyMCE version 3.2.4.1 from 2.1.1.1 -- TWiki:Main/SopanShewale |
159
|  03 Aug 2008 | TWiki 4.2.1 release version |
160
|  04 May 2008 | TWikibug:Item5547: Change mechanism by which TMCE recognises textareas to camp on. Use class instead of element name. |
161
|  12 Apr 2008 | TWikibug:Item4946: I think I have finally fixed non-iso-8859-1 character sets. Painful. |
162
|  31 Mar 2008 | TWikibug:Item5314: TWikibug:Item5457: Fixed pickaxe mode for editing UTF-8. Characters above 255 are converted to entitites, which is a bit of a PITA, but at least it no longer corrupts topics. *NOTE: YOU MUST UPGRADE WysiwygPlugin TO 16600 OR LATER* |
163
|  28 Mar 2008 | TWikibug:Item5432: added upper case file extensions for images TWikibug:Item5206: fixed expansion of simple filenames entered in image popup TWikibug:Item5462: fixed hide attachment switch |
164
|  25 Jan 2008 | TWikibug:Item5287: links entered through dialog weren't working |
165
|  24 Jan 2008 | TWikibug:Item4840: TWikibug:Item5138: UTF8 fixes, TWikibug:Item5022: made TT font size same as verbatim. Had to add a new style to do it, as TMCE didn't want to play with TT or CODE tags. TWikibug:Item5138: post-conversion of 8-bit entities to characters to aid searching, TWikibug:Item5254: non-fatal JS error fixed, TWikibug:Item5263: remove preview on WYSIWYG edit, TWikibug:Item5116: added Opera to bad browsers filter |
166
|  20 Dec 2007 | TWikibug:Item5047: disable save and preview during page load TWikibug:Item5111: make the entry in the format menu sensitive to where the cursor is TWikibug:Item5022: made TT font size same as verbatim. Had to add a new style to do it, as TMCE didn't want to play with TT or CODE tags. |
167
|  19 Nov 2007 | TWikibug:Item4742: auto-disable if Wysiwyg is not enabled TWikibug:Item4820: validate mandatory fields on save TWikibug:Item4747: add &lt;sticky&gt; TWikibug:Item4811: noautolink *looks* like an HTML construct but in fact is not; the tag is infact an "on-off" switch and does not imply any HTML structure, so cannot be converted to a DIV or a span, so has to be removed. TWikibug:Item4817: added typewriter text button TWikibug:Item4850: added font colour controls TWikibug:Item4645: added attachment management features TWikibug:Item4945: added switch to raw and back |
168
|  16 Sep 2007 | TWikibug:Item4630: polished up the way the secret string is done, to ensure synch between perl and JS. TWikibug:Item4622: added UTF-8 handling steps that fixup malformed UTF8 strings before presenting them to the editor (saves Moz) and stops the editor passing them back to TWiki (saves IE). TWikibug:Item4603: added the draft help, so we can at least build the beta without the nasty warning |
169
|  13 Sep 2007 | TWikibug:Item4613 fixed navigate-away prompt when unchanged TWikibug:Item4583 TWikibug:Item4604 TWikibug:Item4614 TWikibug:Item4616 A clutch of issues caused by use of the wrong encoding function when passing UTF8 parameters to REST using !XMLHttpRequest. |
170
|  12 Sep 2007 | TWikibug:Item4604 Converted to REST call for content conversion, to provide safe callback if JS is disabled in the browser TWikibug:Item4583 relaxed regex to try and make it work for UTF-8 topic names |
171
|  11 Sep 2007 | TWikibug:Item4535 refinements to link handling to improve topic name recognition |
172
|  7 Sep 2007 | TWikibug:Item4503 excess empty lines TWikibug:Item4486 no toc headers with unofficial syntax TWikibug:Item4560: empty lines lost TWikibug:Item4566: corrupted table on save |
173
|  6 Sep 2007 | TWikibug:Item4557 added missing files to package |
174
|  4 Sep 2007 | TWikibug:Item4534 TWikibug:Item4535 fixed |
175
|  14679 | TWikibug:Item4481 TWikibug:Item4524 fixed |
176
|  14668 | Bugfixes and refinements done as part of 4.2 release |
177
|  14543 | Added PROTECTED style, to allow protection of special text. Disable on unsupported browsers (untested) |
178
|  14538 | First release |
179
|  Dependencies: | <table border="1"><tr><th>Name</th><th>Version</th><th>Description</th></tr><tr><td align="left">TWiki::Plugins::BehaviourContrib</td><td align="left">&gt;=15357</td><td align="left">Javascript module</td></tr><tr><td align="left">TWiki::Plugins::WysiwygPlugin</td><td align="left">&gt;=16650</td><td align="left">Translator module</td></tr></table> |
180
|  Plugin Home: | http://twiki.org/cgi-bin/view/Plugins/TinyMCEPlugin |
181
|  Feedback: | http://twiki.org/cgi-bin/view/Plugins/TinyMCEPluginDev |
182
|  Appraisal: | http://twiki.org/cgi-bin/view/Plugins/TinyMCEPluginAppraisal |
183

  
184
%META:FILEATTACHMENT{name="tinymce.gif" attr="h" comment="screenshot" version="1"}%
185
%META:FILEATTACHMENT{name="screenshot.gif" attr="h" comment="" version="1"}%
trunk/inputs/VegBIEN/TWiki/data/TWiki/TWikiPreferences.txt
1
%META:TOPICINFO{author="TWikiContributor" date="1357464271" format="1.1" version="87"}%
2
---+!! <nop>%WIKITOOLNAME% Site-Level Preferences
3

  
4
This topic defines __site-level__ settings that apply to all users and webs on this TWikiSite.
5

  
6
<div class="twikiNotification"> __%X% NOTE:__ Don't edit this topic, changes will be lost on the next TWiki upgrade. Define new site-level settings, or overload below settings in [[%LOCALSITEPREFS%]] </div>
7

  
8
Preference settings local to your site should be set in [[%LOCALSITEPREFS%]] (this topic is pointed to by {LocalSitePreferences}, which is set by the admin in the [[%SCRIPTURLPATH{"configure"}%][configure]] interface). Settings in [[%LOCALSITEPREFS%]] will override settings in this topic, and should be used for defining custom settings and variables.
9

  
10
[[TWikiVariables#PreferencesVariables][Read more]] on how to set Preferences Variables.
11

  
12
%TOC%
13

  
14
#DefaultWebPreferences
15
---++ Default Web Preferences
16

  
17
%X% *NOTE:* These are just defaults; don't change them here. Instead, add them to the !WebPreferences topic in each web
18

  
19
   * List of selected topics in a web (used in menus)
20
      * Set WEBTOPICLIST = [[WebChanges][Changes]] %SEP% [[WebIndex][Index]] %SEP% [[WebSearch][Search]] %SEP% Go <input type="text" name="topic" size="16" />
21

  
22
   * Web-specific background color: (is overwritten by web preferences)
23
      * Set WEBBGCOLOR = #FFD8AA
24

  
25
   * [[http://en.wikipedia.org/wiki/Favicon][favicon]]: Attach a =favicon.ico= to a web's WebPreferences or add a =FAVICON= setting to WebPreferences
26
      * Set FAVICON = %PUBURLPATH%/%BASEWEB%/%WEBPREFSTOPIC%/favicon.ico
27

  
28
   * Image, URL and alternate tooltip text of web's logo.
29
      * Set WEBLOGOIMG = %WIKILOGOIMG%
30
      * Set WEBLOGOURL = %WIKILOGOURL%
31
      * Set WEBLOGOALT = %WIKILOGOALT%
32

  
33
   * List this web in the %SYSTEMWEB%.SiteMap:
34
      * If yes, set SITEMAPLIST to =on=, do not set NOSEARCHALL, and add the "what" and "use to..." description for the site map. Make sure to list only links that include the name of the web, e.g. <nop>%WEB%.Topic links.
35
      * Set SITEMAPLIST = on
36
      * Set SITEMAPWHAT = Describe what this web does
37

  
38
#CopyrightNotice
39
   * Copyright notice:
40
      * Set WEBCOPYRIGHT = %MAKETEXT{"Copyright &&copy; [_1] by the contributing authors. All material on this collaboration platform is the property of the contributing authors." args="2008-%GMTIME{$year}%"}% <br /> %MAKETEXT{"Ideas, requests, problems regarding [_1]? <a href='[_2]'>Send feedback</a>" args="<nop>%WIKITOOLNAME%,mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME%%20Feedback%20on%20%BASEWEB%.%BASETOPIC%"}%
41

  
42
   * Simplified Copyright notice for the WebRss feed (don't use any special characters, html tags, entities, wiki markup or WikiWords)
43
      * Set WEBRSSCOPYRIGHT = Copyright %GMTIME{"$year"}% by contributing authors
44

  
45
   * Exclude web from a =web="all"= search: (Set to =on= for hidden webs; is overwritten by web preferences) __Note__ it is much better to use TWikiAccessControls in individual webs to control who can and can't view the contents of a web. NOSEARCHALL is retained for compatibility, but you should avoid using it.
46
      * Set NOSEARCHALL = 
47

  
48
   * Prevent automatic linking of [[%SYSTEMWEB%.WikiWords][WikiWords]] and acronyms (if set to =on=); link <nop>WikiWords (if empty); can be overwritten by web preferences:
49
      * Set NOAUTOLINK = 
50
      * __Note:__ Use the =[<nop>[...][...]]= syntax to link topics in case you disabled <nop>WikiWord linking. The =&lt;noautolink&gt; ... &lt;/noautolink&gt;= syntax can be used to prevents links within a block of text.
51

  
52
   * If you use non !WikiWords for topic names (for example "Expenses" or "Mighty1") and if you use bracket notation to link to those topics, it is useful to *turn of all warnings* (like: "WARNING: This topic name is not recommended because it will not be linked automatically") and checkboxes ("Allow non !WikiWord for the new topic name"). Can be overwritten by web preferences. Set to =on= to activate:
53
      * Set HIDE_NON_WIKI_WORD_WARNINGS =
54
      
55
   * Warn if =%<nop>INCLUDE{}%= of topic fails: Fail silently if empty or =off=. Output warning message (defined in templates/oopsalerts.tmpl) if set to =on=. Otherwise output specific text (use =$topic= for topic). You can override this in web preferences, or by using a =warn="..."= parameter with =%<nop>INCLUDE{}%= :
56
      * Set INCLUDEWARNING = on
57

  
58
#TableOfContents
59
   * Generated Table of Contents (TOC) settings
60
      * The first header level to appear in the TOC:
61
         * Set TOC_MIN_DEPTH =
62
            * If not set: =1=
63
            * Possible values: =1= to =6=
64
      * The last header level to appear in the TOC:      
65
         * Set TOC_MAX_DEPTH =
66
            * If not set: =6=
67
            * Possible values: =1= to =6=
68
            * Can be overridden by =depth= parameter of [[%SYSTEMWEB%.VarTOC2][variable TOC]]
69
      * The default TOC title:
70
         * Set TOC_TITLE =
71
            * If not set: nothing
72
            * Possible values: any string, for example =On this page:=
73
            * Can be overridden by =title= parameter of [[%SYSTEMWEB%.VarTOC2][variable TOC]]
74
      * Do not show a TOC if the topic it contains is included in another topic:
75
         * Set TOC_HIDE_IF_INCLUDED =
76
            * If not set: included TOC is shown
77
            * Possible values: =on= or nothing
78

  
79
#DefaultUserSettings
80
---++ Default User Settings
81

  
82
%X% *NOTE:* They are typically redefined in topics of individual %USERSWEB%.TWikiUsers
83

  
84
   * Preference for the editor, default is the WYSIWYG editor. The options are raw, wysiwyg:
85
      * Set EDITMETHOD = wysiwyg
86
      * #Set EDITMETHOD = raw
87

  
88
   * Fixed [[%SYSTEMWEB%.TopMenuSkin#FixedTopMenu][pulldown menu-bar]], on or off. If on, the menu-bar is always visible at the top, regardless of the window scroll position. If off, the menu-bar hides when scrolled, and can be shown by hovering over the gray TWiki icon.
89
      * Set FIXEDTOPMENU = off
90

  
91
   * Show tool-tip topic info on mouse-over of WikiWord links. Setting can be on, off, or customized. An empty setting or off setting disables the tool-tips (for better performance). The setting can contain $summary to show the topic summary, $date for the last change date, $rev for the revision, $username for the login name of the last editor, $wikiname for the <nop>WikiName, $wikiusername for <nop>%USERSWEB%.WikiName, $topic for the topic name, and $web for the web name
92
      * Set LINKTOOLTIPINFO = off
93
      * #Set LINKTOOLTIPINFO = $username - $date - $rev: $summary
94

  
95
   * Horizontal size of text edit box:
96
      * Set EDITBOXWIDTH = 70
97

  
98
   * Vertical size of text edit box:
99
      * Set EDITBOXHEIGHT = 22
100

  
101
   * Style of text edit box. Set to =width: 99%= for full window width (default; this will overwrite the EDITBOXWIDTH setting), or =width: auto= to disable. This setting works for IE and some other recent browsers.
102
      * Set EDITBOXSTYLE = width:99%
103

  
104
   * Default state of the __Force New Revision__ (ForceNewRevision) check box in preview. Check box is initially checked if =Set FORCENEWREVISIONCHECKBOX = checked="checked"=, or unchecked if empty:
105
      * Set FORCENEWREVISIONCHECKBOX = 
106

  
107
   * Default state of the __Minor Changes, Don't Notify__ (DontNotify) check box in preview. Check box is initially checked if =Set DONTNOTIFYCHECKBOX = checked="checked"=, or unchecked if empty:
108
      * Set DONTNOTIFYCHECKBOX = 
109

  
110
   * Default state of the __link__ check box in the attach file page. Checkbox is initially checked if =Set ATTACHLINKBOX = checked="checked"=, or unchecked if empty (=Set ATTACHLINKBOX ==). If checked, a link is created to the attached file at the end of the topic:
111
      * Set ATTACHLINKBOX = 
112

  
113
   * Format of file link when the __link__ check box is checked:
114
      * %H% *NOTE:* Keyword ==$name== gets expanded to filename; ==$comment== to comment; ==\t== to tab (3 spaces for bullets).
115
<!-- verbatim tag required to prevent error in Apache log; does not suppress Set -->
116
<verbatim>
117
      * Set ATTACHEDFILELINKFORMAT = \n   * [[%PUBURLPATH%/%WEB%/%TOPIC%/$name][$name]]: $comment
118
</verbatim>
119

  
120
   * Format of images when the __link__ check box is checked:
121
      * %H% *NOTE:* Keyword ==$name== gets expanded to filename; ==$comment== to comment; ==$width== to width of image; ==$height== to height of image; ==$size== to ==width="..." height="..."== attribute of ==img== tag; ==\t== to tab and ==\n== to linefeed. Use 3 leading spaces for bullets.
122
<verbatim>
123
      * Set ATTACHEDIMAGEFORMAT = \n   * $comment: <br />\n     <img src="%PUBURLPATH%/%WEB%/%TOPIC%/$name" alt="$name" $size />
124
</verbatim>
125

  
126
#TWikiPlatformSettings
127
---++ TWiki Platform Settings
128

  
129
   * TWiki site name:
130
      * Set WIKITOOLNAME = TWiki
131

  
132
   * Image, URL and alternate tooltip text of the logo *for this installation*: you should change these settings for your site, or they can be overwridden in !WebPreferences for individual webs by defining these variables there.
133
      * Set WIKILOGOIMG = %PUBURL%/%SYSTEMWEB%/TWikiLogos/T-logo-140x40-t.gif
134
      * Set WIKILOGOURL = %SCRIPTURL{view}%/%USERSWEB%/%HOMETOPIC%
135
      * Set WIKILOGOALT = Home - this site is powered by TWiki(R)
136

  
137
   * Home page of this site. This is DEPRECATED, please use %<nop>WIKILOGOURL% instead.
138
      * Set WIKIHOMEURL = %SCRIPTURLPATH{"view"}%/%USERSWEB%/%HOMETOPIC%
139

  
140
   * List of <nop>%WIKITOOLNAME% webs - on the first line of the upper toolbar (to add a new web, see ManagingWebs and %SYSTEMWEB%.SiteMap):
141
      * Set WIKIWEBLIST = [[%USERSWEB%.%HOMETOPIC%][%USERSWEB%]] %SEP% [[%SYSTEMWEB%.%HOMETOPIC%][%SYSTEMWEB%]] %SEP% [[Sandbox.%HOMETOPIC%][Sandbox]]
142
      * %T% *NOTE:* To automatically list all non-hidden webs in alphabetical order, use the =%<nop>WEBLIST{}%= variable instead: <br />
143
        %WEBLIST{"[[$name.%HOMETOPIC%][$name]]" separator=" | "}%
144

  
145
   * Maximum size of %SYSTEMWEB%.FileAttachments in KB, 0 for no limit:
146
      * Set ATTACHFILESIZELIMIT = 10000
147

  
148
#BroadcastMessage
149
   * Broadcast message for skins supporting a %<nop>BROADCASTMESSAGE% at the top of the page: (IMPORTANT: Set to empty message if not used; #Comment out unused messages)
150
      * Set BROADCASTMESSAGE = 
151
      * #Set BROADCASTMESSAGE = *NOTE:* Edit and Attach will be disabled today between 05:00 PM and 06:00 PM PDT (00:00 to 01:00 GMT) for a scheduled <nop>%WIKITOOLNAME% maintenance.
152

  
153
   * Users or groups allowed to [[%SYSTEMWEB%.ManagingWebs][create new top-level webs]]: (ex: %USERSWEB%.WebCreatorsGroup). If set to nothing, only administrators will be able to do this.
154
      * Set ALLOWROOTCHANGE = %USERSWEB%.TWikiAdminGroup
155

  
156
#SearchSettings
157
---+++ Search Settings
158

  
159
   * Default type for search, one of: keyword (for search engine like syntax), regex (for RegularExpression search), or literal (for verbatim search)
160
      * Set SEARCHDEFAULTTYPE = keyword
161
   * Default for =%<nop>SEARCH{}%= variable, one of: keyword, regex, or literal
162
      * Set SEARCHVARDEFAULTTYPE = literal
163
   * Stop words, e.g., common words and characters to exclude from a keyword search:
164
      * Set SEARCHSTOPWORDS = a, all, am, an, and, any, as, at, b, be, by, c, d, e, for, from, g, h, how, i, i'm, i.e., in, is, isn't, it, it's, its, j, k, l, m, n, o, of, on, or, p, q, r, s, t, that, that's, the, this, to, u, v, w, was, wasn't, what, what's, when, where, who, who's, will, with, x, y, z
165

  
166
#EmailSettings
167
---+++ E-mail Settings
168

  
169
   * 'Mail this topic' mailto: link - can be included in topics, templates or skins
170
      * Set MAILTHISTOPIC = <a href="mailto:?subject=%BASETOPIC%&amp;body=%TOPICURL%">%MAILTHISTOPICTEXT%</a>
171

  
172
   * 'Mail this topic' link text
173
      * Set MAILTHISTOPICTEXT = Send a link to this page
174

  
175
#HttpEquivSettings
176
---+++ HTTP-<nop>EQUIV Settings
177

  
178
   * %T% *NOTE:* Changing cache behaviour with these settings should not be necessary and may cause cache-related problems (e.g. TWiki:Codev.BackFromPreviewLosesText or TWiki:Codev.RefreshEditPage). These settings do not affect proxy caches.
179
   * *NOTE:* The current values of these preferences are not displayed in view mode (values are <code>&lt;link&gt;</code>-tags).
180

  
181
   * ==http-equiv== meta tags for ==view==, ==rdiff==, ==attach==, ==search*== scripts:
182
      * #Set HTTP_EQUIV_ON_VIEW = 
183
      * Set HTTP_EQUIV_ON_VIEW = <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="%SCRIPTURLPATH{"view"}%/%WEB%/WebRss" />
184

  
185
   * ==http-equiv== meta tags for ==edit== script:
186
      * Set HTTP_EQUIV_ON_EDIT = 
187

  
188
   * ==http-equiv== meta tags for ==preview== script:
189
      * Set HTTP_EQUIV_ON_PREVIEW = 
190

  
191
#SkinSettings
192
---++ Skin Settings
193

  
194
   * Skin overriding the default TWiki templates: (can be overwritten by WebPreferences and user preferences) 
195
      * Set SKIN = tagme, topmenu, pattern
196

  
197
   * __Note:__ See TWikiSkinBrowser for currently installed skins
198

  
199
#PatternSkin
200
---+++ Pattern Skin
201

  
202
   * Default TWiki styles of PatternSkin
203
      * Set TWIKILAYOUTURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/layout.css
204
      * Set TWIKISTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/style.css
205
      * Set TWIKICOLORSURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/colors.css
206

  
207
   * Custom overriding styles (enabled pr. default but empty, to prevent browsers from fetching %<nop>USERLAYOUTURL%-style URLs)
208
      * Set USERLAYOUTURL = 
209
      * Set USERSTYLEURL = 
210
      * Set USERCOLORSURL = 
211

  
212
   * *PatternSkin header settings*
213
      * Set WEBHEADERART = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/TWiki_header.gif
214
      * #Set WEBHEADERBGCOLOR = #faf8f0
215

  
216
#SkinIcons
217
---+++ Skin Icons
218

  
219
   * Topic containing the icon graphics library. Icons can easily be rendered with =%<nop>ICON{name}%=.
220
      * Set ICONTOPIC = %SYSTEMWEB%.TWikiDocGraphics, %USERSWEB%.SiteDocGraphics
221

  
222
#LegacySupport
223
---+++ Legacy Support
224

  
225
   * Support for legacy "EDITTOPIC", used to be hard-coded, now replaced by TMPL:P conditional instantiation
226
      * Set EDITURL = %SCRIPTURLPATH{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$epoch"}%
227
      * Set EDITTOPIC = <a href="%EDITURL%" title="Edit Topic - deprecated usage - please see release notes">Edit</a>
228

  
229
#PluginsSettings
230
---++ Plugins Settings
231

  
232
   * You can enable/disable Plugins using the [[%SCRIPTURLPATH{"configure"}%][configure]] interface.
233
   * You can also disable installed plugins in individual webs/topics by defining the %<nop>DISABLEDPLUGINS% TWiki variable to be a list of plugins to disable e.g.
234
      * <nop>Set DISABLEDPLUGINS = SpreadSheetPlugin,EditTablePlugin
235
      * Currently, %<nop>DISABLEDPLUGINS% is set to "%DISABLEDPLUGINS%"
236
   * Currently activated Plugins: %ACTIVATEDPLUGINS%
237

  
238
   * %T% *NOTE:* You can enable/disable Plugins by passing a comma-separated list of Plugin names in the =debugenableplugins= url parameter; for example, %SCRIPTURL{"view"}%/%WEB%/%TOPIC%?debugenableplugins=SmiliesPlugin will display this topic with all Plugins disabled except the SmiliesPlugin.
239
   * Detailed diagnostics can be found in InstalledPlugins
240
   * Legacy settings:
241
      * Set INSTALLEDPLUGINS = The INSTALLEDPLUGINS variable is no longer supported. You can set the Plugins execution order using the [[%SCRIPTURLPATH{"configure"}%][configure]] interface.
242

  
243
<!-- Legacy settings for !CommentPlugin:
244
   * Name of file in the 'templates' directory that contains the comment templates:
245
      * Set COMMENTPLUGIN_TEMPLATES = comments
246
   * Default template type:
247
      * Set COMMENTPLUGIN_DEFAULT_TYPE = above
248
-->
249

  
250
#RenderingShortcuts
251
---++ Rendering Shortcuts Settings
252

  
253
   * Line break and bullet with different levels of indentation:
254
      * Set BB = <br />&#8226;
255
      * Set BB2 = <br />&nbsp;&nbsp;&#8226;
256
      * Set BB3 = <br />&nbsp;&nbsp;&nbsp;&nbsp;&#8226;
257
      * Set BB4 = <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8226;
258

  
259
   * Line break: Note that the setting has an intentional trailing space
260
      * Set BR = <br /> 
261

  
262
   * Bullet sign:
263
      * Set BULLET = &#8226;
264

  
265
   * Vertical caret symbol:
266
      * Set CARET = &#94;
267

  
268
   * URL of current topic
269
      * Set TOPICURL = %SCRIPTURL{"view"}%/%WEB%/%BASETOPIC%
270

  
271
   * Vertical bar / pipe symbol:
272
      * Set VBAR = &#124;
273

  
274
   * __Hint:__ Above shortcuts are useful in TWiki tables where you cannot use newlines
275

  
276
#DocGraphics
277
   * Graphics used in TWiki documentation - view all images in %ICONTOPIC%. _(There are various ways to set up common icons as text variables. This is simply one quick approach.)_:
278
      * Set H = <img src="%ICONURLPATH{help}%" alt="HELP" title="HELP" width="16" height="16" border="0" />
279
      * Set I = <img src="%ICONURLPATH{tip}%" alt="IDEA!" title="IDEA!" width="16" height="16" border="0" />
280
      * Set M = <img src="%ICONURLPATH{arrowright}%" alt="MOVED TO..." title="MOVED TO..." width="16" height="16" border="0" />
281
      * Set N = <img src="%ICONURLPATH{new}%" alt="NEW" title="NEW" width="30" height="16" border="0" />
282
      * Set P = <img src="%ICONURLPATH{pencil}%" alt="REFACTOR" title="REFACTOR" width="16" height="16" border="0" />
283
      * Set Q = <img src="%ICONURLPATH{help}%" alt="QUESTION?" title="QUESTION?" width="16" height="16" border="0" />
284
      * Set S = <img src="%ICONURLPATH{starred}%" alt="PICK" title="PICK" width="16" height="16" border="0" />
285
      * Set T = <img src="%ICONURLPATH{tip}%" alt="TIP" title="TIP" width="16" height="16" border="0" />
286
      * Set U = <img src="%ICONURLPATH{updated}%" alt="UPDATED" title="UPDATED" width="55" height="16" border="0" />
287
      * Set X = <img src="%ICONURLPATH{warning}%" alt="ALERT!" title="ALERT!" width="16" height="16" border="0" />
288
      * Set Y = <img src="%ICONURLPATH{choice-yes}%" alt="DONE" title="DONE" width="16" height="16" border="0" />
289

  
290
#ColoredText
291
   * Colored text: (see more StandardColors)
292
     | You type: | =%<nop>RED% red text %<nop>ENDCOLOR% and %<nop>GREEN% green text %<nop>ENDCOLOR%= |
293
     | You get: | %RED% red text %ENDCOLOR% and %GREEN% green text %ENDCOLOR% |
294
      * __Note:__ =%&lt;color&gt;%= text must end with =%<nop>ENDCOLOR%=. If you want to switch from one color to another one you first need to end the active color with =%<nop>ENDCOLOR%=, such as =%<nop>RED% some text %<nop>ENDCOLOR% %<nop>GREEN% more text %<nop>ENDCOLOR%=.
295
        <!-- Two sets of colors follow: Color test and color setting -->
296
      * %YELLOW% *%<nop>YELLOW% looks like this* %ENDCOLOR%
297
      * %ORANGE% *%<nop>ORANGE% looks like this* %ENDCOLOR%
298
      * %RED% *%<nop>RED% looks like this* %ENDCOLOR%
299
      * %PINK% *%<nop>PINK% looks like this* %ENDCOLOR%
300
      * %PURPLE% *%<nop>PURPLE% looks like this* %ENDCOLOR%
301
      * %TEAL% *%<nop>TEAL% looks like this* %ENDCOLOR%
302
      * %NAVY% *%<nop>NAVY% looks like this* %ENDCOLOR%
303
      * %BLUE% *%<nop>BLUE% looks like this* %ENDCOLOR%
304
      * %AQUA% *%<nop>AQUA% looks like this* %ENDCOLOR%
305
      * %LIME% *%<nop>LIME% looks like this* %ENDCOLOR%
306
      * %GREEN% *%<nop>GREEN% looks like this* %ENDCOLOR%
307
      * %OLIVE% *%<nop>OLIVE% looks like this* %ENDCOLOR%
308
      * %MAROON% *%<nop>MAROON% looks like this* %ENDCOLOR%
309
      * %BROWN% *%<nop>BROWN% looks like this* %ENDCOLOR%
310
      * %BLACK% *%<nop>BLACK% looks like this* %ENDCOLOR%
311
      * %GRAY% *%<nop>GRAY% looks like this* %ENDCOLOR%
312
      * %SILVER% *%<nop>SILVER% looks like this* %ENDCOLOR%
313
      * <span style='background : #808080;'>%WHITE% *%<nop>WHITE% looks like this (with gray background)* %ENDCOLOR%</span>
314
      * The following settings define the colors: (they are enclosed in verbatim tags to avoid incorrect nesting of XHTML tags)
315
<verbatim>
316
      * Set YELLOW = <span style="color: #ffff00">
317
      * Set ORANGE = <span style="color: #ff6600">
318
      * Set RED = <span style="color: #ff0000">
319
      * Set PINK = <span style="color: #ff00ff">
320
      * Set PURPLE = <span style="color: #800080">
321
      * Set TEAL = <span style="color: #008080">
322
      * Set NAVY = <span style="color: #000080">
323
      * Set BLUE = <span style="color: #0000ff">
324
      * Set AQUA = <span style="color: #00ffff">
325
      * Set LIME = <span style="color: #00ff00">
326
      * Set GREEN = <span style="color: #008000">
327
      * Set OLIVE = <span style="color: #808000">
328
      * Set MAROON = <span style="color: #800000">
329
      * Set BROWN = <span style="color: #996633">
330
      * Set BLACK = <span style="color: #000000">
331
      * Set GRAY = <span style="color: #808080">
332
      * Set SILVER = <span style="color: #c0c0c0">
333
      * Set WHITE = <span style="color: #ffffff">
334
      * Set ENDCOLOR = </span>
335
</verbatim>
336

  
337
#ColoredBackground
338
   * Colored background: (see more StandardColors)
339
     | You type: | =%<nop>REDBG% red background %<nop>ENDBG% | %<nop>GREENBG% green background %<nop>ENDBG%= |
340
     | You get: | %REDBG% red background %ENDBG% | %GREENBG% green background %ENDBG% |
341
      * __Note:__ These background colors are block level elements, e.g. take up a whole row of text by default. Useful to set background colors in cells of TWiki tables.
342
        <!-- Two sets of colors follow: Color test and color setting -->
343
      * %YELLOWBG% *%<nop>YELLOWBG% looks like this* %ENDBG%
344
      * %ORANGEBG% *%<nop>ORANGEBG% looks like this* %ENDBG%
345
      * %REDBG% *%<nop>REDBG% looks like this* %ENDBG%
346
      * %PINKBG% *%<nop>PINKBG% looks like this* %ENDBG%
347
      * %PURPLEBG% *%<nop>PURPLEBG% looks like this* %ENDBG%
348
      * %TEALBG% *%<nop>TEALBG% looks like this* %ENDBG%
349
      * %NAVYBG% *%<nop>NAVYBG% looks like this* %ENDBG%
350
      * %BLUEBG% *%<nop>BLUEBG% looks like this* %ENDBG%
351
      * %AQUABG% *%<nop>AQUABG% looks like this* %ENDBG%
352
      * %LIMEBG% *%<nop>LIMEBG% looks like this* %ENDBG%
353
      * %GREENBG% *%<nop>GREENBG% looks like this* %ENDBG%
354
      * %OLIVEBG% *%<nop>OLIVEBG% looks like this* %ENDBG%
355
      * %MAROONBG% *%<nop>MAROONBG% looks like this* %ENDBG%
356
      * %BROWNBG% *%<nop>BROWNBG% looks like this* %ENDBG%
357
      * <span style="color:#ffffff">%BLACKBG% *%<nop>BLACKBG% looks like this* %ENDBG%</span>
358
      * %GRAYBG% *%<nop>GRAYBG% looks like this* %ENDBG%
359
      * %SILVERBG% *%<nop>SILVERBG% looks like this* %ENDBG%
360
      * %WHITEBG% *%<nop>WHITEBG% looks like this* %ENDBG%
361
      * The following settings define the background colors: (they are enclosed in verbatim tags to avoid incorrect nesting of XHTML tags)
362
<verbatim>
363
      * Set YELLOWBG = <div style="background-color: #ffff80; padding:0 3px 0 3px">
364
      * Set ORANGEBG = <div style="background-color: #ffbb80; padding:0 3px 0 3px">
365
      * Set REDBG = <div style="background-color: #ff8080; padding:0 3px 0 3px">
366
      * Set PINKBG = <div style="background-color: #ff80ff; padding:0 3px 0 3px">
367
      * Set PURPLEBG = <div style="background-color: #dd99dd; padding:0 3px 0 3px">
368
      * Set TEALBG = <div style="background-color: #80c0c0; padding:0 3px 0 3px">
369
      * Set NAVYBG = <div style="background-color: #8080c0; padding:0 3px 0 3px">
370
      * Set BLUEBG = <div style="background-color: #8080ff; padding:0 3px 0 3px">
371
      * Set AQUABG = <div style="background-color: #80ffff; padding:0 3px 0 3px">
372
      * Set LIMEBG = <div style="background-color: #80ff80; padding:0 3px 0 3px">
373
      * Set GREENBG = <div style="background-color: #99cc99; padding:0 3px 0 3px">
374
      * Set OLIVEBG = <div style="background-color: #c0c080; padding:0 3px 0 3px">
375
      * Set MAROONBG = <div style="background-color: #c08080; padding:0 3px 0 3px">
376
      * Set BROWNBG = <div style="background-color: #bb9988; padding:0 3px 0 3px">
377
      * Set BLACKBG = <div style="background-color: #000000; padding:0 3px 0 3px">
378
      * Set GRAYBG = <div style="background-color: #a0a0a0; padding:0 3px 0 3px">
379
      * Set SILVERBG = <div style="background-color: #c0c0c0; padding:0 3px 0 3px">
380
      * Set WHITEBG = <div style="background-color: #ffffff; padding:0 3px 0 3px">
381
      * Set ENDBG = </div>
382
</verbatim>
383

  
384
#MiscellaneousSettings
385
---++ Miscellaneous Settings
386

  
387
   * Format of a NewWikiWord link:
388
   * Note that =$text= is the topic link text, =$summary= is the HTML-cleaned topic link text, =$topic= is the name of the new topic, and =$web= is the name of the web for the new topic. Values are taken from the link syntax =[<nop>[$web.$topic][$text]]=. For normal plain !WikiWord links =$text= and =$topic= are the same. The value of =$web= is the current web unless the link is in the format =$web.$topic=.
389
      * default setting:
390
         * Set NEWLINKFORMAT = <span class="twikiNewLink"><a href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%;nowysiwyg=%IF{ "$ EDITMETHOD='wysiwyg'" then="0" else="1"  }%" rel="nofollow" title="%MAKETEXT{"$summary (this topic does not yet exist; you can create it)"}%">$text</a></span>
391
      * alternative setting:
392
         * #Set NEWLINKFORMAT = <a class="twikiNewLink" href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">$text</a>
393

  
394
   * %SYSTEMWEB%.PreviewBackground image:
395
      * Set PREVIEWBGIMAGE = %PUBURLPATH%/%SYSTEMWEB%/PreviewBackground/preview2bg.gif
396

  
397
   * User-friendly synonyms for system webs
398
      * Set DOCWEB = %SYSTEMWEB%
399

  
400
   * Show extra help for !ApacheLogin users for %USERSWEB%.TWikiAdminUser login
401
      * Set ADMINLOGIN = %IF{"{LoginManager} = 'TWiki::LoginManager::ApacheLogin' AND NOT context authenticated"
402
        then="TWiki is configured using <nop>ApacheLogin, please [[%LOGINURL%][login]] as a normal user first. Then the Admin Login will replace this text"
403
        else="[[%SCRIPTURL{login}%?sudo=sudo;origurl=%SCRIPTURL{"view"}%/%BASEWEB%/%BASETOPIC%][internal admin login]] (use the username suggested and the password set in configure)."}%
404

  
405
#SecuritySettings
406
---++ Security Settings
407

  
408
   * Only TWiki administrators are allowed to change this topic:
409
      * Set ALLOWTOPICCHANGE = %USERSWEB%.TWikiAdminGroup
410
      * Set ALLOWTOPICRENAME = %USERSWEB%.TWikiAdminGroup
411
   * Disable WYSIWYG editor for this preferences topic only:
412
      * Local TINYMCEPLUGIN_DISABLE = on
413

  
414
#NewPreferences
415
---++ Creating New Preference Variables
416

  
417
You can introduce new VARIABLES and use them in your topics and templates. There is no need to change the TWiki engine (Perl scripts).
418
   * A preference is defined in a TWikiShorthand bullet item: ==[3 spaces] * [space] Set NAME = value== <br /> Example (as a nested bullet item, indented 6 spaces):
419
      * S<nop>et WEBBGCOLOR = #FFFFC0
420
   * Preferences are used as %SYSTEMWEB%.TWikiVariables by enclosing the name in percent signs: ==%==. Example:
421
      * When you write variable ==%WEB<nop>BGCOLOR%==, it gets expanded to =%WEBBGCOLOR%= .
422

  
423
   * %X% The sequential order of the preference settings is significant. Define preferences that use other preferences FIRST. For example, set ==<nop>WEBCOPYRIGHT== before ==<nop>WIKIWEBMASTER== since the copyright notice uses the TWiki administrator e-mail address.
424
   * %X% In order to protect your custom variables from being overwritten when upgrading the [[%SYSTEMWEB%.%TOPIC%]] topic, it is recommended that custom variables are defined in [[%USERSWEB%.%TOPIC%]].
425

  
426
#ProtectedSystemSettings
427
---++ Protected System Settings
428

  
429
The following settings are declared final to protect them as read only. These are system variables that should 
430
never be attempted set or altered in any preference topic or topic settings. 
431

  
432
   * Set FINALPREFERENCES = WEB, TOPIC
433

  
434
#RelatedTopics
435
---++ Related Topics
436

  
437
   * %WEBPREFSTOPIC% has preferences of the <nop>%WEB% web.
438
   * User topics in %USERSWEB% can have optional user preferences.
439
   * %SYSTEMWEB%.TWikiVariables has a list of common =%<nop>VARIABLES%=.
440
   * %SYSTEMWEB%.TWikiAccessControl explains how to restrict access by users or groups.
441
   * %SYSTEMWEB%.PreferencesPlugin makes editing preferences a snap.
442

  
443
__Note__: Can't edit?
444
[[%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?raw=on][View raw topic]]
445

  
446
<div class="twikiNotification"> __%X% NOTE:__ Don't edit this topic, changes will be lost on the next TWiki upgrade. Define new site-level settings, or overload above settings in [[%LOCALSITEPREFS%]] </div>
trunk/schemas/VegBIEN/Redmine/wiki/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /VegBIEN/Redmine/wiki/
4

  
5
SetEnvIf Request_URI ^ innermost_dir=wiki
6

  
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteCond %{ENV:innermost_dir} =wiki
9
RewriteCond $0 ^(?!/)(.+)$ [ornext]
10
RewriteCond - ()
11
RewriteRule ^.+$ ../main/wiki/%1 [discardpath,last,noescape,qsappend]
trunk/schemas/VegBIEN/Redmine/svn/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /VegBIEN/Redmine/svn/
4

  
5
SetEnvIf Request_URI ^ innermost_dir=svn
6

  
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteCond %{ENV:innermost_dir} =svn
9
RewriteCond $0 ^/ [ornext]
10
RewriteCond /$0 ^(.*)$
11
RewriteRule ^.+$ https://code.nceas.ucsb.edu/code/projects/bien/trunk%1 [discardpath,last,noescape,qsappend]
trunk/schemas/VegBIEN/Redmine/svn-web/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /VegBIEN/Redmine/svn-web/
4

  
5
SetEnvIf Request_URI ^ innermost_dir=svn-web
6

  
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteCond %{ENV:innermost_dir} =svn-web
9
RewriteCond $0 ^/ [ornext]
10
RewriteCond /$0 ^(.*)$
11
RewriteRule ^.+$ ../main/repository/entry%1 [discardpath,last,noescape,qsappend]
trunk/schemas/VegBIEN/Redmine/main/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3

  
4
SetEnvIf Request_URI ^ innermost_dir=main
5

  
6
# dir without trailing / is provided as an absolute filesystem path
7
RewriteCond %{ENV:innermost_dir} =main
8
RewriteCond $0 ^/ [ornext]
9
RewriteCond /$0 ^(.*)$
10
RewriteRule ^.+$ https://projects.nceas.ucsb.edu/nceas/projects/bien%1 [discardpath,last,noescape,qsappend]
trunk/schemas/VegBIEN/Redmine/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3

  
4
SetEnvIf Request_URI ^ innermost_dir=Redmine
5

  
6
# dir without trailing / is provided as an absolute filesystem path
7
RewriteCond %{ENV:innermost_dir} =Redmine
8
RewriteCond $0 ^/ [ornext]
9
RewriteCond /$0 ^(.*)$
10
RewriteRule ^.+$ wiki%1 [discardpath,last,noescape,qsappend]
trunk/schemas/VegBIEN/db/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3

  
4
SetEnvIf Request_URI ^ innermost_dir=db
5

  
6
# dir without trailing / is provided as an absolute filesystem path
7
RewriteCond %{ENV:innermost_dir} =db
8
RewriteCond $0 ^/ [ornext]
9
RewriteCond /$0 ^(.*)$
10
RewriteRule ^.+$ /servers/vegbiendev/vegbien%1 [discardpath,last,noescape,qsappend]
trunk/schemas/VegBIEN/TWiki/.rsync_filter.vegbiendev.download
1
exclude /**
trunk/schemas/VegBIEN/TWiki/.rsync_filter.starscream.upload
1
exclude /**
trunk/schemas/VegBIEN/TWiki/data/Main/TWikiPreferences.txt
1
%META:TOPICINFO{author="BaseUserMapping_333" date="1366699085" format="1.1" version="1.9"}%
2
---+!! %MAKETEXT{"Local customisations of site-wide preferences"}%
3

  
4
<div class="twikiHelp">%ICON{"info"}% %MAKETEXT{"Site-level preferences are located in [_1], however this [_2] prefs topic has override priority and should be used for local customisations. This allows for easier upgrades as you don't need to worry about the shipped preferences clobbering yours. It's easier to keep a handle on if you only copy over the settings you actually change." args="[[%SYSTEMWEB%.%TOPIC%]], [[%USERSWEB%.%TOPIC%]]"}% </div>
5

  
6
%EDITPREFERENCES{"%SYSTEMWEB%/TWikiPreferencesForm"}%
7
%IF{"$ SCRIPTNAME != 'viewauth%SCRIPTSUFFIX%'" then="<span class='twikiGrayText'>%MAKETEXT{"Quick edit of existing preferences (edit the topic text to set new preferences)"}%</span>" }%
8

  
9
---++ Site Specific Site-wide Preferences
10
<!-- Add site-wide preferences here -->
11

  
12
      * Set FORCENEWREVISIONCHECKBOX = checked="checked"
13
      * Set DONTNOTIFYCHECKBOX = checked="checked"
14

  
15

  
16

  
17
---++ Final Preferences
18

  
19
   * =FINALPREFERENCES= locks site-level preferences that are *not* allowed to be overridden by [[%WEBPREFSTOPIC%]] or user preferences:
20
      * Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, TWIKILAYOUTURL, TWIKISTYLEURL, TWIKICOLORSURL, USERSWEB, SYSTEMWEB, DOCWEB
21

  
22
---++ Security Settings
23

  
24
   * Only TWiki administrators are allowed to change this topic:
25
      * Set ALLOWTOPICCHANGE = TWikiAdminGroup
26
      * Set ALLOWTOPICRENAME = TWikiAdminGroup
27
   * Disable WYSIWYG editor for this preferences topic only:
28
      * Local TINYMCEPLUGIN_DISABLE = on
29

  
30
__Related topics:__ [[%SYSTEMWEB%.%TOPIC%]], [[%SYSTEMWEB%.TWikiVariables][TWikiVariables]], [[%SYSTEMWEB%.TWikiAccessControl][TWikiAccessControl]]
trunk/schemas/VegBIEN/TWiki/data/TWiki/TWikiPreferences.txt
1
%META:TOPICINFO{author="TWikiContributor" date="1357464271" format="1.1" version="87"}%
2
---+!! <nop>%WIKITOOLNAME% Site-Level Preferences
3

  
4
This topic defines __site-level__ settings that apply to all users and webs on this TWikiSite.
5

  
6
<div class="twikiNotification"> __%X% NOTE:__ Don't edit this topic, changes will be lost on the next TWiki upgrade. Define new site-level settings, or overload below settings in [[%LOCALSITEPREFS%]] </div>
7

  
8
Preference settings local to your site should be set in [[%LOCALSITEPREFS%]] (this topic is pointed to by {LocalSitePreferences}, which is set by the admin in the [[%SCRIPTURLPATH{"configure"}%][configure]] interface). Settings in [[%LOCALSITEPREFS%]] will override settings in this topic, and should be used for defining custom settings and variables.
9

  
10
[[TWikiVariables#PreferencesVariables][Read more]] on how to set Preferences Variables.
11

  
12
%TOC%
13

  
14
#DefaultWebPreferences
15
---++ Default Web Preferences
16

  
17
%X% *NOTE:* These are just defaults; don't change them here. Instead, add them to the !WebPreferences topic in each web
18

  
19
   * List of selected topics in a web (used in menus)
20
      * Set WEBTOPICLIST = [[WebChanges][Changes]] %SEP% [[WebIndex][Index]] %SEP% [[WebSearch][Search]] %SEP% Go <input type="text" name="topic" size="16" />
21

  
22
   * Web-specific background color: (is overwritten by web preferences)
23
      * Set WEBBGCOLOR = #FFD8AA
24

  
25
   * [[http://en.wikipedia.org/wiki/Favicon][favicon]]: Attach a =favicon.ico= to a web's WebPreferences or add a =FAVICON= setting to WebPreferences
26
      * Set FAVICON = %PUBURLPATH%/%BASEWEB%/%WEBPREFSTOPIC%/favicon.ico
27

  
28
   * Image, URL and alternate tooltip text of web's logo.
29
      * Set WEBLOGOIMG = %WIKILOGOIMG%
30
      * Set WEBLOGOURL = %WIKILOGOURL%
31
      * Set WEBLOGOALT = %WIKILOGOALT%
32

  
33
   * List this web in the %SYSTEMWEB%.SiteMap:
34
      * If yes, set SITEMAPLIST to =on=, do not set NOSEARCHALL, and add the "what" and "use to..." description for the site map. Make sure to list only links that include the name of the web, e.g. <nop>%WEB%.Topic links.
35
      * Set SITEMAPLIST = on
36
      * Set SITEMAPWHAT = Describe what this web does
37

  
38
#CopyrightNotice
39
   * Copyright notice:
40
      * Set WEBCOPYRIGHT = %MAKETEXT{"Copyright &&copy; [_1] by the contributing authors. All material on this collaboration platform is the property of the contributing authors." args="2008-%GMTIME{$year}%"}% <br /> %MAKETEXT{"Ideas, requests, problems regarding [_1]? <a href='[_2]'>Send feedback</a>" args="<nop>%WIKITOOLNAME%,mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME%%20Feedback%20on%20%BASEWEB%.%BASETOPIC%"}%
41

  
42
   * Simplified Copyright notice for the WebRss feed (don't use any special characters, html tags, entities, wiki markup or WikiWords)
43
      * Set WEBRSSCOPYRIGHT = Copyright %GMTIME{"$year"}% by contributing authors
44

  
45
   * Exclude web from a =web="all"= search: (Set to =on= for hidden webs; is overwritten by web preferences) __Note__ it is much better to use TWikiAccessControls in individual webs to control who can and can't view the contents of a web. NOSEARCHALL is retained for compatibility, but you should avoid using it.
46
      * Set NOSEARCHALL = 
47

  
48
   * Prevent automatic linking of [[%SYSTEMWEB%.WikiWords][WikiWords]] and acronyms (if set to =on=); link <nop>WikiWords (if empty); can be overwritten by web preferences:
49
      * Set NOAUTOLINK = 
50
      * __Note:__ Use the =[<nop>[...][...]]= syntax to link topics in case you disabled <nop>WikiWord linking. The =&lt;noautolink&gt; ... &lt;/noautolink&gt;= syntax can be used to prevents links within a block of text.
51

  
52
   * If you use non !WikiWords for topic names (for example "Expenses" or "Mighty1") and if you use bracket notation to link to those topics, it is useful to *turn of all warnings* (like: "WARNING: This topic name is not recommended because it will not be linked automatically") and checkboxes ("Allow non !WikiWord for the new topic name"). Can be overwritten by web preferences. Set to =on= to activate:
53
      * Set HIDE_NON_WIKI_WORD_WARNINGS =
54
      
55
   * Warn if =%<nop>INCLUDE{}%= of topic fails: Fail silently if empty or =off=. Output warning message (defined in templates/oopsalerts.tmpl) if set to =on=. Otherwise output specific text (use =$topic= for topic). You can override this in web preferences, or by using a =warn="..."= parameter with =%<nop>INCLUDE{}%= :
56
      * Set INCLUDEWARNING = on
57

  
58
#TableOfContents
59
   * Generated Table of Contents (TOC) settings
60
      * The first header level to appear in the TOC:
61
         * Set TOC_MIN_DEPTH =
62
            * If not set: =1=
63
            * Possible values: =1= to =6=
64
      * The last header level to appear in the TOC:      
65
         * Set TOC_MAX_DEPTH =
66
            * If not set: =6=
67
            * Possible values: =1= to =6=
68
            * Can be overridden by =depth= parameter of [[%SYSTEMWEB%.VarTOC2][variable TOC]]
69
      * The default TOC title:
70
         * Set TOC_TITLE =
71
            * If not set: nothing
72
            * Possible values: any string, for example =On this page:=
73
            * Can be overridden by =title= parameter of [[%SYSTEMWEB%.VarTOC2][variable TOC]]
74
      * Do not show a TOC if the topic it contains is included in another topic:
75
         * Set TOC_HIDE_IF_INCLUDED =
76
            * If not set: included TOC is shown
77
            * Possible values: =on= or nothing
78

  
79
#DefaultUserSettings
80
---++ Default User Settings
81

  
82
%X% *NOTE:* They are typically redefined in topics of individual %USERSWEB%.TWikiUsers
83

  
84
   * Preference for the editor, default is the WYSIWYG editor. The options are raw, wysiwyg:
85
      * Set EDITMETHOD = wysiwyg
86
      * #Set EDITMETHOD = raw
87

  
88
   * Fixed [[%SYSTEMWEB%.TopMenuSkin#FixedTopMenu][pulldown menu-bar]], on or off. If on, the menu-bar is always visible at the top, regardless of the window scroll position. If off, the menu-bar hides when scrolled, and can be shown by hovering over the gray TWiki icon.
89
      * Set FIXEDTOPMENU = off
90

  
91
   * Show tool-tip topic info on mouse-over of WikiWord links. Setting can be on, off, or customized. An empty setting or off setting disables the tool-tips (for better performance). The setting can contain $summary to show the topic summary, $date for the last change date, $rev for the revision, $username for the login name of the last editor, $wikiname for the <nop>WikiName, $wikiusername for <nop>%USERSWEB%.WikiName, $topic for the topic name, and $web for the web name
92
      * Set LINKTOOLTIPINFO = off
93
      * #Set LINKTOOLTIPINFO = $username - $date - $rev: $summary
94

  
95
   * Horizontal size of text edit box:
96
      * Set EDITBOXWIDTH = 70
97

  
98
   * Vertical size of text edit box:
99
      * Set EDITBOXHEIGHT = 22
100

  
101
   * Style of text edit box. Set to =width: 99%= for full window width (default; this will overwrite the EDITBOXWIDTH setting), or =width: auto= to disable. This setting works for IE and some other recent browsers.
102
      * Set EDITBOXSTYLE = width:99%
103

  
104
   * Default state of the __Force New Revision__ (ForceNewRevision) check box in preview. Check box is initially checked if =Set FORCENEWREVISIONCHECKBOX = checked="checked"=, or unchecked if empty:
105
      * Set FORCENEWREVISIONCHECKBOX = 
106

  
107
   * Default state of the __Minor Changes, Don't Notify__ (DontNotify) check box in preview. Check box is initially checked if =Set DONTNOTIFYCHECKBOX = checked="checked"=, or unchecked if empty:
108
      * Set DONTNOTIFYCHECKBOX = 
109

  
110
   * Default state of the __link__ check box in the attach file page. Checkbox is initially checked if =Set ATTACHLINKBOX = checked="checked"=, or unchecked if empty (=Set ATTACHLINKBOX ==). If checked, a link is created to the attached file at the end of the topic:
111
      * Set ATTACHLINKBOX = 
112

  
113
   * Format of file link when the __link__ check box is checked:
114
      * %H% *NOTE:* Keyword ==$name== gets expanded to filename; ==$comment== to comment; ==\t== to tab (3 spaces for bullets).
115
<!-- verbatim tag required to prevent error in Apache log; does not suppress Set -->
116
<verbatim>
117
      * Set ATTACHEDFILELINKFORMAT = \n   * [[%PUBURLPATH%/%WEB%/%TOPIC%/$name][$name]]: $comment
118
</verbatim>
119

  
120
   * Format of images when the __link__ check box is checked:
121
      * %H% *NOTE:* Keyword ==$name== gets expanded to filename; ==$comment== to comment; ==$width== to width of image; ==$height== to height of image; ==$size== to ==width="..." height="..."== attribute of ==img== tag; ==\t== to tab and ==\n== to linefeed. Use 3 leading spaces for bullets.
122
<verbatim>
123
      * Set ATTACHEDIMAGEFORMAT = \n   * $comment: <br />\n     <img src="%PUBURLPATH%/%WEB%/%TOPIC%/$name" alt="$name" $size />
124
</verbatim>
125

  
126
#TWikiPlatformSettings
127
---++ TWiki Platform Settings
128

  
129
   * TWiki site name:
130
      * Set WIKITOOLNAME = TWiki
131

  
132
   * Image, URL and alternate tooltip text of the logo *for this installation*: you should change these settings for your site, or they can be overwridden in !WebPreferences for individual webs by defining these variables there.
133
      * Set WIKILOGOIMG = %PUBURL%/%SYSTEMWEB%/TWikiLogos/T-logo-140x40-t.gif
134
      * Set WIKILOGOURL = %SCRIPTURL{view}%/%USERSWEB%/%HOMETOPIC%
135
      * Set WIKILOGOALT = Home - this site is powered by TWiki(R)
136

  
137
   * Home page of this site. This is DEPRECATED, please use %<nop>WIKILOGOURL% instead.
138
      * Set WIKIHOMEURL = %SCRIPTURLPATH{"view"}%/%USERSWEB%/%HOMETOPIC%
139

  
140
   * List of <nop>%WIKITOOLNAME% webs - on the first line of the upper toolbar (to add a new web, see ManagingWebs and %SYSTEMWEB%.SiteMap):
141
      * Set WIKIWEBLIST = [[%USERSWEB%.%HOMETOPIC%][%USERSWEB%]] %SEP% [[%SYSTEMWEB%.%HOMETOPIC%][%SYSTEMWEB%]] %SEP% [[Sandbox.%HOMETOPIC%][Sandbox]]
142
      * %T% *NOTE:* To automatically list all non-hidden webs in alphabetical order, use the =%<nop>WEBLIST{}%= variable instead: <br />
143
        %WEBLIST{"[[$name.%HOMETOPIC%][$name]]" separator=" | "}%
144

  
145
   * Maximum size of %SYSTEMWEB%.FileAttachments in KB, 0 for no limit:
146
      * Set ATTACHFILESIZELIMIT = 10000
147

  
148
#BroadcastMessage
149
   * Broadcast message for skins supporting a %<nop>BROADCASTMESSAGE% at the top of the page: (IMPORTANT: Set to empty message if not used; #Comment out unused messages)
150
      * Set BROADCASTMESSAGE = 
151
      * #Set BROADCASTMESSAGE = *NOTE:* Edit and Attach will be disabled today between 05:00 PM and 06:00 PM PDT (00:00 to 01:00 GMT) for a scheduled <nop>%WIKITOOLNAME% maintenance.
152

  
153
   * Users or groups allowed to [[%SYSTEMWEB%.ManagingWebs][create new top-level webs]]: (ex: %USERSWEB%.WebCreatorsGroup). If set to nothing, only administrators will be able to do this.
154
      * Set ALLOWROOTCHANGE = %USERSWEB%.TWikiAdminGroup
155

  
156
#SearchSettings
157
---+++ Search Settings
158

  
159
   * Default type for search, one of: keyword (for search engine like syntax), regex (for RegularExpression search), or literal (for verbatim search)
160
      * Set SEARCHDEFAULTTYPE = keyword
161
   * Default for =%<nop>SEARCH{}%= variable, one of: keyword, regex, or literal
162
      * Set SEARCHVARDEFAULTTYPE = literal
163
   * Stop words, e.g., common words and characters to exclude from a keyword search:
164
      * Set SEARCHSTOPWORDS = a, all, am, an, and, any, as, at, b, be, by, c, d, e, for, from, g, h, how, i, i'm, i.e., in, is, isn't, it, it's, its, j, k, l, m, n, o, of, on, or, p, q, r, s, t, that, that's, the, this, to, u, v, w, was, wasn't, what, what's, when, where, who, who's, will, with, x, y, z
165

  
166
#EmailSettings
167
---+++ E-mail Settings
168

  
169
   * 'Mail this topic' mailto: link - can be included in topics, templates or skins
170
      * Set MAILTHISTOPIC = <a href="mailto:?subject=%BASETOPIC%&amp;body=%TOPICURL%">%MAILTHISTOPICTEXT%</a>
171

  
172
   * 'Mail this topic' link text
173
      * Set MAILTHISTOPICTEXT = Send a link to this page
174

  
175
#HttpEquivSettings
176
---+++ HTTP-<nop>EQUIV Settings
177

  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff