Vous n'êtes pas identifié(e).
wiki:syntax
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
wiki:syntax [2018/09/06 16:51] Pala2 [Links] =>FR |
wiki:syntax [2018/09/06 16:54] Pala2 [Windows Shares] =>FR |
||
---|---|---|---|
Ligne 32: | Ligne 32: | ||
DokuWiki propose plusieurs moyens pour créer des liens. | DokuWiki propose plusieurs moyens pour créer des liens. | ||
- | ==== External ==== | + | ==== Externes ==== |
- | External links are recognized automagically: http://www.google.com or simply www.google.com - You can set the link text as well: [[http://www.google.com|This Link points to google]]. Email addresses like this one: <andi@splitbrain.org> are recognized, too. | + | Les liens externes sont reconnus automagiquement : http://www.google.fr ou simplement www.google.fr - Vous pouvez aussi donner des noms aux liens : [[http://www.google.fr|Ce lien pointe vers Google]]. Les adresses de courriel comme celle-ci : <andi@splitbrain.org> sont également reconnues. |
- | DokuWiki supports multiple ways of creating links. External links are recognized | + | Les liens externes sont reconnus automagiquement : http://www.google.fr |
- | automagically: http://www.google.com or simply www.google.com - You can set | + | ou simplement www.google.fr - Vous pouvez aussi donner des noms aux |
- | link text as well: [[http://www.google.com|This Link points to google]]. Email | + | liens : [[http://www.google.fr|Ce lien pointe vers Google]]. Les adresses |
- | addresses like this one: <andi@splitbrain.org> are recognized, too. | + | de courriel comme celle-ci : <andi@splitbrain.org> sont également reconnues. |
+ | ==== Internes ==== | ||
- | ==== Internal ==== | + | Les liens internes sont créés en utilisant des crochets. Vous pouvez juste utiliser un [[nom de page]] ou utiliser un [[nom de page|texte de lien]]. |
- | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | + | Les liens internes sont créés en utilisant des crochets. Vous pouvez juste |
+ | utiliser un [[nom de page]] ou utiliser un [[nom de page|texte de lien]]. | ||
- | Internal links are created by using square brackets. You can either just give | + | Les [[doku>fr:pagename|noms de pages wiki]] sont automatiquement convertis en minuscules ; les caractères spéciaux ne sont pas autorisés. |
- | a [[pagename]] or use an additional [[pagename|link text]]. | + | |
- | [[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed. | + | Vous pouvez utiliser les [[voici:des:categories]] en utilisant les deux points dans le nom de page. |
- | You can use [[some:namespaces]] by using a colon in the pagename. | + | Vous pouvez utiliser les [[voici:des:categories]] en utilisant |
+ | les deux points dans le nom de page. | ||
- | You can use [[some:namespaces]] by using a colon in the pagename. | + | Pour plus de détails sur les catégories, voir [[doku>fr:namespaces|Catégories]]. |
- | For details about namespaces see [[doku>namespaces]]. | + | Les liens vers une section spécifique d'une page sont également possibles (voir la partie [[syntax#decoupage_en_sections|Découpage en sections]]). Ajoutez simplement le nom de la section après un caractère dièse comme en HTML. Ce lien renvoie vers [[syntax#internes|cette section]]. |
- | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]]. | + | Ce lien renvoie vers [[syntax#internes|cette section]]. |
- | This links to [[syntax#internal|this Section]]. | + | Notes : |
- | + | ||
- | Notes: | + | |
- | + | ||
- | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | + | |
- | * DokuWiki does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled. | + | |
- | * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much. | + | |
+ | * Les liens vers des [[syntax|pages existantes]] sont montrés dans un style différent des liens vers des pages [[inexistantes]]. | ||
+ | * Par défaut, DokuWiki n'utilise pas la syntaxe [[wpfr>CamelCase]] pour créer des liens, mais ce comportement peut être activé dans le fichier de [[doku>fr:config|configuration]]. Astuce : si le mot DokuWiki apparaît sur cette page comme un lien, alors c'est que la syntaxe CamelCase est activée. | ||
+ | * Lorsque le titre d'une section est modifié, alors son lien change aussi. Donc ne comptez pas trop sur les liens de section. | ||
==== Interwiki ==== | ==== Interwiki ==== | ||
- | DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]]. | + | Les liens [[doku>fr:interwiki|Interwiki]] sont des liens rapides vers d'autres Wikis.\\ |
- | + | Par exemple [[wpfr>Wiki|Wiki]] ou [[wp>fr:Wiki|Wiki]] sont des liens vers la définition des Wikis dans Wikipedia en français. | |
- | DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. | + | |
- | For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]]. | + | |
- | ==== Windows Shares ==== | + | Les liens [[doku>fr:interwiki|Interwiki]] sont des liens rapides vers d'autres Wikis.\\ |
+ | Par exemple [[wpfr>Wiki|Wiki]] ou [[wp>fr:Wiki|Wiki]] sont des liens vers la définition des Wikis dans Wikipedia en français. | ||
+ | ==== Partages Windows ==== | ||
- | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp>Intranet]]. | + | Les partages Windows tels que [[\\serveurnt4\partage|ceci]] sont également reconnus. Veuillez noter qu'ils n'ont un sens que dans un groupe d'utilisateurs homogène tels qu'un [[wpfr>Intranet]] d'entreprise. |
- | Windows Shares like [[\\server\share|this]] are recognized, too. | + | Les partages Windows tels que [[\\serveur\partage|ceci]] sont également reconnus. |
- | Notes: | + | Notes : |
- | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone"). | + | * Pour des raisons de sécurité, la navigation directe sur partages Windows ne fonctionne que dans //Microsoft Internet Explorer// par défaut (et seulement dans la « zone locale »). |
- | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/lang/en/lang.php'' (more details at [[doku>localization#changing_some_localized_texts_and_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> | + | * Pour //Mozilla// et //Firefox//, sans réglages, ça ne fonctionne pas. Voir [[http://kb.mozillazine.org/Links_to_local_pages_do_not_work|cette fiche]] de la base de connaissance de Mozilla pour les contournements possibles. Il restera cependant un avertissement JavaScript. Pour supprimer cet avertissement, pour tous les visiteurs du wiki, ajouter cette ligne dans le fichier texte ''conf/userscript.js'':<code javascript> |
- | <?php | + | LANG.nosmblinks = ''; |
- | /** | + | |
- | * Customization of the english language file | + | |
- | * Copy only the strings that needs to be modified | + | |
- | */ | + | |
- | $lang['js']['nosmblinks'] = ''; | + | |
</code> | </code> | ||
wiki/syntax.txt · Dernière modification: 2018/09/06 16:56 par Pala2