Includes referring to translated pages which use the same duplicate page titles are not resolved correctly
Description
During the conversion to Scroll Documents, IncludePlus macros are re-written to regular include macros.
So far the include macro was written with a page reference in/to the target space. However in a later state of the conversion page modifications are applied, where page references are re-written assuming these references still apply for the source space. This issue was only found when converting translated spaces using duplicate page title handling.
To fix the issue, either the page modifications need to be aware of how we handle IncludePlus macros or the macro itself must write a reference for the source space.
During the conversion to Scroll Documents, IncludePlus macros are re-written to regular include macros.
So far the include macro was written with a page reference in/to the target space. However in a later state of the conversion page modifications are applied, where page references are re-written assuming these references still apply for the source space. This issue was only found when converting translated spaces using duplicate page title handling.
To fix the issue, either the page modifications need to be aware of how we handle IncludePlus macros or the macro itself must write a reference for the source space.