Edgewall Software

Changes between Version 1 and Version 2 of Ticket #1513, comment 47


Ignore:
Timestamp:
Jan 1, 2011, 6:55:39 PM (13 years ago)
Author:
Christian Boos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1513, comment 47

    v1 v2  
    44> Is there a way to modify the layout of the edit page (e.g. with IRequestFilter)?
    55
    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, IStreamFilter is the way to go rather than IRequestFilter).
     6The 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).
    77
    88>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?