Description

The CopyPage-function does not use PageEditor.saveText, like DeletePage, RenamePage, saving et al use. This creates difficulties when creating plugins that overload saving.

From PageEditor.py function copyPage:

            Page.__init__(self, request, newpagename)
            self._write_file(savetext, "SAVENEW", comment)

Steps to reproduce

Example

Component selection

Details

MoinMoin Version

at least 1.8.2

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/CopyPageDoesNotUseSaveText (last edited 2009-02-16 14:04:48 by 195)