When the page view plugin was first created (for an intranet wiki) it was one 
of the
functional requirements that the counters of deleted pages stay in the list, 
and the same
for renamed pages.

I have been thinking about implementing an optional setting for the plugin that 
changes that
behaviour to allow use in more general wikis.

When counting page visits the plugin tries not to count page edits, it seems 
that the non-existing
situation does not present itself to the plugin as an edit action. This should 
be easy to fix.

-----Original Message-----
From: Bruno Peeters (JIRA) [mailto:[email protected]] 
Sent: woensdag 29 september 2010 18:01
To: [email protected]
Subject: [jira] Created: (JSPWIKI-665) Page View Plugin and page renames and 
deletions

Page View Plugin and page renames and deletions
-----------------------------------------------

                 Key: JSPWIKI-665
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-665
             Project: JSPWiki
          Issue Type: Improvement
          Components: Core & storage
    Affects Versions: 2.8.4
            Reporter: Bruno Peeters
            Priority: Minor


When a wiki page is renamed or deleted, the counters used by the PageViewPlugin 
(http://www.jspwiki.org/wiki/PageViewPlugin) are not adapted accordingly. As a 
results of this, the overview of counters can contains pages that do not exist 
anymore. The counters of these pages will not be incremented anymore, so they 
will disappear of the top list, but they still remain in the full list. It 
would make sense to remove the counters for deleted pages. It would defnitely 
make sense to update the counters when a page is renamed.

A visit to a non existing page is also stored by the PageViewPlugin, eg by 
clicking on a link to a page showing the message "This page does not exist. Why 
don't you go and create it?" is stored as a valid visit. Counting visits to non 
existing pages seems something of very low value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to