This page needs review, in particular to make sure the information in the parameter table is accurate.
Plugin Backlinks
This Wiki Plugin will list all pages that link to a specific page in the site. Information about the pages may also be displayed.
Usage
Here is an example of the syntax to use to display a list of backlinks for a page:
{BACKLINKS(page=>HomePage, info=>hits|user, exclude=>SomePage|SandBox, include_self=>1, noheader=>1)}{BACKLINKS}
| Parameter | Accepted values | Effect | Since |
| page | Page name. Default is the name of the page containing the plugin code. | The page that the pages being listed are linked to | |
| info | Pipe-separated page field names (maximum of 4). For example: hits | user. Fields available: hits, user (last author), version, lastModif (last modification), creator, flag (status). | Displays page information in the list of backlinks | |
| exclude | Pipe-separated page names. For example: HomePage | Sandbox | Excludes pages from the list | |
| include_self | 0 or 1 (default is 0) | Set to 1 to include in the list the page that the other pages link to | |
| noheader | 0 or 1 (default is 0) | Default or 0 setting will add this header to the list: "x pages link to {Page Name}". Set to 1 to eliminate the header. |
Example
If page information (such as hits or user) is specified, then a simple table will be produced. So this code,
{BACKLINKS(page=>HomePage, info=>hits|user, exclude=>SandBox)}{BACKLINKS}
Would produce:
5 pages link to HomePage
| Page | Hits | User |
| Documentation | 432693 | areasas |
| Documentation,cs | 4242 | luci |
| Documentation,de | 4937 | carsten.aevermann |
| Documentation,pt-br | 2011 | macarena |
| HomePage,nl | 10151 | Muizeman |
Example
If only the page name is to be listed, then a bulleted list is produced. So this code,
{BACKLINKS()}{BACKLINKS}
Would produce:
4 pages link to PluginBacklinks
Related pages
Contributors to this page: lindon
,
sylvie
and
mlpvolt
.
Page last modified on Saturday 03 July, 2010 21:46:03 UTC by lindon
.
