Every page has an additional file containing referers and referees (separated by $FS1), each containing pagenames and a number of accesses for each pagename (separated by $FS2). Loosely speeling in $RefeDir?/T/ThisPage?.rf %referer contains a list of $pagename{$value}} where $value is the namber of times $pagenames has been the referer of ThisPage?. Similarly %refereee contains the number of times ThisPage? has been the referer of $pagename.
Returns the current open page referer unless the referer is the same, or the page is not a valid wiki page (i.e. no referer if it is an external link or an action=* page)
Should take as input $file,and $type, where $page is the page being browsed and $type is of referer or referee. The return value of the subroutine is a hash with a list of valid page names as keys, and integers as values.
Each integers is a hit count telling the obvious info i.e how many times a page has been the referer of $page if $type is referer, or how many times $page has been the referee of a page if $type is refereee
Inputs of such sub is $page, and two lists where $page is the page being browse, the two lists contain the page referer's and referee's pagenames and value name. This sub does not return any particularly useful value. Here I would have liked perl to allow hashes to be arguments of subroutines.
This guy simply acts like GetGotoBar and creates links to referers and referees. The max number of links is defined in config, as is the number of columns in the table. I use a nice trick to get evenly-spaced shades of gray in each cell. You should definitely use stylesheets to get best results.