Changeset 697
- Timestamp:
- 11/15/08 12:29:49 (4 years ago)
- Location:
- branches/Release04x02/data/TWiki
- Files:
-
- 47 edited
- 1 moved
-
AccessControl.txt (modified) (1 diff)
-
AnApplicationWithWikiForm.txt (modified) (1 diff)
-
DefaultPreferences.txt (modified) (6 diffs)
-
DocumentGraphics.txt (modified) (3 diffs)
-
EditingShorthand.txt (modified) (1 diff)
-
FileAttachment.txt (modified) (1 diff)
-
ForceNewRevision.txt (modified) (1 diff)
-
FormatTokens.txt (modified) (1 diff)
-
FormattedSearch.txt (modified) (1 diff)
-
IfStatements.txt (modified) (2 diffs)
-
IncludeTopicsAndWebPages.txt (modified) (2 diffs)
-
InstalledPlugins.txt (modified) (2 diffs)
-
InstantEnhancements.txt (modified) (5 diffs)
-
Macros.txt (moved) (moved from branches/Release04x02/data/TWiki/TWikiVariables.txt)
-
MacrosQuickStart.txt (modified) (1 diff)
-
MetaData.txt (modified) (3 diffs)
-
Plugins.txt (modified) (2 diffs)
-
SearchHelp.txt (modified) (3 diffs)
-
SkinTemplates.txt (modified) (2 diffs)
-
StartingPoints.txt (modified) (3 diffs)
-
TWikiSiteTools.txt (modified) (6 diffs)
-
TWikiUpgradeGuide.txt (modified) (3 diffs)
-
TemplateTopics.txt (modified) (2 diffs)
-
TextFormattingFAQ.txt (modified) (3 diffs)
-
TopicsAndWebs.txt (modified) (1 diff)
-
UserAuthentication.txt (modified) (3 diffs)
-
VarCARET.txt (modified) (1 diff)
-
VarENV.txt (modified) (1 diff)
-
VarGROUPS.txt (modified) (1 diff)
-
VarINCLUDE.txt (modified) (1 diff)
-
VarMAKETEXT.txt (modified) (1 diff)
-
VarMETA.txt (modified) (1 diff)
-
VarREMOTEUSER.txt (modified) (1 diff)
-
VarSEARCH.txt (modified) (3 diffs)
-
VarSERVERTIME.txt (modified) (1 diff)
-
VarSERVERTIME2.txt (modified) (1 diff)
-
VarSPACEDTOPIC.txt (modified) (1 diff)
-
VarSTARTINCLUDE.txt (modified) (1 diff)
-
VarSTOPINCLUDE.txt (modified) (1 diff)
-
VarURLPARAM.txt (modified) (1 diff)
-
VarUSERNAME.txt (modified) (1 diff)
-
VarWEBLIST.txt (modified) (1 diff)
-
VarWIKINAME.txt (modified) (1 diff)
-
VarWIKIUSERNAME.txt (modified) (1 diff)
-
WebPreferences.txt (modified) (2 diffs)
-
WebPreferencesHelp.txt (modified) (1 diff)
-
WikiName.txt (modified) (2 diffs)
-
WikiSyntax.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/Release04x02/data/TWiki/AccessControl.txt
r695 r697 192 192 ---+++ Obfuscating Webs 193 193 194 Another way of hiding webs is to keep them hidden by not publishing the URL and by preventing the ==all webs== search option from accessing obfuscated webs. Do so by enabling the ==NOSEARCHALL== variablein %WEBPREFSTOPIC%:194 Another way of hiding webs is to keep them hidden by not publishing the URL and by preventing the ==all webs== search option from accessing obfuscated webs. Do so by enabling the ==NOSEARCHALL== setting in %WEBPREFSTOPIC%: 195 195 * ==Set <nop>NOSEARCHALL = on== 196 196 -
branches/Release04x02/data/TWiki/AnApplicationWithWikiForm.txt
r605 r697 8 8 9 9 1 Create a TWiki Form and define fields (see DataForms for details) 10 1 Add the form in the list of Web Forms. Set the variable WEBFORMS in WebPreferences10 1 Add the form in the list of Web Forms. Set the preference WEBFORMS in WebPreferences 11 11 1 Create a Template Topic 12 12 1 In edit mode add the [[DataForms][Data Form]] you defined to the Template Topic using the "Add Form" button -
branches/Release04x02/data/TWiki/DefaultPreferences.txt
r695 r697 63 63 * If not set: =6= 64 64 * Possible values: =1= to =6= 65 * Can be overridden by =depth= parameter of [[%SYSTEMWEB%.VarTOC2][ variableTOC]]65 * Can be overridden by =depth= parameter of [[%SYSTEMWEB%.VarTOC2][TOC]] 66 66 * The default TOC title: 67 67 * Set TOC_TITLE = 68 68 * If not set: nothing 69 69 * Possible values: any string, for example =On this page:= 70 * Can be overridden by =title= parameter of [[%SYSTEMWEB%.VarTOC2][ variableTOC]]70 * Can be overridden by =title= parameter of [[%SYSTEMWEB%.VarTOC2][TOC]] 71 71 * Do not show a TOC if the topic it contains is included in another topic: 72 72 * Set TOC_HIDE_IF_INCLUDED = … … 128 128 * List of <nop>%WIKITOOLNAME% webs - on the first line of the upper toolbar (to add a new web, see ManagingWebs and %SYSTEMWEB%.SiteMap): 129 129 * Set WIKIWEBLIST = [[%USERSWEB%.%HOMETOPIC%][%USERSWEB%]] %SEP% [[%SYSTEMWEB%.%HOMETOPIC%][%SYSTEMWEB%]] %SEP% [[Sandbox.%HOMETOPIC%][Sandbox]] 130 * %T% *NOTE:* To automatically list all non-hidden webs in alphabetical order, use the =%<nop>WEBLIST{}%= variableinstead: <br />130 * %T% *NOTE:* To automatically list all non-hidden webs in alphabetical order, use the =%<nop>WEBLIST{}%= macro instead: <br /> 131 131 %WEBLIST{"[[$name.%HOMETOPIC%][$name]]" separator=" | "}% 132 132 … … 145 145 * Default type for search, one of: keyword (for search engine like syntax), regex (for RegularExpression search), or literal (for verbatim search) 146 146 * Set SEARCHDEFAULTTTYPE = keyword 147 * Default for =%<nop>SEARCH{}%= variable, one of: keyword, regex, or literal147 * Default for =%<nop>SEARCH{}%= macro, one of: keyword, regex, or literal 148 148 * Set SEARCHVARDEFAULTTYPE = literal 149 149 * Stop words, e.g., common words and characters to exclude from a keyword search: … … 214 214 215 215 * You can enable/disable Plugins using the [[%SCRIPTURLPATH{"configure"}%][configure]] interface. 216 * You can also disable installed plugins in individual webs/topics by defining the %<nop>DISABLEDPLUGINS% TWiki variableto be a list of plugins to disable e.g.216 * You can also disable installed plugins in individual webs/topics by defining the %<nop>DISABLEDPLUGINS% preference setting to be a list of plugins to disable e.g. 217 217 * <nop>Set DISABLEDPLUGINS = SpreadSheetPlugin,EditTablePlugin 218 218 * Currently, %<nop>DISABLEDPLUGINS% is set to "%DISABLEDPLUGINS%" … … 222 222 * Detailed diagnostics can be found in InstalledPlugins 223 223 * Legacy settings: 224 * Set INSTALLEDPLUGINS = The INSTALLEDPLUGINS variableis no longer supported. You can set the Plugins execution order using the [[%SCRIPTURLPATH{"configure"}%][configure]] interface.224 * Set INSTALLEDPLUGINS = The INSTALLEDPLUGINS macro is no longer supported. You can set the Plugins execution order using the [[%SCRIPTURLPATH{"configure"}%][configure]] interface. 225 225 226 226 #RenderingShortcuts … … 339 339 * S<nop>et WEBBGCOLOR = #FFFFC0 340 340 * Preferences are used as [[%SYSTEMWEB%.Macros][Macros]] by enclosing the name in percent signs: ==%==. Example: 341 * When you write variable==%WEB<nop>BGCOLOR%==, it gets expanded to =%WEBBGCOLOR%= .341 * When you write ==%WEB<nop>BGCOLOR%==, it gets expanded to =%WEBBGCOLOR%= . 342 342 343 343 * %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 Wiki administrator e-mail address. -
branches/Release04x02/data/TWiki/DocumentGraphics.txt
r551 r697 1 %META:TOPICINFO{author="ProjectContributor" date="1222844046" format="1.1" version="$Rev: 1 7552$"}%1 %META:TOPICINFO{author="ProjectContributor" date="1222844046" format="1.1" version="$Rev: 16040 $"}% 2 2 ---+!! TWiki Documentation Graphics and Filetype icons 3 3 … … 343 343 Shorthand notation: 344 344 <blockquote> 345 In [[%USERSWEB%.DefaultPreferences!]] set a variable toan ICON, for example:345 In [[%USERSWEB%.DefaultPreferences!]] set a macro for an ICON, for example: 346 346 347 347 =<nop> * Set H = %<nop>ICON{help}%= … … 349 349 Now you can use the icon by writing =%<nop>H%= 350 350 351 For extended use, check out TWiki:Plugins.SmiliesPlugin that uses a different short hand than =<nop>% VARIABLES%=.351 For extended use, check out TWiki:Plugins.SmiliesPlugin that uses a different short hand than =<nop>%MACROS%=. 352 352 </blockquote> 353 353 -
branches/Release04x02/data/TWiki/EditingShorthand.txt
r695 r697 39 39 Three or more dashes at the beginning of a line, followed by plus signs and the heading text. One plus creates a top level heading, two pluses a second level heading, etc. The maximum heading depth is 6. 40 40 41 You can create a table of contents with the [[VarTOC][%<nop>TOC%]] variable. If you want to *exclude* a heading from the TOC, put =!!= after the =---+=.41 You can create a table of contents with the [[VarTOC][%<nop>TOC%]] macro. If you want to *exclude* a heading from the TOC, put =!!= after the =---+=. 42 42 43 43 %X% Empty headings are allowed, but won't appear in the table of contents. -
branches/Release04x02/data/TWiki/FileAttachment.txt
r695 r697 30 30 * Any type of file can be uploaded. Some files that might pose a security risk are renamed, ex: =*.php= files are renamed to =*.php.txt= so that no one can place code that would be read in a .php file. 31 31 * The previous upload path is retained for convenience. In case you make some changes to the local file and want to upload it, again you can copy the previous upload path into the Local file field. 32 * TWiki can limit the file size. This is defined by the =%<nop>ATTACHFILESIZELIMIT%= variable of the DefaultPreferences, currently set at %ATTACHFILESIZELIMIT% KB.32 * TWiki can limit the file size. This is defined by the =%<nop>ATTACHFILESIZELIMIT%= preference setting, currently set at %ATTACHFILESIZELIMIT% KB. 33 33 * %X% It's not recommended to upload files greater than a few hundred K through a browser. Large files can be extremely slow-loading, and often time out. Use an FTP site for large file uploads. 34 34 * Automatic attachments: -
branches/Release04x02/data/TWiki/ForceNewRevision.txt
r491 r697 4 4 The "Force New Revision" checkbox is a way to force it to create a separate revision each time you save. 5 5 6 The [[%SYSTEMWEB%.DefaultPreferences!]] variable=FORCENEWREVISIONCHECKBOX= controls whether this is checked by default or not.6 The [[%SYSTEMWEB%.DefaultPreferences!]] setting =FORCENEWREVISIONCHECKBOX= controls whether this is checked by default or not. 7 7 8 8 On a related note, you can force __every__ save to be a new revision number by setting =ReplaceIfEditedAgainWithin= to 0. -
branches/Release04x02/data/TWiki/FormatTokens.txt
r3 r697 3 3 TWiki defines some standard special tokens that can be used to replace characters in some parameters - notably those to FormattedSearch and IfStatements - to defer evaluation of the parameter until later. These special tokens are often called "escapes", because they allow the character to "escape" from its normal meaning. 4 4 %STARTINCLUDE%| =$n= or =$n()= | New line. Use =$n()= if followed by alphanumeric character, e.g. write =Foo$n()Bar= instead of =Foo$nBar= | 5 | =$nop= or =$nop()= | Is a "no operation". This variablegets removed; useful for nested search |5 | =$nop= or =$nop()= | Is a "no operation". This token gets removed; useful for nested search | 6 6 | =$quot= | Double quote (="=) (\" also works) | 7 7 | =$percnt= | Percent sign (=%=) | -
branches/Release04x02/data/TWiki/FormattedSearch.txt
r695 r697 180 180 ---+++ Embedding search forms to return a formatted result 181 181 182 Use an HTML form and an embedded formatted search on the same topic. You can link them together with an =%<nop>URLPARAM{"..."}%= variable. Example:182 Use an HTML form and an embedded formatted search on the same topic. You can link them together with an =%<nop>URLPARAM{"..."}%= macro. Example: 183 183 184 184 *Write this:* -
branches/Release04x02/data/TWiki/IfStatements.txt
r695 r697 8 8 In the example above, if CONDITION evaluates to TRUE, then THEN will be included in the topic; otherwise ELSE will be included. 9 9 10 Note that because of the way TWiki evaluates, then whatever is in the THEN and ELSE parameters will already have been expanded by the time the condition is actually evaluated. The standard FormatTokens can be used in the THEN and ELSE parameters when you need to delay evaluation of (for example) a TWiki variable.10 Note that because of the way TWiki evaluates, then whatever is in the THEN and ELSE parameters will already have been expanded by the time the condition is actually evaluated. The standard FormatTokens can be used in the THEN and ELSE parameters when you need to delay evaluation of (for example) a macro. 11 11 12 12 The basic syntax of a condition is the same as [[QuerySearch][the syntax used for queries]], with the addition of the following special operators: … … 19 19 | defined | True if a preference setting or url parameter of this name is defined. | 20 20 | isempty | True if a preference setting, url parameter or session variable of this name has an empty value. It is equivalent to the expression =(!defined(x) || $x='')= | 21 | $ | expands a URL parameter or [[Macros][macro]] name. Plugin handlers *are not called*. Built-in macros, s ettings and user-defined preference settings are supported. You can pass a limited subset of parameters to macros by enclosing the variable name in single quotes; for example, =$ 'VARIABLE{value}'=. The ='VARIABLE{value}'= string may *not* contain quotes (' or "). |22 | {X} | expands to the value of the configuration variable{X} - for example, ={ScriptUrlPath}= |21 | $ | expands a URL parameter or [[Macros][macro]] name. Plugin handlers *are not called*. Built-in macros, system preference settings and user-defined preference settings are supported. You can pass a limited subset of parameters to macros by enclosing the parameter string in single quotes; for example, =$ 'MACRO{value}'=. The ='MACRO{value}'= string may *not* contain quotes (' or "). | 22 | {X} | expands to the value of the =configure= setting {X} - for example, ={ScriptUrlPath}= | 23 23 24 24 __Examples:__ 25 25 26 1. TWiki variabledefined or not26 1. Macro defined or not 27 27 <verbatim> 28 28 %IF{"defined 'WIKINAME'" then="WIKINAME is defined" else="WIKINAME is not defined"}% 29 29 </verbatim> 30 30 31 2. Compare TWiki variable31 2. Compare macro definition 32 32 <verbatim> 33 33 You are %IF{ "$ WIKINAME='WikiGuest' and not defined 'OPEN_DAY'" then="not" }% allowed to -
branches/Release04x02/data/TWiki/IncludeTopicsAndWebPages.txt
r481 r697 1 1 %META:TOPICINFO{author="ProjectContributor" date="1111929255" format="1.0" version="$Rev$"}% 2 ---+!! Include Topics and Web Pages Using =%<nop>INCLUDE{...}%= Variable2 ---+!! Include Topics and Web Pages Using =%<nop>INCLUDE{...}%= Macro 3 3 4 Use the =%<nop>INCLUDE{...}%= variableto embed the content of another topic or web page inside a TWiki topic. The whole content or only parts of a page can be included. If needed, set a proxy server in %WIKIPREFSTOPIC%.4 Use the =%<nop>INCLUDE{...}%= macro to embed the content of another topic or web page inside a TWiki topic. The whole content or only parts of a page can be included. If needed, set a proxy server in %WIKIPREFSTOPIC%. 5 5 6 6 %TOC% … … 12 12 The =pattern= parameter is optional and allows you to extract some parts of a web page. Specify a %SYSTEMWEB%.RegularExpression that scans from start (='^'=) to end and contains the text you want to keep in parenthesis, e.g., =pattern="^.*?(from here.*?to here).*"=. You need to make sure that the integrity of a web page is not compromised; for example, if you include a table, make sure to include everything including the table end tag. 13 13 14 The example parameters PARAMETER1 and PARAMETER2 will be defined as a variablewithin the scope of the included topic. The example parameters shown will result in %PARAMETER1% and %PARAMETER2% being defined within the included topic.14 The example parameters PARAMETER1 and PARAMETER2 will be defined as macros within the scope of the included topic. The example parameters shown will result in %PARAMETER1% and %PARAMETER2% being defined within the included topic. 15 15 16 16 VarINCLUDE explains the other parameters. -
branches/Release04x02/data/TWiki/InstalledPlugins.txt
r528 r697 1 %META:TOPICINFO{author="ProjectContributor" date="1159249788" format="1.1" version="$Rev: 1 7114$"}%1 %META:TOPICINFO{author="ProjectContributor" date="1159249788" format="1.1" version="$Rev: 15598 $"}% 2 2 ---+ Installed Plugins 3 3 Plugins are mainly user-contributed add-ons that enhance and extend TWiki features and capabilities. A limited number of plugins are included in the core TWiki distribution - and any of those can be removed - while the rest are optional, available from TWiki:Plugins.PluginPackage. … … 19 19 %FAILEDPLUGINS% 20 20 21 __Note:__ The diagnostics are provided by the =%<nop>FAILEDPLUGINS%= variable21 __Note:__ The diagnostics are provided by the =%<nop>FAILEDPLUGINS%= macro 22 22 23 23 __Related Topics:__ [[Plugins]], %WIKIPREFSTOPIC%, AdminDocumentationCategory, AdminToolsCategory, TWikiSkinBrowser -
branches/Release04x02/data/TWiki/InstantEnhancements.txt
r695 r697 23 23 *What we are doing* 24 24 25 We want to set variable WEBBGCOLOR in topic WebPreferences to one of the StandardColors. <nop>WebPreferences is, as you can guess, a topic which holds all kind of preference setting for each TWiki Web[[ManagingWebs][{*}]]. Each web has its own <nop>WebPreferences, and you can set them differently for each web.25 We want to set the preference WEBBGCOLOR in topic WebPreferences to one of the StandardColors. <nop>WebPreferences is, as you can guess, a topic which holds all kind of preference setting for each TWiki Web[[ManagingWebs][{*}]]. Each web has its own <nop>WebPreferences, and you can set them differently for each web. 26 26 27 27 *How to do it* … … 45 45 46 46 1 Go to WebPreferences in each web, and edit the topic. 47 2 In WEBTOPICLIST variable, replace =WebIndex= with =WebTopicList=, and save.47 2 In the WEBTOPICLIST setting, replace =WebIndex= with =WebTopicList=, and save. 48 48 49 49 ---+++ Simple way to create %RED% colored text %ENDCOLOR% and graphics … … 61 61 You may find it easier to write shorthand graphic notation. You can create your own image macros by defining them in a preference topic (most likely [[%USERSWEB%.%WIKIPREFSTOPIC%]].) 62 62 63 A variablename may be one letter, like =Y=, or may be longer like =HELP=, =WARN= etc. You can also add your own images, e.g. a =NEW=, or a =ASK= to ask question.63 A macro name may be one letter, like =Y=, or may be longer like =HELP=, =WARN= etc. You can also add your own images, e.g. a =NEW=, or a =ASK= to ask question. 64 64 65 65 For instance, if we want to write =%<nop>DOWN%= instead of =%<nop>ICON{"arrowbdown"}%=, define the new macro like this: … … 80 80 TOC is Table-Of-Content, generated automagically from headers (defined like that: ==---++== , see TWikiShorthand). 81 81 82 For example, you may want to put all your custom variables in [[%LOCALSITEPREFS%]] right on top of the page, and generate table of contents, like:82 For example, you may want to put all your custom settings in [[%LOCALSITEPREFS%]] right on top of the page, and generate table of contents, like: 83 83 84 84 * Preferences for easy creating nice pages … … 136 136 *End Copy* 137 137 138 The SEARCH variablehas many more formatting options, see [[Macros]].138 The SEARCH macro has many more formatting options, see [[Macros]]. 139 139 140 140 ---+++ Recently changed pages -
branches/Release04x02/data/TWiki/MacrosQuickStart.txt
r695 r697 16 16 *Documentation Graphics:* There are many graphics available to use in your topics. Use =%<nop>ICON{"help"}%=, =%<nop>ICON{"tip"}%=, and =%<nop>ICON{"warning"}%= to get: %H%, %T%, and %X%, respectively. DocumentGraphics lists them all. 17 17 18 %ICON{"tip"}% To "escape" a variable, prefix it with an exclamation mark. Write: =!%<nop>SOMEVARIABLE%= to get: !%SOMEVARIABLE%.18 %ICON{"tip"}% To "escape" a macro, prefix it with an exclamation mark. Write: =!%<nop>SOMEMACRO%= to get: !%SOMEMACRO%. 19 19 %STOPINCLUDE% -
branches/Release04x02/data/TWiki/MetaData.txt
r695 r697 57 57 ---+++ META:TOPICMOVED 58 58 59 This is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta variableexists in the topic, older ones are to be found in the rcs history.59 This is optional, exists if topic has ever been moved. If a topic is moved more than once, only the most recent META:TOPICMOVED meta datum exists in the topic, older ones are to be found in the rcs history. 60 60 61 61 =%<nop>META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" by="talintj" date="976762680"}%= … … 134 134 ---++ Rendering Meta Data 135 135 136 Meta Data is rendered with the %<nop>META% variable. This is mostly used in the =view=, =preview= and =edit= scripts.136 Meta Data is rendered with the %<nop>META% macro. This is mostly used in the =view=, =preview= and =edit= scripts. 137 137 138 You can render form fields in topic text by using the FORMFIELD variable. Example:%BR%138 You can render form fields in topic text by using the FORMFIELD macro. Example:%BR% 139 139 =%<nop>FORMFIELD{"TopicClassification"}%= %BR% 140 140 For details, see VarFORMFIELD. … … 142 142 Current support covers: 143 143 144 | * Variableusage:* | *Comment:* |144 | *Macro usage:* | *Comment:* | 145 145 | =%<nop>META{"form"}%= | Show form data, see DataForms. | 146 146 | =%<nop>META{"formfield"}%= | Show form field value. Parameter: ==name="field_name"==. Example:%BR% =%<nop>META{ "formfield" name="TopicClassification" }%= | -
branches/Release04x02/data/TWiki/Plugins.txt
r695 r697 139 139 140 140 * =$TWiki::Plugins::VERSION= in the =TWiki::Plugins= module contains the TWiki plugin API version, currently *%PLUGINVERSION{}%*. 141 * You can also use the =[[VarPLUGINVERSION][%<nop>PLUGINVERSION{}%]]= variableto query the plugin API version or the version of installed plugins.141 * You can also use the =[[VarPLUGINVERSION][%<nop>PLUGINVERSION{}%]]= macro to query the plugin API version or the version of installed plugins. 142 142 143 143 ---+++ Security … … 206 206 *Example:* <<i>Include an example of the plugin in action. Possibly include a static HTML version of the example to compare if the installation was a success!</i>>" 207 207 208 *Plugin Settings:* <<i>Description and settings for custom plugin %<nop>VARIABLES%, and those required by TWiki.</i>>"208 *Plugin Settings:* <<i>Description and settings for custom plugin settings, and those required by TWiki.</i>>" 209 209 210 210 * *Plugins Preferences* <<i>If user settings are needed, explain... Entering values works exactly like %SYSTEM!WEB%.DefaultPreferences and WebPreferences: six (6) spaces and then:</i>>" -
branches/Release04x02/data/TWiki/SearchHelp.txt
r491 r697 1 %META:TOPICINFO{author="ProjectContributor" date="1111929255" format="1.0" version="$Rev: 9245 $"}%1 %META:TOPICINFO{author="ProjectContributor" date="1111929255" format="1.0" version="$Rev: 7725 $"}% 2 2 %META:TOPICPARENT{name="WebSearch"}% 3 3 ---+!! Search Help … … 31 31 ---++ Formatted Searches 32 32 33 You can embed a nicely [[FormattedSearch][formatted search]] in a topic by using the =%<nop>SEARCH{}%= variabledescribed in VarSEARCH.33 You can embed a nicely [[FormattedSearch][formatted search]] in a topic by using the =%<nop>SEARCH{}%= macro described in VarSEARCH. 34 34 35 35 ---++ Search Preferences … … 39 39 * =SEARCHDEFAULTTTYPE=: Default search type for search forms which calls the =search= script 40 40 * Currently =%SEARCHDEFAULTTTYPE%= 41 * =SEARCHVARDEFAULTTYPE=: Default search type for =%<nop>SEARCH{}= variable41 * =SEARCHVARDEFAULTTYPE=: Default search type for =%<nop>SEARCH{}= macro 42 42 * Currenty =%SEARCHVARDEFAULTTYPE%= 43 43 * =SEARCHSTOPWORDS=: List of stop words (common words and characters to exclude from a keyword search) -
branches/Release04x02/data/TWiki/SkinTemplates.txt
r695 r697 31 31 * ==%<nop>TMPL:P{"var"}%==: Includes a previously defined block. 32 32 * ==%<nop>{...}%==: is a comment. 33 * Two-pass processing lets you use a variablebefore or after declaring it.33 * Two-pass processing lets you use a defined block before or after declaring it. 34 34 * For example, you can create a skin that overloads only the =twiki.tmpl= master skin template, like =twiki.print.tmpl=, that redefines the header and footer. 35 35 * %H% Use of template macros is optional: templates work without them. … … 126 126 ==twiki.tmpl== is the default master template. It defines the following sections. 127 127 128 | *Template variable:* | *Defines:* |128 | *Template directive:* | *Defines:* | 129 129 | =%<nop>TMPL:DEF{"sep"}%= | "|" separator | 130 130 | =%<nop>TMPL:DEF{"htmldoctype"}%= | Start of all HTML pages | -
branches/Release04x02/data/TWiki/StartingPoints.txt
r621 r697 1 %META:TOPICINFO{author="ProjectContributor" date="1111929255" format="1.0" version="$Rev: 8265 $"}%1 %META:TOPICINFO{author="ProjectContributor" date="1111929255" format="1.0" version="$Rev: 6745 $"}% 2 2 Welcome to <nop>%WIKITOOLNAME%. This page assumes that you are a new user to <nop>%WIKITOOLNAME%, and that you've never heard of Wiki before. Here are the most important pages you should know about to get you up to speed on what Wiki is, and how to use it. Follow any of the links below that interest you and use your browser's back button to return to this page if you need to. 3 3 … … 5 5 6 6 * WelcomeGuest: A brief intro for first-time visitors 7 * *[[TwentyMinuteTutorial]]*: A compact, 20-minute TWikiprimer7 * *[[TwentyMinuteTutorial]]*: A compact, 20-minute primer 8 8 * %HOMETOPIC%: Entry point for this TWiki web. 9 9 * TWikiSite: Explains what a TWiki site is 10 10 * WebChanges: Newest topic changes in the <nop>%WEB% web 11 * FrequentlyAskedQuestions: Common questions about TWiki use11 * FrequentlyAskedQuestions: Common questions about how to use the program 12 12 13 13 * GoodStyle: Things to consider when changing text … … 16 16 * TextFormattingFAQ: Common how-to questions about posting in TWiki 17 17 18 * TWikiVariables: How to easily embed text, graphics, dynamic content18 * [[%SYSTEMWEB%.Macros][Macros]]: How to easily embed text, graphics, dynamic content 19 19 20 20 * MainFeatures: The main features of the TWiki collaboration platform -
branches/Release04x02/data/TWiki/TWikiSiteTools.txt
r695 r697 1 %META:TOPICINFO{author="ProjectContributor" date="1177803014" format="1.1" version="$Rev: 1 4760$"}%1 %META:TOPICINFO{author="ProjectContributor" date="1177803014" format="1.1" version="$Rev: 13239 $"}% 2 2 %STARTINCLUDE% 3 3 ---+ TWiki Site Tools … … 14 14 Each TWiki web has an automatic e-mail alert service that sends a list of recent changes on a preset schedule, like once a day. Users can subscribe and unsubscribe using %NOTIFYTOPIC% in each web. The Perl script =mailnotify= is called by a background process at regular intervals. The script sends an automated e-mail to subscribed users if topics were changed in a web since the script was last run. 15 15 16 * You can create a WebNotify link using [[ Macros]] with ==%<nop>NOTIFYTOPIC%==16 * You can create a WebNotify link using [[%SYSTEMWEB%.Macros][Macros]] with ==%<nop>NOTIFYTOPIC%== 17 17 18 18 %INCLUDE{"WebChangesAlert"}% … … 30 30 * many more 31 31 32 See also: SearchHelp for help; [[ Macros]] and FormattedSearch for including hard-coded searches in text.32 See also: SearchHelp for help; [[%SYSTEMWEB%.Macros][Macros]] and FormattedSearch for including hard-coded searches in text. 33 33 34 34 #WebChanges … … 65 65 You can generate a listing manually, or on an automated schedule, of visits to individual pages, on a per web basis. Compiled as a running total on a monthly basis. Includes totals for Topic Views, Topic Saves, Attachment Uploads, Most Popular Topics with number of views, and Top Contributors showing total of saves and attachment uploads. Previous months are saved. 66 66 67 * You can create a WebStatistics link using [[ Macros]] with ==%<nop>STATISTICSTOPIC%==67 * You can create a WebStatistics link using [[%SYSTEMWEB%.Macros][Macros]] with ==%<nop>STATISTICSTOPIC%== 68 68 69 69 ---+++ Configuring for automatic operation 70 70 71 71 * You can automatically generate usage statistics for all webs. To enable this: 72 * Make sure variable*{Log}{view}*, *{Log}{save}* and *{Log}{upload} in are set in [[%SCRIPTURLPATH{"configure"}%][configure]]. This will generate log file entries (see below).72 * Make sure configure settings *{Log}{view}*, *{Log}{save}* and *{Log}{upload} in are set in [[%SCRIPTURLPATH{"configure"}%][configure]]. This will generate log file entries (see below). 73 73 * The WebStatistics topic must be present in all webs where you want to have statistics. You can use the topic in the Main web as a template. 74 74 * Call the =twiki/bin/statistics= script from a cron job, once a day is recommended. This will update the WebStatistics topics in all webs. … … 126 126 Outgoing mail is required for TWikiRegistration and for [[#WebNotify][recent changes alert]]. 127 127 128 TWiki will use the ==Net::SMTP== module if it is installed on your system. Set this with the ==SMTPMAILHOST== variablein DefaultPreferences.128 TWiki will use the ==Net::SMTP== module if it is installed on your system. Set this with the ==SMTPMAILHOST== preference setting in DefaultPreferences. 129 129 130 130 The notify e-mail uses the default =changes.tmpl= template, or a skin if activated in the DefaultPreferences. … … 136 136 ! * %H% Net::SMTP can be easily disabled (if there is an installation error) by setting ==SMTPMAILHOST== in DefaultPreferences to an empty value. 137 137 138 * %T% You can set a separate ==SMTPSENDERHOST== variableto define the mail sender host (some SMTP installations require this).138 * %T% You can set a separate ==SMTPSENDERHOST== preference setting to define the mail sender host (some SMTP installations require this). 139 139 140 140 ---+++ Setting the automatic e-mail schedule -
branches/Release04x02/data/TWiki/TWikiUpgradeGuide.txt
r672 r697 1 %META:TOPICINFO{author="ProjectContributor" date="1200013119" format="1.1" version="$Rev: 1 6189$"}%1 %META:TOPICINFO{author="ProjectContributor" date="1200013119" format="1.1" version="$Rev: 14667 $"}% 2 2 %STARTINCLUDE% 3 3 ---+ TWiki Upgrade Guide … … 105 105 ---+++ Apply Preferences From Old Installation 106 106 107 * Transfer any customized and local settings from [[%SYSTEMWEB%. TWikiPreferences]] or [[%SYSTEMWEB%.DefaultPreferences]] to the topic pointed at by {LocalSitePreferences} ([[%LOCALSITEPREFS%]]). Per default this is =%USERSWEB%.SitePreferences=. This avoids having to write over files in the distribution on a later upgrade.107 * Transfer any customized and local settings from [[%SYSTEMWEB%.DefaultPreferences]] to the topic pointed at by {LocalSitePreferences} ([[%LOCALSITEPREFS%]]). Per default this is =%USERSWEB%.SitePreferences=. This avoids having to write over files in the distribution on a later upgrade. 108 108 * If you changed any of the topics in the original TWiki distribution, you will have to transfer your changes to the new install manually. There is no simple way to do this, though a suggestion is to use 'diff' to find changed files in the =data/TWiki= of the old and new TWiki installation, and transfer the changes into the new TWiki install. If you can run a GUI on your server, you may find that using a visual diff tool like !WinMerge, meld, kdiff3, xxdiff, etc. is helpful. 109 109 * Compare the =WebPreferences= topics in the old TWiki Installation with the default from the new TWiki installation and add any new Preferences that may be relevant. … … 127 127 128 128 * Attach a favicon.ico file to !WebPreferences in each web. 129 * Preferred: Change the setting of the location of favicon.ico in !% USERSWEB%.SitePreferences so all webs use the favicon.ico from the TWiki web. This is the fastest and easiest solution.130 131 To change the location of favicon.ico in !DefaultPreferences to the %SYSTEM% web add this line to !%USERSWEB%.SitePreferences129 * Preferred: Change the setting of the location of favicon.ico in !%SYSTEMWEB%.DefaultPreferences or !%USERSWEB%.SitePreferences so all webs use the favicon.ico from the TWiki web. This is the fastest and easiest solution. 130 131 To change the location of favicon.ico to the TWiki web add this line to %USERSWEB%.SitePreferences 132 132 133 133 <verbatim> -
branches/Release04x02/data/TWiki/TemplateTopics.txt
r695 r697 26 26 | =%<nop>GMTIME%= | Date/time. See VarGMTIME | 27 27 | =%<nop>GMTIME{...}%= | Formatted date/time. See VarGMTIME2 | 28 | =%<nop>NOP%= | A no-operation variablethat gets removed. Useful to prevent a SEARCH from hitting an edit template topic; also useful to escape a variable, such as =%<nop>URLPA%<nop>NOP%RAM{...}%= escaping URLPARAM |28 | =%<nop>NOP%= | A no-operation macro that gets removed. Useful to prevent a SEARCH from hitting an edit template topic; also useful to escape a variable, such as =%<nop>URLPA%<nop>NOP%RAM{...}%= escaping URLPARAM | 29 29 | =%<nop>STARTSECTION{type="templateonly"}%%BR%...%BR%%<nop>ENDSECTION{type="templateonly"}%= | Text that gets removed when a new topic based on the template topic is created. See notes below. | 30 30 | =%<nop>SERVERTIME%= | Date/time. See VarSERVERTIME | … … 99 99 See CommandAndCgiScripts#edit for details of the parameters that the =edit= script understands. 100 100 101 %T% *TIP:* You can use the =%<nop>WIKIUSERNAME%= and =%<nop>DATE%= macros in your template topics to include the signature of the person creating a new topic. The variables are expanded into fixed text when a new topic is created. The standard signature is: <br />101 %T% *TIP:* You can use the =%<nop>WIKIUSERNAME%= and =%<nop>DATE%= macros in your template topics to include the signature of the person creating a new topic. The macros are expanded into fixed text when a new topic is created. The standard signature is: <br /> 102 102 ==-- %<nop>WIKIUSERNAME% - %<nop>DATE%== 103 103 -
branches/Release04x02/data/TWiki/TextFormattingFAQ.txt
r695 r697 1 %META:TOPICINFO{author="ProjectContributor" date="1197351701" format="1.1" version="$Rev: 1 5968$"}%1 %META:TOPICINFO{author="ProjectContributor" date="1197351701" format="1.1" version="$Rev: 14446 $"}% 2 2 ---++ Text Formatting FAQ 3 3 … … 16 16 17 17 You can create six sizes of headings - <h1>...<h6> in HTML - by typing, from the beginning of a line, three dashes (-), from one to six plus signs (+), a space, and your heading text. The FAQ questions on this page are created with: =---+++ Have a question?=. 18 * You can insert a nested table of contents, generated from headings, by placing =%<nop>TOC%= wherever you like on a page (see [[ %SYSTEMWEB%.Macros][Macros]] for more =%<nop>TOC%= options).18 * You can insert a nested table of contents, generated from headings, by placing =%<nop>TOC%= wherever you like on a page (see [[Macros]] for more =%<nop>TOC%= options). 19 19 20 20 ----- … … 71 71 The =pre= tag is standard HTML; =verbatim= is a special TWiki tag that forces text to fixed font mode, and also prevents other tags and TWiki shortcuts from being expanded. 72 72 73 __NOTE:__ VARIABLESare still Set within verbatim tags (this is a historical peculiarity)73 __NOTE:__ preference settings are still Set within verbatim tags (this is a historical peculiarity) 74 74 75 75 __NOTE:__ The =verbatim= opening and closing tags are converted into =pre= tags; any HTML attributes (e.g., =class=, =id=) in the opening =verbatim= tag are included in the corresponding =pre= tag. -
branches/Release04x02/data/TWiki/TopicsAndWebs.txt
r695 r697 65 65 * custom formatting for outputting lists or tables, optional layout, headings, summary, etc. 66 66 * macros 67 * si milar to a command line context with site wide and locally defined variables67 * site wide and locally defined macros 68 68 * over-ride topic, TWiki web or site 69 69 * [[%SYSTEMWEB%.DataForms][forms]] -
branches/Release04x02/data/TWiki/UserAuthentication.txt
r695 r697 15 15 %WIKITOOLNAME% authentication is very flexible, and can either stand alone or integrate with existing authentication schemes. You can set up %WIKITOOLNAME% to require authentication for every access, or only for changes. Authentication is also essential for access control. 16 16 17 *Quick Authentication Test* - Use the %<nop>USERINFO% variableto return your current identity:17 *Quick Authentication Test* - Use the %<nop>USERINFO% macro to return your current identity: 18 18 * You are %USERINFO% 19 19 … … 132 132 You don't _have_ to enable sessions to support logins in %WIKITOOLNAME%. However it is *strongly* recommended. %WIKITOOLNAME% needs some way to remember the fact that you logged in from a particular browser, and it uses sessions to do this. If you don;t enable sessions, %WIKITOOLNAME% will try hard to remember you, but due to limitations in the browsers it may also forget you (and then suddenly remember you again later!). So for the best user experience, you should enable sessions. 133 133 134 There are a number of [[%SYSTEMWEB%.Macros][ Macros]] available that you can use to interrogate your current session. You can even add your own session variables to the %WIKITOOLNAME% cookie. Session variables are referred to as "sticky" variables.134 There are a number of [[%SYSTEMWEB%.Macros][macros]] available that you can use to interrogate your current session. You can even add your own session variables to the %WIKITOOLNAME% cookie. Session variables are referred to as "sticky" variables. 135 135 136 136 ---+++ Getting, Setting, and Clearing Session Variables … … 161 161 <nop>%WIKITOOLNAME% internally manages two usernames: Login Username and TWiki Username. 162 162 163 * *Login Username:* When you login to the intranet, you use your existing login username , ex: ==pthoeny==. This name is normally passed to TWiki by the ==REMOTE_USER== environment variable, and used internally. Login Usernames are maintained by your system administrator.163 * *Login Username:* When you login to the intranet, you use your existing login username. This name is normally passed to TWiki by the ==REMOTE_USER== environment variable, and used internally. Login Usernames are maintained by your system administrator. 164 164 165 165 * *TWiki Username:* Your name in WikiNotation, ex: ==PeterThoeny==, is recorded when you register using TWikiRegistration; doing so also generates a personal home page in the %USERSWEB% web. -
branches/Release04x02/data/TWiki/VarCARET.txt
r692 r697 4 4 5 5 ---+++ CARET -- caret symbol 6 * The caret variable can be used in TWikitables.6 * The CARET macro is useful in TML tables. 7 7 * Type: ShortcutMacro 8 8 * Current value: CARET = %CARET% -
branches/Release04x02/data/TWiki/VarENV.txt
r695 r697 6 6 * __Note:__ For security reasons, only those environment variables whose names match the regular expression in ={AccessibleENV}= in the *Security Settings/Miscellaneous* section of =configure= can be displayed. Any other variable will just be shown as an empty string, irrespective of its real value. 7 7 * Example: =%<nop>ENV{MOD_PERL}%= displays as: %ENV{MOD_PERL}% 8 * If a variable is undefined (as against being set to the empty string) it will be returned as =not set=.8 * If an environment variable is undefined (as against being set to the empty string) it will be returned as =not set=. 9 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarHTTPHOST][HTTP_HOST]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREMOTEADDR][REMOTE_ADDR]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREMOTEPORT][REMOTE_PORT]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREMOTEUSER][REMOTE_USER]] -
branches/Release04x02/data/TWiki/VarGROUPS.txt
r692 r697 5 5 * Expands to a formatted list of user groups in your %WIKITOOLNAME%. 6 6 * Syntax: =%<nop>GROUPS%= 7 * The variableis intended to be used in %USERSWEB%.WikiGroups, to allow a7 * The macro is intended to be used in %USERSWEB%.WikiGroups, to allow a 8 8 group listing for various user mapping managers. 9 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREMOTEUSER][REMOTE_USER]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarUSERINFO][USERINFO]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarUSERNAME][USERNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKIUSERNAME][WIKIUSERNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKIUSERSTOPIC][WIKIUSERSTOPIC]] -
branches/Release04x02/data/TWiki/VarINCLUDE.txt
r695 r697 20 20 | =warn="off"= | Warn if topic include fails: Fail silently (if =off=); output default warning (if set to =on=); else, output specific text (use =$topic= for topic name) | =%<nop>INCLUDEWARNING%= [[DefaultPreferences][preferences]] setting | 21 21 | =section="name"= | Includes only the specified named section, as defined in the included topic by the [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSTARTSECTION][STARTSECTION]] and [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarENDSECTION][ENDSECTION]] macros. Nothing is shown if the named section does not exists. =section=""= is equivalent to not specifying a section | | 22 | =PARONE="val 1"%BR% PARTWO="val 2"= | Any other parameter will be defined as a variablewithin the scope of the included topic. The example parameters on the left will result in =%<nop>PARONE%= and =%<nop>PARTWO%= being defined within the included topic. | |22 | =PARONE="val 1"%BR% PARTWO="val 2"= | Any other parameter will be defined as a macro within the scope of the included topic. The example parameters on the left will result in =%<nop>PARONE%= and =%<nop>PARTWO%= being defined within the included topic. | | 23 23 * __Note:__ !JavaScript in included webpages is filtered out as a security precaution per default (disable filter with =disableremovescript= parameter) 24 24 * Examples: See IncludeTopicsAndWebPages -
branches/Release04x02/data/TWiki/VarMAKETEXT.txt
r691 r697 31 31 *cannot* use translatable phrases starting with an underscore. 32 32 * Make sure that the translatable string is _constant_. Specially, do *not* 33 include <code>%<nop> VARIABLES%</code> inside the translatable strings33 include <code>%<nop>MACROS%</code> inside the translatable strings 34 34 (since they will get expanded *before* the <code>%<nop>MAKETEXT{...}%</code> 35 35 itself is handled). -
branches/Release04x02/data/TWiki/VarMETA.txt
r692 r697 3 3 #VarMETA 4 4 ---+++ META -- displays meta-data 5 * Provided mainly for use in templates, this variablegenerates the parts of the topic view that relate to meta-data (attachments, forms etc.) The =formfield= item is the most likely to be useful to casual users.5 * Provided mainly for use in templates, this macro generates the parts of the topic view that relate to meta-data (attachments, forms etc.) The =formfield= item is the most likely to be useful to casual users. 6 6 * Syntax: =%<nop>META{ "item" ...}%= 7 7 * Parameters: -
branches/Release04x02/data/TWiki/VarREMOTEUSER.txt
r695 r697 2 2 %META:TOPICPARENT{name="Macros"}% 3 3 #VarREMOTEUSER 4 ---+++ REMOTE_USER -- CGIenvironment variable4 ---+++ REMOTE_USER -- environment variable 5 5 * Syntax: =%<nop>REMOTE_USER%= 6 6 * Expands to: <code>%REMOTE_USER%</code> -
branches/Release04x02/data/TWiki/VarSEARCH.txt
r695 r697 10 10 | ="text"= | Search term. Is a keyword search, literal search, regular expression search, or query, depending on the =type= parameter. SearchHelp has more | required | 11 11 | =search="text"= | (Alternative to above) | N/A | 12 | =web="Name"= <br /> =web="%USERSWEB%, Know"= <br /> =web="all"= | Comma-separated list of webs to search. You can specifically *exclude* webs from an =all= search using a minus sign - for example, =web="all,-Secretweb"=. The special word =all= means all webs that do *not* have the =NOSEARCHALL= variable set to =on= in their %WEBPREFSTOPIC%. Note that [[AccessControl][AccessControls]] are respected when searching webs; it is *much* better to use them than =NOSEARCHALL=. | Current web |12 | =web="Name"= <br /> =web="%USERSWEB%, Know"= <br /> =web="all"= | Comma-separated list of webs to search. You can specifically *exclude* webs from an =all= search using a minus sign - for example, =web="all,-Secretweb"=. The special word =all= means all webs that do *not* have the =NOSEARCHALL= preference set to =on= in their %WEBPREFSTOPIC%. Note that [[AccessControl][AccessControls]] are respected when searching webs; it is *much* better to use them than =NOSEARCHALL=. | Current web | 13 13 | =topic="%WEBPREFSTOPIC%"= <br /> =topic="*Bug"= | Limit search to topics: A topic, a topic with asterisk wildcards, or a list of topics separated by comma. __Note__ this is a list of *topic names* and must *not* include web names. | All topics in a web | 14 14 | =excludetopic="Web*"= <br /> =excludetopic="%HOMETOPIC%, <nop>WebChanges"= | Exclude topics from search: A topic, a topic with asterisk wildcards, or a list of topics separated by comma. __Note__ this is a list of *topic names* and must *not* include web names. | None | … … 31 31 | =expandvariables="on"= | Expand embedded macros before applying a FormattedSearch on a search hit. Useful to show the expanded text, e.g. to show the result of a SpreadSheetPlugin =%<nop>CALC{}%= instead of the formula | Raw text | 32 32 | =multiple="on"= | Multiple hits per topic. Each hit can be [[FormattedSearch][formatted]]. The last token is used in case of a regular expression ";" _and_ search | Only one hit per topic | 33 | =nofinalnewline="on"= | If =on=, the search variable does not end in a line by itself. Any text continuing immediately after the search variableon the same line will be rendered as part of the table generated by the search, if appropriate. | =off= |33 | =nofinalnewline="on"= | If =on=, the search variable does not end in a line by itself. Any text continuing immediately after the SEARCH macro on the same line will be rendered as part of the table generated by the search, if appropriate. | =off= | 34 34 | =recurse="on"= | Recurse into subwebs, if subwebs are enabled. | =off= | 35 35 | =separator=", "= | Line separator _between_ search hits | ="$n"= (Newline) | … … 37 37 * Example: =%<nop>SEARCH{"wiki" web="%USERSWEB%" scope="topic"}%= 38 38 * Example with format: =%<nop>SEARCH{"FAQ" scope="topic" nosearch="on" nototal="on" header="| *Topic: * | *Summary: * |" format="<nop>| $topic | $summary |"}%= _(displays results in a table with header - [[FormattedSearch][details]])_ 39 * %H% Hint: If the TWiki:Plugins.TablePlugin is installed, you may set a =%<nop>TABLE{}%= variablejust before the =%<nop>SEARCH{}%= to alter the output of a search. Example: =%<nop>TABLE{ tablewidth="90%" }%=39 * %H% Hint: If the TWiki:Plugins.TablePlugin is installed, you may put a =%<nop>TABLE{}%= macro just before the =%<nop>SEARCH{}%= to alter the output of a search. Example: =%<nop>TABLE{ tablewidth="90%" }%= 40 40 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarMETASEARCH][METASEARCH]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarTOPICLIST][TOPICLIST]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWEBLIST][WEBLIST]], FormattedSearch, QuerySearch, SearchHelp, SearchPatternCookbook, RegularExpression -
branches/Release04x02/data/TWiki/VarSERVERTIME.txt
r692 r697 6 6 * Expands to: =%SERVERTIME%= 7 7 * Date format defined as {DefaultDateFormat} in [[%SCRIPTURLPATH{"configure"}%][configure]] 8 * __%X% Note:__ When used in a template topic, this variablewill be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details.8 * __%X% Note:__ When used in a template topic, this macro will be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details. 9 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarDISPLAYTIME][DISPLAYTIME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME][GMTIME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSERVERTIME2][SERVERTIME{"format"}]] 10 10 -
branches/Release04x02/data/TWiki/VarSERVERTIME2.txt
r692 r697 6 6 * Syntax: =%<nop>SERVERTIME{"format"}%= 7 7 * Example: =%<nop>SERVERTIME{"$hou:$min"}%= expands to =%SERVERTIME{"$hou:$min"}%= 8 * __%X% Note:__ When used in a template topic, this variablewill be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details.8 * __%X% Note:__ When used in a template topic, this macro will be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details. 9 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarDISPLAYTIME][DISPLAYTIME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGMTIME][GMTIME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSERVERTIME][SERVERTIME]] 10 10 -
branches/Release04x02/data/TWiki/VarSPACEDTOPIC.txt
r692 r697 6 6 * Syntax: =%<nop>SPACEDTOPIC%= 7 7 * Expands to: =%SPACEDTOPIC%= 8 * __%X% Note:__ This is a deprecated variable. It can be duplicated with =%<nop>ENCODE{%<nop>SPACEOUT{"%<nop>TOPIC%" separator=" *"}%}%=8 * __%X% Note:__ This is a deprecated macro. It can be duplicated with =%<nop>ENCODE{%<nop>SPACEOUT{"%<nop>TOPIC%" separator=" *"}%}%= 9 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSPACEOUT][SPACEOUT]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarTOPIC][TOPIC]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarENCODE][ENCODE]] 10 10 -
branches/Release04x02/data/TWiki/VarSTARTINCLUDE.txt
r692 r697 3 3 #VarSTARTINCLUDE 4 4 ---+++ STARTINCLUDE -- start position of topic text if included 5 * If present in included topic, start to include text from this location up to the end, or up to the location of the =%<nop>STOPINCLUDE%= variable. A normal view of the topic shows everything exept the =%<nop>STARTINCLUDE%= variableitself.5 * If present in included topic, start to include text from this location up to the end, or up to the location of the =%<nop>STOPINCLUDE%= macro. A normal view of the topic shows everything exept the =%<nop>STARTINCLUDE%= macro itself. 6 6 * __Note:__ If you want more than one part of the topic included, use =%<nop>STARTSECTION{type="include"}%= instead 7 7 * Syntax: =%<nop>STARTINCLUDE%= -
branches/Release04x02/data/TWiki/VarSTOPINCLUDE.txt
r692 r697 3 3 #VarSTOPINCLUDE 4 4 ---+++ STOPINCLUDE -- end position of topic text if included 5 * If present in included topic, stop to include text at this location and ignore the remaining text. A normal view of the topic shows everyting exept the =%<nop>STOPINCLUDE%= variableitself.5 * If present in included topic, stop to include text at this location and ignore the remaining text. A normal view of the topic shows everyting exept the =%<nop>STOPINCLUDE%= macro itself. 6 6 * Syntax: =%<nop>STOPINCLUDE%= 7 7 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarINCLUDE][INCLUDE]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSTARTINCLUDE][STARTINCLUDE]] -
branches/Release04x02/data/TWiki/VarURLPARAM.txt
r695 r697 19 19 * URL parameters passed into HTML form fields must be entity [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarENCODE][ENCODEd]]. 20 20 * Double quotes in URL parameters must be escaped when passed into other macros.%BR% Example: =%<nop>SEARCH{ "%<nop>URLPARAM{ "search" encode="quotes" }%" noheader="on" }%= 21 * When used in a template topic, this variablewill be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details.21 * When used in a template topic, this macro will be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details. 22 22 * Watch out for TWiki internal parameters, such as =rev=, =skin=, =template=, =topic=, =web=; they have a special meaning in TWiki. Common parameters and view script specific parameters are documented at TWikiScripts. 23 23 * If you have =%<nop>URLPARAM{= in the value of a URL parameter, it will be modified to =%<nop>URLPARAM{=. This is to prevent an infinite loop during expansion. 24 * There is a risk that this variablecould be misused for cross-site scripting.24 * There is a risk that this macro could be misused for cross-site scripting. 25 25 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarENCODE][ENCODE]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSEARCH][SEARCH]], FormattedSearch, [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarQUERYSTRING][QUERYSTRING]] -
branches/Release04x02/data/TWiki/VarUSERNAME.txt
r692 r697 6 6 * Syntax: =%<nop>USERNAME%= 7 7 * Expands to: =%USERNAME%= 8 * __%X% Note:__ When used in a template topic, this variablewill be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details.8 * __%X% Note:__ When used in a template topic, this macro will be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details. 9 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREMOTEUSER][REMOTE_USER]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarUSERINFO][USERINFO]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKINAME][WIKINAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKIUSERNAME][WIKIUSERNAME]], UserAuthentication 10 10 -
branches/Release04x02/data/TWiki/VarWEBLIST.txt
r695 r697 3 3 #VarWEBLIST 4 4 ---+++ WEBLIST{"format"} -- index of all webs 5 * List of all webs. Obfusticated webs are excluded, e.g. webs with a =NOSEARCHALL = on= preference setting. The ="format"= defines the format of one web item. The =$name= variablegets expanded to the name of the web, =$qname= gets expanded to double quoted name, =$marker= to =marker= where web matches =selection=.5 * List of all webs. Obfusticated webs are excluded, e.g. webs with a =NOSEARCHALL = on= preference setting. The ="format"= defines the format of one web item. The =$name= gets expanded to the name of the web, =$qname= gets expanded to double quoted name, =$marker= to =marker= where web matches =selection=. 6 6 * Syntax: =%<nop>WEBLIST{"format" ...}%= 7 7 * Supported parameters: -
branches/Release04x02/data/TWiki/VarWIKINAME.txt
r692 r697 6 6 * Syntax: =%<nop>WIKINAME%= 7 7 * Expands to: =%WIKINAME%= 8 * __%X% Note:__ When used in a template topic, this variablewill be expanded when the template is used to create new topic. See TemplateTopics#TemplateTopicsVars for details.8 * __%X% Note:__ When used in a template topic, this macro will be expanded when the template is used to create new topic. See TemplateTopics#TemplateTopicsVars for details. 9 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREMOTEUSER][REMOTE_USER]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarUSERINFO][USERINFO]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarUSERNAME][USERNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKIUSERNAME][WIKIUSERNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKIUSERSTOPIC][WIKIUSERSTOPIC]] 10 10 -
branches/Release04x02/data/TWiki/VarWIKIUSERNAME.txt
r692 r697 6 6 * Syntax: =%<nop>WIKIUSERNAME%= 7 7 * Expands to: =%WIKIUSERNAME%=, renders as %WIKIUSERNAME% 8 * __%X% Note:__ When used in a template topic, this variablewill be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details8 * __%X% Note:__ When used in a template topic, this macro will be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details 9 9 * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarREMOTEUSER][REMOTE_USER]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarUSERINFO][USERINFO]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarUSERNAME][USERNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKINAME][WIKINAME]] 10 10 -
branches/Release04x02/data/TWiki/WebPreferences.txt
r694 r697 1 %META:TOPICINFO{author="ProjectContributor" date="1111929255" format="1.0" version="$Rev: 1 7162$"}%1 %META:TOPICINFO{author="ProjectContributor" date="1111929255" format="1.0" version="$Rev: 15648 $"}% 2 2 ---+!! <nop>%WEB% Web Preferences 3 3 … … 23 23 * The first header level to appear in the TOC: 24 24 * Set TOC_MIN_DEPTH = 2 25 * Use auto linking for the TWiki documentation pages: 26 * Set NOAUTOLINK = 0 25 27 26 28 * Default template for *new topics* for this web: 27 29 * WebTopicEditTemplate: Site-level default topic template 28 30 29 * Comma separated list of *forms* that can be attached to topics in this web. See %SYSTEMWEB%.DataFormsfor more information.31 * Comma separated list of *forms* that can be attached to topics in this web. See [[%SYSTEMWEB%.DataForms][DataForms]] for more information. 30 32 * Set WEBFORMS = DefaultPreferencesForm 31 33 -
branches/Release04x02/data/TWiki/WebPreferencesHelp.txt
r695 r697 6 6 * Preferences are used as [[%SYSTEMWEB%.Macros][Macros]] by enclosing the name in percent signs. Example: 7 7 * When you write =%WEB<nop>BGCOLOR%= , it gets expanded to =%WEBBGCOLOR%= 8 * The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set =<nop>WEBCOPYRIGHT= before =<nop>WIKIWEBMASTER= since =%<nop>WEBCOPYRIGHT%= uses the =%<nop>WIKIWEBMASTER%= variable.8 * The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set =<nop>WEBCOPYRIGHT= before =<nop>WIKIWEBMASTER= since =%<nop>WEBCOPYRIGHT%= uses the =%<nop>WIKIWEBMASTER%= setting. 9 9 * You can introduce your own preference settings and use them in your topics and templates. 10 10 -
branches/Release04x02/data/TWiki/WikiName.txt
r481 r697 1 %META:TOPICINFO{author="ProjectContributor" date="1111929255" format="1.0" version="$Rev: 1 4617$"}%1 %META:TOPICINFO{author="ProjectContributor" date="1111929255" format="1.0" version="$Rev: 13096 $"}% 2 2 ---+ Wiki name 3 3 Your name, usually your first and last name connected without a space. … … 7 7 %X% Your name is also a potentially valid WikiWord when used within a topic. However the home pages of registered users on this site are stored in the *%USERSWEB%* web. When you sign your username in a topic, prefix it with =%USERSWEB%.= (including the dot). That is, write ==%USERSWEB%.%WIKINAME%== to link to %USERSWEB%.%WIKINAME%, your personal home page in the %USERSWEB% web. For convenience, your signature is also provided for copying and pasting when editing a topic. 8 8 9 %Y% Though rarely used in common practice, you can use the special ==%<nop>USERSWEB%== [[ TWikiVariables][variable]] prefix for user names, for example, ==%<nop>USERSWEB%.%WIKINAME%==.9 %Y% Though rarely used in common practice, you can use the special ==%<nop>USERSWEB%== [[%SYSTEMWEB%.Macros][macro]] prefix for user names, for example, ==%<nop>USERSWEB%.%WIKINAME%==. -
branches/Release04x02/data/TWiki/WikiSyntax.txt
r695 r697 44 44 =unformatted text!= %BR% 45 45 =<b></verbatim></b>= %BR%%BR% 46 __%X% NOTE:__ VARIABLES can be set within verbatim tags, that is, they are not disabled46 __%X% NOTE:__ preferences can still be set within verbatim tags, that is, they are not disabled. This is a historical peculiarity. 47 47 48 48 * Use ==<literal>== to enclose anything that TWiki must not touch under any circumstances, such as in-line HTML code.
Note: See TracChangeset
for help on using the changeset viewer.
