+

Search Tips   |   Advanced Search

Disable wiki page versioning

By default, users can see all versions of a wiki page but we can disable versioning by editing the wikis-config.xml configuration file.

Disable versioning can help control the size of data storage. When you disable versioning before users start using Wikis, only one version of a page is stored and all updates are reflected in that version.

Only pages are versioned. File attachments are not versioned.

We can disable versioning at any time. If there are already multiple versions of a page when we disable versioning, the latest version becomes the active version and all future updates are reflected in that version. The older versions are hidden from the user interface but still exist and take up space in the database. If a user reaches a space quota, we can delete older versions by enabling versioning again. Then ask the user to open the page, click the Versions tab, and delete versions.

We can also run a manual database update to remove all older versions of files. Run a delete statement on the MEDIA_REVISION table and specify a constraint the IS_CURRENT_REVISION column is set to zero. Specifying that value ensures that a record still exists for the current version.

To get cell name...

  • To view the current configuration settings use the following command:

      WikisConfigService.showConfig()

  • To set the file.versioning.enabled property to false:

      WikisConfigService.updateConfig("file.versioning.enabled", "false")

  • Check in the configuration file.

    Check in the file during the same wsadmin session in which you checked it out. See Apply Wikis property changes.


    Parent topic:
    Administer Wikis


    Related:

    Start the wsadmin client

    Apply Wikis property changes