Wiki source code of Configure Interwiki Links
Last modified by superadmin on 2026/11/25 21:36
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
3.1 | 1 | 1. Stop the XWiki instance. |
![]() |
9.1 | 2 | 1. Open the ##xwiki/WEB-INF/xwiki.properties## [[configuration file>>doc:documentation.xs.admin.installation.configuration-files.WebHome]], find the ##rendering.interWikiDefinitions## block and add one uncommented line per alias:((( |
![]() |
3.1 | 3 | {{code language="none"}} |
| 4 | rendering.interWikiDefinitions = wikipedia = https://en.wikipedia.org/wiki/ | ||
| 5 | rendering.interWikiDefinitions = jira = https://jira.xwiki.org/browse/ | ||
| 6 | {{/code}} | ||
| 7 | ))) | ||
| 8 | 1. Restart the XWiki instance, then write the links in a page, as {{code language="none"}}[[label>>interwiki:alias:reference]]{{/code}}:((( | ||
| 9 | {{code language="none"}} | ||
| 10 | * [[Interwiki links>>interwiki:wikipedia:Interwiki_links]] | ||
| 11 | * [[XWIKI-24689>>interwiki:jira:XWIKI-24689]] | ||
| 12 | {{/code}} | ||
| 13 | ))) | ||
| 14 | 1. Save the page and check that each link reaches its site. XWiki appends the reference to the alias's address, with nothing in between, so the first link above is served by {{code language="none"}}https://en.wikipedia.org/wiki/Interwiki_links{{/code}}:((( | ||
| 15 | {{image reference="interwiki-links-page.png" size="extra" alt="A wiki page whose two bullets are Interwiki links, rendered as ordinary external links"/}} | ||
| 16 | ))) |

