Project

General

Profile

Actions

Patch #1103

closed

Add deleting of wiki page individual versions

Added by W Snyder over 16 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-04-25
Due date:
% Done:

0%

Estimated time:

Description

This is the beginning of a patch to add "Delete" to all but the most recent version of the wiki history list, this cleans up the history - without the mess of "destroy" then adding back the page.

This isn't a complete patch; I'm just starting picking up ruby, and aren't sure of the next step; can someone help a bit?

I got as far as wiki_page.rb delete_version. This takes a version number and correctly does find_by_version, but how do I destroy the passed version?

Thanks for the help.


Files

a.patch (2.6 KB) a.patch W Snyder, 2008-04-25 03:25

Related issues

Has duplicate Redmine - Feature #10852: Ability to delete a version from a wiki page historyClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF