1 There are some kind of changes to the underlying repository
2 which can't be made through the web interface:
4 * changes to files outside the wiki, to locked pages;
5 * advanced RCS operations such as merge, move, copy or del;
6 * changes you're not confident enough to apply outright.
8 Of course in these cases, you can add your request to a discussion page
9 and wait for someone with the access/confidence to apply them.
10 Maybe this can be enhanced with a [[ikiwiki/PreprocessorDirective]]:
13 \[[suggest op=merge dstfile=trunk srcfile=branches/jk oldrev=1234 newrev=1342]]
15 \[[suggest op=move srcpage=/blog dstpage=/blog_support]]
19 ===================================================================
20 --- IkiWiki/CGI.pm (révision 4119)
21 +++ IkiWiki/CGI.pm (copie de travail)
27 These would expand to a description of the changes,
28 and provide "apply theses changes", "preview changes", and maybe
29 "show diff" buttons. When those would be clicked,
30 an rcs_ function would be called to apply the changes in
31 the working copy, and depending on the request they would
32 be svn diff'ed or rendered and shown, and kept.
33 (all the affected pages would be inlined for the preview)
35 Ultimately my planned [[review_mechanism]] would manage pages
36 with such directives by itself.
38 Thinking about it, describing changes inside a directive rather
39 than as pages of their own is a bad remedy for the temporary
40 lack of web-based file upload in ikiwiki.
42 Implementing this as new pages formats would be simpler,
43 and combined with inlining and file uploading it would be
44 at least as powerful. It would be easier to handle changes
45 automatically (for instance, moving the change pages once
46 they have been applied). There would still be associated
47 discussion pages in markdown.
49 Regular pages could be used as change pages as well,
50 if they provide subpages in a format describing changes.
51 This would allow grouping and documenting changes.
53 I'm still uncertain about many things, so please anyone feel free to comment.
56 * Would it be possible to detect already applied changes
57 (without extra state, that is), and propose to "revert
58 changes" in that case?