This page (revision-1) was last changed on 2019-12-18 09:13 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 18 lines
The __IfInsertPagePlugin__ plugin is a [NeWikiPlugin] that conditionally inserts a page. This uses the
parameters of the {{org.apache.wiki.plugin.IfPlugin}} to make a decision on whether or not to insert a page.
Because the {{page}} parameter names is used by both plugins, the page to be inserted instead uses
{{pagename}}. For details on usage, see the [IfPlugin|https://jspwiki-wiki.apache.org/Wiki.jsp?page=IfPlugin]
documentation.
!! Example
To insert a page "MondaySchedule" if a given page "TestPage" contains specific content, use
{{{
[{If page='TestPage' contains='Monday' insert='MondaySchedule' }]
}}}
Note: the difference between "contains" and "is" is that "is" is always an exact
match, whereas "contains" just checks if a regular expression pattern matches.