Loading...
 
Skip to main content

History: PluginWantedPages

Source of version: 22 (current)

Copy to clipboard
            ! 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
{pluginmanager plugin="wantedpages"}
!! 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 ~np~((page_name))~/np~ syntax be used when referencing an internal wiki page.  It is possible to create a link to an internal wiki page using the syntax ~np~[page_name]~/np~ , 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:
{TABS(tabs=By page to be created|By page where link is located)}
''This code:''
{CODE(colors="tiki")}
{WANTEDPAGES(skipext="1" table="co" level="custom")}([A-Za-z0-9_])([\.: A-Za-z0-9,_\-])*([A-Za-z0-9_]){WANTEDPAGES}
{CODE}
''Will produce on this site:''
{WANTEDPAGES(skipext="1" table="co" level="custom")}([A-Za-z0-9_])([\.: A-Za-z0-9,_\-])*([A-Za-z0-9_]){WANTEDPAGES}
/////
''This code:''
{CODE(colors="tiki")}
{WANTEDPAGES(skipext="1" table="co" collect="to" level="custom")}([A-Za-z0-9_])([\.: A-Za-z0-9,_\-])*([A-Za-z0-9_]){WANTEDPAGES}
{CODE}
''Will produce on this site:''
{WANTEDPAGES(skipext="1" table="co" collect="to" level="custom")}([A-Za-z0-9_])([\.: A-Za-z0-9,_\-])*([A-Za-z0-9_]){WANTEDPAGES}
{TABS}
!!Related pages
* ((Backlinks))
* ((WantedPages))