Changes between Version 1 and Version 2 of Ticket #1513, comment 47
- Timestamp:
- Jan 1, 2011, 6:55:39 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1513, comment 47
v1 v2 4 4 > Is there a way to modify the layout of the edit page (e.g. with IRequestFilter)? 5 5 6 The layout of a wiki_edit page is a bit complex due to the coexistence of the two edit modes (normal and side-by-side). Furthermore, there's already provision for showing up a diff in there, the one presented in case of conflicting edits (so called "collision" mode). Maybe the easiest solution could be to "hijack" that somehow (and if not, I StreamFilter is the way to go rather than IRequestFilter).6 The layout of a wiki_edit page is a bit complex due to the coexistence of the two edit modes (normal and side-by-side). Furthermore, there's already provision for showing up a diff in there, the one presented in case of conflicting edits (so called "collision" mode). Maybe the easiest solution could be to "hijack" that somehow (and if not, ITemplateStreamFilter is the way to go rather than IRequestFilter). 7 7 8 8 >If yes, then I could add the display of diffs there. I would need to get the page diff without using a link thought - I'm sure there is a get_wiki_formatted_diff(text1, text2) functions somewhere, isn't there?