Project

General

Profile

Actions

Patch #1103

closed

Add deleting of wiki page individual versions

Added by W Snyder almost 16 years ago. Updated almost 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 #1

Updated by Bruce Svare almost 11 years ago

Duplicate of #10852

Actions #2

Updated by W Snyder almost 11 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Etienne Massip almost 11 years ago

  • Category set to Wiki
  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF