[xwiki-users] Minor editing by default
Hello, Is it possible to make the default editions are minor and not major ? Regards, Signature mails _________________________________________________ Bruno Joffredo Ecole Centrale de Nantes Centre de Ressources Informatiques - Bur. D019 1 rue de la Noë BP 92101 F-44321 Nantes cedex 3 Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
I managed to do this with a recent install of version 7.4.2, so I know it is possible. Here are my notes to self on how to do it: Use the skins application to edit the default skin as indicated here: http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application Administer Wiki>Loook & Feel>Presentation Select Customize. Overrided Templates Add 'editactions.vm'. Navigate to <hostname>/wiki/skins/flamingo/editactions.vm and copy the contents. update the code as follows: #if($request.minorEdit)checked="checked"#end TO checked="checked" Sorry my directions aren't better, I am the on the bus to work. Regards, Jesse
On Feb 29, 2016, at 3:39 AM, Bruno <[email protected]> wrote:
Hello,
Is it possible to make the default editions are minor and not major ?
Regards, Signature mails _________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thank you very much Jesse ! But before I test this solution, can you tell me if it will be possible to indicate through the checkbox that editing is major ? _________________________________________________ Bruno Joffredo Ecole Centrale de Nantes Centre de Ressources Informatiques - Bur. D019 1 rue de la Noë BP 92101 F-44321 Nantes cedex 3 Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________ Le 29/02/2016 15:58, Jesse Bright a écrit :
I managed to do this with a recent install of version 7.4.2, so I know it is possible. Here are my notes to self on how to do it:
Use the skins application to edit the default skin as indicated here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application
Administer Wiki>Loook & Feel>Presentation
Select Customize. Overrided Templates Add 'editactions.vm'. Navigate to <hostname>/wiki/skins/flamingo/editactions.vm and copy the contents. update the code as follows: #if($request.minorEdit)checked="checked"#end TO checked="checked"
Sorry my directions aren't better, I am the on the bus to work.
Regards,
Jesse
On Feb 29, 2016, at 3:39 AM, Bruno <[email protected]> wrote:
Hello,
Is it possible to make the default editions are minor and not major ?
Regards, Signature mails _________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I am sure it is technically possible but I think it would be much more difficult. All this modification does is change the default state of the 'Is Minor' check box. Perhaps you can change the label and reverse the logic, change = to != or something similar. However you may find other areas of Xwiki that do not behave as expected afterward. For example, if you use History to rollback a page it creates a new major change. Would this be affected by the proposed change, who knows? I just recently started using Xwiki, I am sure someone with more experience could give a more detailed explanation. Regards, Jesse
On Mar 1, 2016, at 6:01 AM, Bruno <[email protected]> wrote:
Thank you very much Jesse !
But before I test this solution, can you tell me if it will be possible to indicate through the checkbox that editing is major ?
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
Le 29/02/2016 15:58, Jesse Bright a écrit :
I managed to do this with a recent install of version 7.4.2, so I know it is possible. Here are my notes to self on how to do it:
Use the skins application to edit the default skin as indicated here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application
Administer Wiki>Loook & Feel>Presentation
Select Customize. Overrided Templates Add 'editactions.vm'. Navigate to <hostname>/wiki/skins/flamingo/editactions.vm and copy the contents. update the code as follows: #if($request.minorEdit)checked="checked"#end TO checked="checked"
Sorry my directions aren't better, I am the on the bus to work.
Regards,
Jesse
On Feb 29, 2016, at 3:39 AM, Bruno <[email protected]> wrote:
Hello,
Is it possible to make the default editions are minor and not major ?
Regards, Signature mails _________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Signature mails OK. So with your modification, the check box 'minor release' is checked by default ? And so, there is just to uncheck it to mean a major change ? If that's it, Ienjoy that ! _________________________________________________ Bruno Joffredo Ecole Centrale de Nantes Centre de Ressources Informatiques - Bur. D019 1 rue de la Noë BP 92101 F-44321 Nantes cedex 3 Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________ Le 01/03/2016 15:24, Jesse Bright a écrit :
I am sure it is technically possible but I think it would be much more difficult. All this modification does is change the default state of the 'Is Minor' check box. Perhaps you can change the label and reverse the logic, change = to != or something similar. However you may find other areas of Xwiki that do not behave as expected afterward. For example, if you use History to rollback a page it creates a new major change. Would this be affected by the proposed change, who knows? I just recently started using Xwiki, I am sure someone with more experience could give a more detailed explanation.
Regards,
Jesse
On Mar 1, 2016, at 6:01 AM, Bruno <[email protected]> wrote:
Thank you very much Jesse !
But before I test this solution, can you tell me if it will be possible to indicate through the checkbox that editing is major ?
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
Le 29/02/2016 15:58, Jesse Bright a écrit :
I managed to do this with a recent install of version 7.4.2, so I know it is possible. Here are my notes to self on how to do it:
Use the skins application to edit the default skin as indicated here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application
Administer Wiki>Loook & Feel>Presentation
Select Customize. Overrided Templates Add 'editactions.vm'. Navigate to <hostname>/wiki/skins/flamingo/editactions.vm and copy the contents. update the code as follows: #if($request.minorEdit)checked="checked"#end TO checked="checked"
Sorry my directions aren't better, I am the on the bus to work.
Regards,
Jesse
On Feb 29, 2016, at 3:39 AM, Bruno <[email protected]> wrote:
Hello,
Is it possible to make the default editions are minor and not major ?
Regards, Signature mails _________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Yes, that is correct. Regards, Jesse
On Mar 1, 2016, at 6:46 AM, Bruno <[email protected]> wrote:
Signature mails OK. So with your modification, the check box 'minor release' is checked by default ? And so, there is just to uncheck it to mean a major change ? If that's it, Ienjoy that !
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
Le 01/03/2016 15:24, Jesse Bright a écrit :
I am sure it is technically possible but I think it would be much more difficult. All this modification does is change the default state of the 'Is Minor' check box. Perhaps you can change the label and reverse the logic, change = to != or something similar. However you may find other areas of Xwiki that do not behave as expected afterward. For example, if you use History to rollback a page it creates a new major change. Would this be affected by the proposed change, who knows? I just recently started using Xwiki, I am sure someone with more experience could give a more detailed explanation.
Regards,
Jesse
On Mar 1, 2016, at 6:01 AM, Bruno <[email protected]> wrote:
Thank you very much Jesse !
But before I test this solution, can you tell me if it will be possible to indicate through the checkbox that editing is major ?
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
Le 29/02/2016 15:58, Jesse Bright a écrit :
I managed to do this with a recent install of version 7.4.2, so I know it is possible. Here are my notes to self on how to do it:
Use the skins application to edit the default skin as indicated here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application
Administer Wiki>Loook & Feel>Presentation
Select Customize. Overrided Templates Add 'editactions.vm'. Navigate to <hostname>/wiki/skins/flamingo/editactions.vm and copy the contents. update the code as follows: #if($request.minorEdit)checked="checked"#end TO checked="checked"
Sorry my directions aren't better, I am the on the bus to work.
Regards,
Jesse
On Feb 29, 2016, at 3:39 AM, Bruno <[email protected]> wrote:
Hello,
Is it possible to make the default editions are minor and not major ?
Regards, Signature mails _________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
It works ! Thanks a lot ! Signature mails _________________________________________________ Bruno Joffredo Ecole Centrale de Nantes Centre de Ressources Informatiques - Bur. D019 1 rue de la Noë BP 92101 F-44321 Nantes cedex 3 Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________ Le 01/03/2016 17:21, Jesse Bright a écrit :
Yes, that is correct.
Regards,
Jesse
On Mar 1, 2016, at 6:46 AM, Bruno <[email protected]> wrote:
Signature mails OK. So with your modification, the check box 'minor release' is checked by default ? And so, there is just to uncheck it to mean a major change ? If that's it, Ienjoy that !
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
Le 01/03/2016 15:24, Jesse Bright a écrit :
I am sure it is technically possible but I think it would be much more difficult. All this modification does is change the default state of the 'Is Minor' check box. Perhaps you can change the label and reverse the logic, change = to != or something similar. However you may find other areas of Xwiki that do not behave as expected afterward. For example, if you use History to rollback a page it creates a new major change. Would this be affected by the proposed change, who knows? I just recently started using Xwiki, I am sure someone with more experience could give a more detailed explanation.
Regards,
Jesse
On Mar 1, 2016, at 6:01 AM, Bruno <[email protected]> wrote:
Thank you very much Jesse !
But before I test this solution, can you tell me if it will be possible to indicate through the checkbox that editing is major ?
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
Le 29/02/2016 15:58, Jesse Bright a écrit :
I managed to do this with a recent install of version 7.4.2, so I know it is possible. Here are my notes to self on how to do it:
Use the skins application to edit the default skin as indicated here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application
Administer Wiki>Loook & Feel>Presentation
Select Customize. Overrided Templates Add 'editactions.vm'. Navigate to <hostname>/wiki/skins/flamingo/editactions.vm and copy the contents. update the code as follows: #if($request.minorEdit)checked="checked"#end TO checked="checked"
Sorry my directions aren't better, I am the on the bus to work.
Regards,
Jesse
On Feb 29, 2016, at 3:39 AM, Bruno <[email protected]> wrote:
Hello,
Is it possible to make the default editions are minor and not major ?
Regards, Signature mails _________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : [email protected] <mailto:[email protected]> _________________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Bruno -
Jesse Bright