⏱ Revision Tracker (en)
Revision Tracker is an extension producing a detailed history of modifications of posts and/or pages on a WordPress website. You can check its operation by clicking link (which will open a new tag).
Since the code is trilingual, instructions appear in the browser’s default language (English/French/Spanish).
Revision Tracker does not only display the latest changes. If you find a button “«” at the top left of a comparison page, click it to search for earlier versions. Ultimately you may see all changes that have been stored in the database.
Only changes occurring in texts are taken into account. The engine ignores text formatting, image contents and their captions, as well as forms and imbedded scripts.
The following default search parameters are used :
- Texts in progress for the past … days selects the period of checking modifications. The higher this value, the more posts or pages will be screened, and computation time will also increase. Default value is 20 days.
- Changes over … hours is the time resolution for comparing versions. By default 12 hours. A lower value will display more steps of modifications. Steps occur when the editor clicks the “Save” button of the WordPress editor.
- Minimum mismatch between versions … chars discards versions in which the changed length versus the current version is less than this value. Setting this parameter and the preceding one to zero makes it possible to screen all versions. Default value is 50 characters.
- Percentage of similarity between paragraphs is a parameter for the alignment of paragraphs on comparison pages. Default value of 70% looks fair.
- Display all paragraph headers makes it possible to opt for a full display of paragraph headers (thereby highlighting the location of a change) or for a compact display (the one by default).
You can assign different values to all these search parameters. Fill the form at the bottom of the Modifications page and click button “SEARCH AGAIN WITH THESE SETTINGS”.
By default, WordPress stores all versions of posts and pages in its database which ends up oversized ! To avoid this disaster, I installed the wonderful “Optimize Database” plugin allowing to fix the maximum number of versions or/and the time during which these shall be preserved in the database. On this site the 30-day option is used.
History of a single page/post
On the right of each page/post a button “Historique de cette page” produces a comparative display of all versions of the page/post. You will be prompted to solve a small arithmetic problem to get permission… This is meant to discourage robots from saturating the site !
Try it :
In this process, versions are compared over 12-hour ranges. By default, paragraph headers are not displayed unless they contain changes. To get a full display click the ‘▼’ on top of the page. Clicking the ‘▲’ button will return to the minimum display.
If you are an admin of the website, Revision Tracker will offer you the option of deleting revisions so that silly mistakes will no longer appear in the history.
More about this extension…
A few pages and posts are denied access to history in order to meet privacy issues.
Revision Tracker does not alter the content of the WordPress database excepts when it updates the content of page “Modifications récentes”. It stores its comparison files in a temporary folder that may be automatically deleted after 30 minutes of idling. In practice you should click again after 30 minutes !
I designed this extension in April 2020 after unsuccessfully looking for a plugin or a WordPress feature that would highlight recent modifications and construct histories of versions — much like Wikipedia. Sadly, most devices I have seen were only signaling recent post creations. 🙁
Comparisons between texts are based on tricky string algorithms — my favorite playground during the past century ! 😀
Article créé le 13/04/2020 - modifié le 24/04/2020 à 09h27