Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
F: +44 (0)8456 446 899 / +44 (0)1223 359459
E: enquiries@precedence.co.uk
RefCount

RefCount performs link reference counts on pages in the PmWiki database (i.e., counts of links between pages). Before using RefCount, it must be enabled by the wiki administrator by placing the following line in a local customization file:

include_once("$FarmD/scripts/refcount.php");

To use refcount add ?action=refcount to the URL of any wiki page to bring up the reference count form. For example:

The refcount form contains the following controls:

  • Show ~ This selects which pages will appear in the output
    • all ~ Shows all references
    • missing ~ Shows only references to pages that don't exist
    • existing ~ Shows only references to pages that do exist
    • orphaned ~ Shows pages that exist but don't have any references to them. There is no way to browse to an orphaned page.
  • page names in group ~ Selects which group(s) to the referenced pages can be in
  • referenced from pages in ~ Selects which group(s) the referencing pages can be in
  • Display referencing pages ~ Includes a link to the referencing page -- this can make for a very long output unless you limit the groups searched

The output is a table where each row of the table contains a page name or link reference, the number of (non-RecentChanges) pages that contain links to the page and the number of Recent Changes pages with links to the page.


This page may have a more recent version on pmwiki.org: PmWiki:RefCount, and a talk page: PmWiki:RefCount-Talk.

© Copyright Precedence Technologies 1999-2017
Page last modified on September 10, 2011, at 05:08 PM by Petko