Index: standard/src/main/webapp/WEB-INF/xwiki.cfg =================================================================== --- standard/src/main/webapp/WEB-INF/xwiki.cfg (revision 3830) +++ standard/src/main/webapp/WEB-INF/xwiki.cfg (working copy) @@ -76,6 +76,9 @@ ## is empty. 0 means there is no popup. This setting is ignored is mandatory is set) xwiki.editcomment.suggested=0 +## Use minor edit feature +xwiki.minoredit=1 + # GraphViz plugin configuration. The GraphViz plugin is not configured by default. # To enable it, add "com.xpn.xwiki.plugin.graphviz.GraphVizPlugin" to the list of plugins # in the xwiki.plugins property. Index: standard/src/main/webapp/skins/albatross/editactions.vm =================================================================== --- standard/src/main/webapp/skins/albatross/editactions.vm (revision 3830) +++ standard/src/main/webapp/skins/albatross/editactions.vm (working copy) @@ -45,6 +45,14 @@ $msg.get("core.comment"): #end #end + +#if((!$minorFieldAdded)&&($xwiki.hasMinorEdit())) +#set($minorFieldAdded = 1) +
+$msg.get("core.minoredit"): +
+#end + #set($param = "") #if ($sectionNumber && ($sectionNumber != 0)) #set($param = "section=$sectionNumber") Index: standard/src/main/webapp/skins/albatross/historyinline.vm =================================================================== --- standard/src/main/webapp/skins/albatross/historyinline.vm (revision 3830) +++ standard/src/main/webapp/skins/albatross/historyinline.vm (working copy) @@ -20,6 +20,7 @@ #if(!$revisionscount) #set($revisionscount = 0) #end +#set($skipnext = false) #if ($tdoc.realLanguage!="") #set($lang = "&language=${tdoc.realLanguage}") #else @@ -30,6 +31,11 @@ #set($newdoc = "") #set($nextversion = $version) #set($newdoc = $xwiki.getDocument($tdoc, $nextversion)) +#if($xwiki.hasMinorEdit() && !$request.getParameter("showminor")) + #set($skipcur = $skipnext) + #set($skipnext = $newdoc.isMinorEdit()) +#end +#if(!$skipcur) @@ -49,9 +55,19 @@ #end #end +#end -
+
+
+ #if($xwiki.hasMinorEdit()) + #if(!$request.getParameter("showminor")) +
$msg.get("core.minoredit.show")
+ #else +
$msg.get("core.minoredit.hide")
+ #end + #end
+ Index: standard/src/main/webapp/templates/preview.vm =================================================================== --- standard/src/main/webapp/templates/preview.vm (revision 3830) +++ standard/src/main/webapp/templates/preview.vm (working copy) @@ -17,6 +17,7 @@ +

#template("hiddenobject.vm")