Modify

Opened 10 years ago

Last modified 2 years ago

#1174 new enhancement

[Patch] Remove modified wiki-default files from page history

Reported by: linetor Owned by:
Priority: normal Component: SiteWikiDefaultPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

In the current version, when you modify a file from trac's wiki-default directory, the plugin will leave the original copy in the page's version history.

It is confusing to have two versions in the page history for a newly created project.

This patch for api.py will cause the wiki-default pages to be deleted before the new versions are added to the wiki.

Attachments (2)

apipypatch (44 bytes) - added by linetor 10 years ago.
Patch to api.py
apipypatch.2 (272 bytes) - added by linetor 10 years ago.
Patch to api.py

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by linetor

Attachment: apipypatch added

Patch to api.py

Changed 10 years ago by linetor

Attachment: apipypatch.2 added

Patch to api.py

comment:1 Changed 4 years ago by Ryan J Ollos

Summary: Patch to remove modified wiki-default files from page history[Patch] Remove modified wiki-default files from page history

comment:2 Changed 2 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.