Fullscreen
Loading...
 
[Show/Hide Right Column]

Show location of links to pages not yet created

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

Below are the parameters for this plugin:
Required parameters are in bold
Preferences required: wikiplugin_wantedpages
Parameters Accepted Values Description Default Since
ignore a valid regex-expression (PCRE) A wildcard pattern of originating pages to be ignored. (refer to PHP fuction fnmatch() for details)
splitby The character by which ignored patterns are separated. +
skipext 1
Whether to include external wikis in the list (not included by default) 0
collect from
to
Collect either originating (from) or wanted pages (to) in a cell and display them in the second column. from
debug 1
2
Switch on debug output with details about the items (debug not on by default) 0
table sep, co, br Multiple collected items are separated in distinct table rows (default), or by comma or line break in one cell. sep
level 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.



Notes

The data for this plugin is taken from the table 'tiki_links'.

  1. 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.
  2. 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.
  3. Also note that this plugin may produce undesired results when page aliases are used.

Examples

Wanted pages can be displayed to 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:
  Wanted Page    Referenced By Page  
Interaction 功能特性
Shared Hosting? 必要条件与安装
moved? Ziele







Contributors to this page: kevin_ortman3 points  , lindon5653 points  , Torsten Fabricius1665 points  and Marc Laporte8178 points  .
Page last modified on Tuesday 08 February, 2011 04:14:15 UTC by kevin_ortman3 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki