Is there a way to determine the url for the current version of a page (i.e. if the page were subsequently edited, and pages using the permalink would be directed to the previous version).
It is possible to determine the urls for previous versions of a page within the page history, however the url for the current version of a page always points to the latest version.
It is possible to do this for attachments. Is there any way to determine the correct url for pages?
My workaround (until I hear of a better way to do it):
If you want to specifically link to the current version of a page (rather than always link to the latest version):
If you are currently on version 25 of a page, you could add &pageVersion=25 to the URL (or ?pageVersion=25 if it is the first attribute)
https://wiki.example.com/pages/viewpage.action?pageId=16048214&pageVersion=25
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The steps here will give the URL for the previous versions, but not for the current version. A workaround to get the current version is to follow these steps to get the previous (current-1) version of the page, then increment the number after "pageVersion=" in the URL to match the current version number. It will then always link to the page as it is now, even after subsequent versions are added.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.