PageTextVariables
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
Default values for unset or empty Page Text Variables
If a page text variable is not defined in a page, or if the current visitor doesn't have read permissions for the page containing the variable definition, then the markup to access the variable like {$:Country}
will return an empty string.
An administrator can define default values for such cases (PmWiki 2.2.121+). The following arrays can be defined in local/config.php
:
$DefaultUnsetPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is unset', '*PartialMatch*' => 'some value', '*' => '(unset)', );
$DefaultEmptyPageTextVars = array( 'SpecificVariable' => 'SpecificVariable is set, but empty', '*' => '(empty)', );
In the above examples, {$:SpecificVariable}
or {OtherPage$:SpecificVariable}
will output the value defined:
- in
$DefaultUnsetPageTextVars
if the variable is not defined in the page text, or if the user doesn't have read permissions for OtherPage - in
$DefaultEmptyPageTextVars
if the user has read permissions, and the variable is defined but empty, for example(:SpecificVariable::)
.
The patterns are processed in order, and the first matching pattern assigns the value to the variable. The asterisk *
matches any string, in the above examples an undefined variable that doesn't match 'SpecificVariable' or '*PartialMatch*' will output '(unset)'.
A search for more than one word will find pages that contain all of the words. Use quotation marks to search for a phrase. Also use quotes for text with punctuation or special characters. Searches are case insensitive, but accent sensitive in the default configuration (i.e. 'u' is not the same as 'ù').
To limit your search to a single group, enter the group name followed by a slash at the beginning of the search string (e.g., "PmWiki/" or "Site/"). To list all pages, enter a slash for the search.
Search examples
Enter | To find pages whose content contains |
---|---|
apple pie | both 'apple' and 'pie' |
"apple pie" | the phrase 'apple pie' |
pmwiki/apple | 'apple' in the PmWiki group of pages |
"pmwiki/apple" | the phrase 'pmwiki/apple' in all groups of pages |
apple -pie | 'apple', omitting those containing 'pie' |
food -"apple pie" | 'food', omitting those containing 'apple pie' |
apple "-pie" | the words 'apple' and '-pie' |
apple - pie | 'apple', '-', and 'pie' |
"pie:" | the word 'pie' with a colon |
"pie=tasty" | the phrase 'pie=tasty' |
pmwiki/ | all pages in the PmWiki group |
Some special characters need to be enclosed in quotes, including the colon (:), equals sign (=), less than (<), single quote (') and double quote(").