Plugin Wanted Pages
This wiki plugin lists the location of links to pages that have not been created yet ("wanted pages"), sorted either by wanted page or by page where the link is found.
Parameters
Show location of links to pages not yet createdIntroduced in Tiki 1.
Go to the source code
Preferences required: wikiplugin_wantedpages
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(body of plugin) | Custom level regex. A custom filter for wanted pages to be listed (only used when level="custom" ). Possible
values: a valid regex-expression (PCRE). |
|||
splitby |
The character by which ignored patterns are separated. | + | 1 | |
collect |
(blank) from to |
Collect either originating (from) or wanted pages (to) in a cell and display them in the second column. | from | 1 |
ignore |
A wildcard pattern of originating pages to be ignored. (refer to PHP function fnmatch() for details) | 1 | ||
skipalias |
(blank) 1 0 |
Whether to skip wanted pages that have a defined alias (not skipped by default) | 1 | 12.1 |
skipext |
(blank) 1 0 |
Whether to include external wikis in the list (not included by default) | 0 | 1 |
debug |
(blank) 0 1 2 |
Switch on debug output with details about the items (debug not on by default) | 0 | 1 |
level |
(blank) custom full strict |
Filter the list of wanted pages according to page_regex or custom filter. The default value is the site's current page_regex. | 1 | |
table |
Multiple collected items are separated in distinct table rows (default), or by comma or line break in one cell. | sep | 1 |
Notes
The data for this plugin is taken from the table 'tiki_links'.
- Link Syntax - In order for the 'tiki_links' table to be populated it is important that the ((page_name)) syntax be used when referencing an internal wiki page. It is possible to create a link to an internal wiki page using the syntax [page_name] , but that syntax should be avoided, and it will not produce data in the 'tiki_links' table.
- Best Results - for best results, enable the WikiWordsPlugin, I found that if this plugin is not enabled, several desired page links will be recorded in the 'tiki_links' table, but not displayed in the list result of this plugin.
- Also note that this plugin may produce undesired results when page aliases are used.
Examples
Wanted pages can be displayed two ways:
This code:
{WANTEDPAGES(skipext="1" table="co" level="custom")}([A-Za-z0-9_])([\.: A-Za-z0-9,_\-])*([A-Za-z0-9_]){WANTEDPAGES}
Will produce on this site:
This code:
{WANTEDPAGES(skipext="1" table="co" collect="to" level="custom")}([A-Za-z0-9_])([\.: A-Za-z0-9,_\-])*([A-Za-z0-9_]){WANTEDPAGES}
Will produce on this site:
Related pages