Test links
Site map
- /ocsimore
- test (wiki 4)
- a/b/c (a wikipage with this content)
- a/b/sub (wiki 6)
- d (wiki 6)
- other (wiki 5)
- test (wiki 4)
Test link kinds
target | link | href on /ocsimore/test/a/b/c | href on /ocsimore/other/a/b/c |
---|---|---|---|
[[wiki:xyz]] | .././xyz | /ocsimore/test/xyz | /ocsimore/other/xyz |
[[href:xyz]] | xyz | /ocsimore/test/a/b/xyz | /ocsimore/other/a/b/xyz |
[[href:/xyz]] | /xyz | /xyz | |
[[site:xyz]] | .././../../xyz | /ocsimore/xyz |
Test link replacement
On /ocsimore/test/a/b/c
original | replacement | test | href |
---|---|---|---|
[[]] | [[wiki(4):a/b/c]] | . | /ocsimore/test/a/b/c |
[[#anc]] | [[wiki(4):a/b/c#anc]] | #anc | /ocsimore/test/a/b/c#anc |
[[xyz]] | [[wiki(4):a/b/xyz]] | xyz | /ocsimore/test/a/b/xyz |
[[c/xyz]] | [[wiki(4):a/b/c/xyz]] | c/xyz | /ocsimore/test/a/b/c/xyz |
[[sub/d]] | [[wiki(6):d]] | sub/d | /ocsimore/test/a/b/sub/d |
[[../xyz]] | [[wiki(4):a/xyz]] | ../xyz | /ocsimore/test/a/xyz |
[[/ocsimore/test/a/xyz]] | [[wiki(4):a/xyz]] | .././../../ocsimore/test/a/xyz | /ocsimore/test/a/xyz |
[[/ocsimore/other/xyz]] | [[wiki(5):xyz]] | .././../../ocsimore/other/xyz | /ocsimore/other/xyz |
[[/ocsimore/xyz]] | [[site:xyz]] | .././../../ocsimore/xyz | /ocsimore/xyz |
[[/alien/xyz]] | [[href:/alien/xyz]] | .././../../alien/href | /alien/href |
[[wiki("other"):xyz]] | [[wiki(5):xyz]] | .././../../other/xyz | /ocsimore/other/xyz |