MediaWiki talk:Multilingual-link.js

Linking to Old Wikisource
Due to a bug, interwiki language links in the sidebar linking to the multilingual wikisource do not work in the normal form, i.e. placing  on the page, will not create a sidebar link to the multilingual wikisource main page, but rather an ordinary interwiki link, identical to the behavior expected from   (compare Main page to oldwikisource:Main page).

A work around java script has been created and imported into the common.js:. Links can be created in the language sidebar to old wikisource (http://wikisource.org) using this tool. To create a link, create an additional language link for example from page Foo in any subdomain:

oldws marker فو foo ... The language chosen doesn't matter but it should normally be placed at the top above ar:.

Additionally, the following, either as html or as a template must be added:

This would link to the same place as the inline link Foo. The title is the full page name, i.e. the page title including the namespace, e.g. "Author:Hermann Hesse".

Thus the page will appear as follows in edit mode:

oldws marker فو foo . . ..

N.B. It is generally agreed that the correct name for wikisource.org is the "multilingual wikisource" not "old wikisource", which is considered derogatory. However, this script uses the outdated reference to "old" to avoid breaking existing instances of the script call.