If Wikitext contains [[s:Main Page]] that is unconditionally resolved to https://en.wikisource.org/wiki/Main_Page URL.
However, when currently on mobile domain //en.m.wikipedia.org/ I would prefer a https://en.m.wikisource.org/wiki/Main_Page URL in document.
That would mean that Special:Interwiki should be a processed copy of the global desktop version, following all updates there, but modifies URL at least of well known major WMF domains.
However, it is still the same Wiki project, only something like a different skin, and residing in a different subdomain.
If content is generated uniquely for both desktop and mobile, some server-side postprocessing for links with class="extiw" indicating its origin might become necessary. For those with JS active a gadget might repair on client side, but this is not really desirable.
URL within the same project are delivered as href="/wiki/Main_Page" and stay within mobile, but href="/wiki/s:Main_Page" leaves m. due to InterwikiMap.