Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Labels:
      None

      Description

      This feature request is about page history. In special cases it's not necessary to keep a page history. It is possible to setup/create pages without any versioning?

      How could you delete existing versions? Can anyone point me to existing issues or articles?

        Activity

        Hide
        Ryan Holliday
        added a comment -

        There is currently no out-of-the-box solution for deleting topic versions - in testing when I need to remove something due to corruption or other non-standard issues I execute SQL directly against the database, although that often entails chasing dependencies. Is there a specific use case that you have in mind such as spam or incorrectly contributed data like passwords? Versioning is a fairly fundamental part of the software, so it would be good to better understand the uses for non-versioned topics or version deletion in order to help design a possible solution.

        Show
        Ryan Holliday
        added a comment - There is currently no out-of-the-box solution for deleting topic versions - in testing when I need to remove something due to corruption or other non-standard issues I execute SQL directly against the database, although that often entails chasing dependencies. Is there a specific use case that you have in mind such as spam or incorrectly contributed data like passwords? Versioning is a fairly fundamental part of the software, so it would be good to better understand the uses for non-versioned topics or version deletion in order to help design a possible solution.
        Hide
        Tan-Vinh Nguyen
        added a comment -

        I misuse JAMWiki as message system for our Intranet.
        My use case is, that I have a start page, which has a lot of frequent updates, due to announcements, organizational changes etc.
        Therefore I don't need a version history or better I don't want to keep a history. As in feature request stated, it's not crucial. It would be nice to have a feature or boolean option to turn off a version log of a single page.

        Show
        Tan-Vinh Nguyen
        added a comment - I misuse JAMWiki as message system for our Intranet. My use case is, that I have a start page, which has a lot of frequent updates, due to announcements, organizational changes etc. Therefore I don't need a version history or better I don't want to keep a history. As in feature request stated, it's not crucial. It would be nice to have a feature or boolean option to turn off a version log of a single page.
        Hide
        Ryan Holliday
        added a comment -

        I'm not sure how feasible it would be to allow topics without versions - it's a core part of the design - but it probably wouldn't be terribly difficult to add a utility to allow purging of specific revisions in cases where an admin wants to get rid of sensitive data, or (in your case) trim unnecessary history. Would that suffice for your needs? If so then I can put this on the TODO list for JAMWiki 1.1 - there wouldn't be a guarantee that it would get done, but at least it would be a possibility for the next release.

        Show
        Ryan Holliday
        added a comment - I'm not sure how feasible it would be to allow topics without versions - it's a core part of the design - but it probably wouldn't be terribly difficult to add a utility to allow purging of specific revisions in cases where an admin wants to get rid of sensitive data, or (in your case) trim unnecessary history. Would that suffice for your needs? If so then I can put this on the TODO list for JAMWiki 1.1 - there wouldn't be a guarantee that it would get done, but at least it would be a possibility for the next release.
        Hide
        Tan-Vinh Nguyen
        added a comment -

        Absolutely. That will work for me. That would be nice.

        Show
        Tan-Vinh Nguyen
        added a comment - Absolutely. That will work for me. That would be nice.
        Hide
        Ryan Holliday
        added a comment -

        Tagging this for JAMWiki 1.1. I've started on some code, but there are a lot of inter-dependencies to deal with when removing a version so it may be a while until this lands.

        Show
        Ryan Holliday
        added a comment - Tagging this for JAMWiki 1.1. I've started on some code, but there are a lot of inter-dependencies to deal with when removing a version so it may be a while until this lands.
        Hide
        Ryan Holliday
        added a comment -

        Revision 3516 adds the ability to delete one or more topic versions from the Special:Manage page. At the moment there are two issues that might need further attention:

        • I'm not thrilled with the UI, so any suggestions for improvement would be appreciated (see screenshot).
        • It's currently hard-coded to only be accessible to users with ROLE_SYSADMIN. It may make sense to change that to be a role specific to this functionality, although I'm torn as to whether it's worthwhile adding a role just for this.

        Any thoughts or suggestions would be appreciated, but even without further changes this capability is usable and ready for inclusion in the 1.1 release.

        Show
        Ryan Holliday
        added a comment - Revision 3516 adds the ability to delete one or more topic versions from the Special:Manage page. At the moment there are two issues that might need further attention: I'm not thrilled with the UI, so any suggestions for improvement would be appreciated (see screenshot). It's currently hard-coded to only be accessible to users with ROLE_SYSADMIN. It may make sense to change that to be a role specific to this functionality, although I'm torn as to whether it's worthwhile adding a role just for this. Any thoughts or suggestions would be appreciated, but even without further changes this capability is usable and ready for inclusion in the 1.1 release.
        Hide
        Ryan Holliday
        added a comment -

        Screenshot of the topic version deletion UI.

        Show
        Ryan Holliday
        added a comment - Screenshot of the topic version deletion UI.
        Hide
        Ryan Holliday
        added a comment -

        This functionality has been implemented for JAMWiki 1.1. While it may be tweaked further (see previous comments), all required functionality is now committed to trunk.

        Show
        Ryan Holliday
        added a comment - This functionality has been implemented for JAMWiki 1.1. While it may be tweaked further (see previous comments), all required functionality is now committed to trunk.

          People

          • Assignee:
            Ryan Holliday
            Reporter:
            Tan-Vinh Nguyen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: