Language suffix should only be stripped from remote page link URLs on multilingual courses.
This has been a problem on Traky/CS-A1143, because of how it is setup with two similar courses in one Git repository. The other course is single language, while the other one is multilingual. The single language course has links with the suffix _en, such as https://plus.cs.aalto.fi/a1143/2023/lisatehtavat/hylje_en/#sealsimulator. This link should not have the _en suffix removed from hylje_en by the RemotePage method _fix_relative_urls().
Language suffix should only be stripped from remote page link URLs on multilingual courses.
This has been a problem on Traky/CS-A1143, because of how it is setup with two similar courses in one Git repository. The other course is single language, while the other one is multilingual. The single language course has links with the suffix
_en
, such as https://plus.cs.aalto.fi/a1143/2023/lisatehtavat/hylje_en/#sealsimulator. This link should not have the_en
suffix removed fromhylje_en
by theRemotePage
method_fix_relative_urls()
.