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=>Documentation, info=>hits|user, exclude=>SandBox)}{BACKLINKS}Would produce:
9 pages link to Documentation
| Page | Hits | User |
| Documentation TOC | 623034 | ricks99 |
| Documentation,cs | 4703 | luci |
| Documentation,pt-br | 2781 | macarena |
| Dokumentation TOC de | 11516 | gta74 |
| HomePage,es | 19198 | xavidp |
| HomePage,nl | 12992 | Muizeman |
| Installation | 611302 | ricks99 |
| Installation,de | 3329 | marclaporte |
| Tutorials | 150112 | lindon |
Example
If only the page name is to be listed, then a bulleted list is produced. So this code,{BACKLINKS()}{BACKLINKS}Would produce:
5 pages link to PluginBacklinks
