Item12881: Add a preference to set the default number of revisions to show in topic history.
Priority: Enhancement
Current State: Closed
Released In: 2.0.0
Target Release: major
A user on my site does not like the default number of revisions shown on the history page (10), and would like to choose a different default.
Fix for viewtopicactionbuttons.tmpl:
%TMPL:DEF{"history_history_link"}%<span class="foswikiRequiresChangePermission"><a href='%SCRIPTURLPATH{"oops"}%/%BASEWEB%/%BASETOPIC%?template=oopshistory%IF{"defined HISTORYPLUGIN_NREV" then="&nrev=%HISTORYPLUGIN_NREV%" else=""}%' rel='nofollow' %MAKETEXT{"title='View total topic history' accesskey='h'>&History"}%</a></span>%TMPL:END%
This adds support for the preference variable HISTORYPLUGIN_NREV, and will use it to set the default number of revisions on the history page.
--
DavidAllen - 02 May 2014
Seems like a simple enhancement. Targeting for Foswiki 1.2, but needs further review.
--
GeorgeClark - 31 May 2014