There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-1e5a114d-301f-485a-80c5-0d023e0770a8 XWIKI-24179 Open

Revision links are not language-aware and can point to incorrect revisions

 
View issue   ·   Add comment
 

1 update

 
cid:jira-generated-image-avatar-4c1f44b7-939f-47ef-890d-936116017865 Changes by Vincent Massol on 01/Apr/26 13:53
 
Description: Revision links (links displayed on the revisions in the history tab table) generated from the document history do not include the language of the page being viewed.

As a result, the link may point to a non-existent or incorrect revision if the recipient has a different default language.

*Steps to reproduce:*
# Create a page with two language translations (e.g. French and English), with different revision histories.
# Set the default language to French (Profile → Language → French).
# Open the multilingual page without specifying a language in the URL.
# From the “History” section, copy a revision link (note that it does not include the language parameter).
# Change the profile language to English.
# Open the copied link.

*Actual result:*
The link opens the English version of the page and:
* either displays a different revision than expected, or
* fails if the revision does not exist in English.

*Expected result:*
The revision link should include the language
context in the URL and always point to the exact revision from which it was generated (e.g. French revision in this case).

*Impact:*
Revision links are not reliable or shareable across users with different language settings, as they are neither permanent nor unique.

*Workaround:*
Manually add the language parameter to the URL (e.g. {{{}&language=fr{}}}) before sharing the link.