delegationetudiante/ikiwiki/subpage/linkingrules/index.html

139 lines
6.1 KiB
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class="h-100">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="robots" content="noindex, follow" />
<title>linkingrules - delegationetudiante.org</title>
<!-- cargo-culted from https://realfavicongenerator.net/ -->
<!-- for the record: it is absolutely ridiculous that new browsers
*and* operating systems each want their own little precious
snowflake just for a frigging icon -->
<link rel="icon" type="image/png" href="../../../favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="../../../favicon.svg" />
<link rel="shortcut icon" href="../../../favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="../../../apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="Délégation étudiante" />
<link rel="manifest" href="../../../site.webmanifest" />
<!-- ikiwiki CSS -->
<link href="../../../css/style.css" rel="stylesheet" />
<!-- Bootstrap core CSS -->
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p | base64 -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href="../../../css/bootstrap.local.css" rel="stylesheet" />
<!-- Custom styles for derivatives -->
<link rel="stylesheet" href="../../../css/local.css" type="text/css" />
</head>
<body class="d-flex flex-column h-100">
<header>
<nav class="navbar fixed-top navbar-expand-md navbar-light bg-light border">
<div class="container-fluid">
<a class="navbar-brand me-auto" href="../../../">
<img alt="delegationetudiante.org" src="../../../favicon.png" width="48" height="48" />
</a>
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse">
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
<ul class="navbar-nav nav-link align-items-center ms-auto">
<li><a href="../../../">Home</a></li>
<li><a href="https://notif.delegationetudiante.org/subscription/form">Liste de courriel</a></li>
<li><a href="https://notif.delegationetudiante.org/archive">Communications</a></li>
<li><a href="http://ca-uqam.info">Notre ancien site-web</a></li>
</ul>
<ul class="nav navbar-nav">
</ul>
</div>
</div>
</nav>
</header>
<main class="flex-shrink-0">
<div class="container" id="content">
<p>To link to or from a <a href="../">SubPage</a>, you can normally use a regular
<a href="../../wikilink/">WikiLink</a> that does not contain the name of the parent directory of
the <a href="../">SubPage</a>. Ikiwiki descends the directory hierarchy looking for a
page that matches your link.</p>
<p>For example, if FooBar/SubPage links to "OtherPage", ikiwiki will first
prefer pointing the link to FooBar/SubPage/OtherPage if it exists, next
to FooBar/OtherPage and finally to OtherPage in the root of the wiki.</p>
<p>Note that this means that if a link on FooBar/SomePage to "OtherPage"
currently links to OtherPage, in the root of the wiki, and FooBar/OtherPage
is created, the link will <em>change</em> to point to FooBar/OtherPage. On the
other hand, a link from BazBar to "OtherPage" would be unchanged by this
creation of a <a href="../">SubPage</a> of FooBar.</p>
<p>You can also specify a link that contains a directory name, like
"FooBar/OtherPage" to more exactly specify what page to link to. This is
the only way to link to an unrelated <a href="../">SubPage</a>.</p>
<p>You can use this to, for example, to link from BazBar to "FooBar/SubPage",
or from BazBar/SubPage to "FooBar/SubPage".</p>
<p>You can also use "/" at the start of a link, to specify exactly which page
to link to, when there are multiple pages with similar names and the link
goes to the wrong page by default. For example, linking from
"FooBar/SubPage" to "/OtherPage" will link to the "OtherPage" in the root
of the wiki, even if there is a "FooBar/OtherPage".</p>
<p>Also, if the wiki is configured with a userdir, you can link to pages
within the userdir without specifying a path to them. This is to allow for
easy linking to a user's page in the userdir, to sign a comment. These
links are checked for last of all.</p>
</div> <!-- /container -->
</main>
<footer class="footer mt-auto py-2 bg-light" role="contentinfo">
<div class="container">
<div class="row text-muted">
<div class="col-sm">
Copyleft © 2024 Delegation etudiante <a href="../../../meta/license/">CC-BY-SA</a>
</div>
<div class="col-sm text-sm-end">
Powered by <a href="http://ikiwiki.info/">ikiwiki</a>.
</div>
</div>
</div>
</footer>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
<!-- TODO: Find other ways to setup analytics
<script data-goatcounter="https://analytics.anarc.at/count" async src="//analytics.anarc.at/count.js"></script>
<noscript>
<img src="https://analytics.anarc.at/count?p=ikiwiki/subpage/linkingrules&t=linkingrules" alt="tracking pixel to count visitors when Javascript is disabled" />
</noscript>
-->
</body>
</html>