Automatic maintenance helpers
—
!!1!
!
>Automatic Maintenance Helpers
—
!!2!
!
—
!!3!
!
These help with some basic wiki maintenance tasks:
!
!4!
!
—
!!5!
!
>Delete Old Pages Helper
—
!!6!
!
—
!!7!
!
This permanently deletes deleted pages.
!
!8!
!
To use,
put the following in your start.rb file:
—
!!9!
!
>
—
!!10!
!
!
!11!
!
!
!12!
!
!
!13!
!
!
!14!
!
!
!15!
!
!
!16!
!
!
!17!
!
—
!!18!
!
—
!!19!
!
This will by default scan the wiki once per day and permanently delete pages that have been marked for deletiob for more than 100 days.
!
!20!
!
—
!!21!
!
It has two optional parameters:
—
!!22!
!
!
!23!
!
, the first can be
:min,
:hour,
:day,
;month,
:year and the age is in seconds.
!
!24!
!
—
!!25!
!
>Delete Old Revisions Helper
—
!!26!
!
—
!!27!
!
This permanently deletes old revisions.
!
!28!
!
To use,
put the following in your start.rb file:
—
!!29!
!
>
—
!!30!
!
!
!31!
!
!
!32!
!
!
!33!
!
!
!34!
!
!
!35!
!
!
!36!
!
!
!37!
!
—
!!38!
!
—
!!39!
!
This will by default scan the wiki once per day and permanenty delete revisions that are more than a hundred days old,
being sure to leave at least 20 revisions on a page.
!
!40!
!
—
!!41!
!
It has three optional parameters
!
!42!
!
!
!43!
!
the first can be
:min,
:hour,
:day,
;month,
:year and the age is in seconds.
!
!44!
!
—
!!45!
!
>Merge Old Revisions Helper
—
!!46!
!
—
!!47!
!
By default this wakes up each hour and merges all revisions more than 24 hours old,
by the same
author, and that are created within an hour of each other.
!
!48!
!
To use,
put the following in your start.rb file:
—
!!49!
!
>
—
!!50!
!
!
!51!
!
!
!52!
!
!
!53!
!
!
!54!
!
!
!55!
!
!
!56!
!
!
!57!
!
—
!!58!
!
—
!!59!
!
It has three optional parameters
!
!60!
!
!
!61!
!
the first can be
:min,
:hour,
:day,
;month,
:year and the age and time are in seconds.
!
!62!
!
—
!!63!
!
Tag: Include this page in the distribution !
!64!
!