Wiki source code of Correct links rendering on a domain based wiki
Last modified by Ilie Andriuta on 2025/01/30 13:23
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | **NOTE:** For this test, it's best to use a new XWiki instance. | ||
| 2 | |||
| 3 | 1. Add 2 custom domains in {{info}}/etc/hosts/{{/info}} file: one to be used for Main Wiki (e.g. domain1.com) and one for the subwiki (e.g. domain2.com) | ||
| 4 | 1. Before starting the XWiki instance, edit {{info}}xwiki.cfg{{/info}}, uncomment and set {{info}}xwiki.virtual.usepath=0{{/info}} | ||
| 5 | 1. Start and access the instance with a custom domain previously set (e.g. domain1.com) | ||
| 6 | 1. Login as Admin | ||
| 7 | 1. Create a subwiki by setting the Alias as the other domain (e.g. domain2.com) | ||
| 8 | 1. Create an user (e.g. U1) on Main Wiki | ||
| 9 | 1. Login with U1, go to Notification Settings and set Pages Notifications toggles to ON | ||
| 10 | 1. Click on a Page Notifications button and follow the entire wiki | ||
| 11 | 1. Go to **subwiki**, click on a Page Notifications button and follow the entire wiki as well | ||
| 12 | 1. Login as Admin | ||
| 13 | 1. Create, update and comment a page (Sub1) on subwiki | ||
| 14 | 1. Create, update and comment a page (M1) on Main Wiki | ||
| 15 | 1. Go to subwiki, login as the user U1 | ||
| 16 | 1. On notifications list, observe the links pointing to the page from Main Wiki (e.g. M1) and the links to Admin's profile |