Dilipkumar Jadhav wrote:
Sometimes I spend weeks to finish some docs, and it
will generate dozens of
versions when I forgot to enable "Is minor edit". How can I set the default
value of "Is minor edit" to "true"?
Under the xwiki root folder >> Templates, I found the editactions.vm file.
I had to replace the line
#if($request.minorEdit)checked="checked"#end TO
checked="checked"
That seems to set the minor edit box to checked for all the pages. I prefer
it this way since on my wiki instance there are on an average 60-100
articles being added daily and almost equal number being edited throughout
the day. Most people tend to forget that the changes they are making is a
minor edit (epecially when they are making minor edits because of time
constraint).
I have realised that it may not be a good idea to make changes to the vm
files. However, I've also not come across any side effect of enabling the
minor edit so far.
This is the right solution, I was about to reply to your mail with the
same answer.
The problem with changing a .vm is that you must remember to change it
after each upgrade. To avoid having to do this, you can upload the
changed file as an attachment to the skin document (by default it is
XWiki.DefaultSkin).
--
Sergiu Dumitriu
http://purl.org/net/sergiu/