master
Joey Hess 2011-07-19 11:56:52 -04:00
parent b37c622355
commit 7fa76ee9d3
2 changed files with 19 additions and 0 deletions

View File

@ -4,6 +4,15 @@ I modeled the message on `rename.pm`, which used a lowercase initial letter and
Diff follows. --[[Daniel Andersson]]
> This is somewhat intentional. It's pretty usual for changes to be made
> to a wiki without bothering to say what changed; the change speaks for
> itself and it would just be clutter to mention what file was changed,
> since any reasonable interface will show the filename, or a link,
> or some summary of what files were affected when showing a change.
>
> Also your patch stomps over any commit message that the user *does*
> provide, so certianly cannot be applied as-is. --[[Joey]]
[[!tag patch]]
---

View File

@ -2,6 +2,16 @@ As [[Add instructive commit messages for add _47_ edit pages]], but for `remove.
I use a `join()` since it at least looks like the plugin is able to remove several pages at once (`foreach` looping over file parameters), thus holding multiple entries in `@pages`. I haven't seen this happen, though.
> I feel that anything that shows a change should show what files were
> changed (at least as an easily accessible option), so mentioning
> filenames in commits is almost always clutter.
>
> It could be argued that there should be no message at all here, unless
> the user provides one (which they currently cannot), as is done when
> adding files. But the entire removal of a page from a wiki is a fairly
> unusual circumstance that is probably best highlighted as such in
> recentchanges. --[[Joey]]
Diff follows. --[[Daniel Andersson]]
[[!tag patch]]