Export My Modifications Macro

Last modified by Vincent Massol on 2024/07/05 17:47

packageExport all changes done by the the current user between 2 dates.
TypeXAR
Category
Developed by

Guillaume Delhumeau

Rating
1 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Description

The aim of this extension is to help developers to export all modifications they have done on a wiki during 2 dates. For example, if a developer modifies some pages on a production server, he will be able to export and import them on a development server.

After installing the macro navigate to Macros.ExportMyModifications.

On this page you can start by clicking on the "Start Watching Modifications" button:
exportMyModifications.png

After clicking the button all of your modified documents will be recorded...
startWatchingModifications.png

... and listed on the Macro page:
modifications.png

On this step you can select the files you're interested in and export them in a XAR archive by clicking on the "Export" button:
selectModifications.png

If you don't need to use the macro anymore, you can always click on the "Stop Watching Modifications" button:
stopWatchingModifications.png
Any modifications you make after clicking that button will not be recorded anymore.

There is also the "Reset" button which you can use if you want to stop watching for modifications and also clear the list of modified documents.

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Release Notes

v1.1

Bug fix with the end date that was automatically setted.

v1.0

First release!

Get Connected