Documente Academic
Documente Profesional
Documente Cultură
DokuWiki en détail
Un wiki simple et « smart »
Guy Brand
gb@isis.u-strasbg.fr
Université de Strasbourg / CNRS
1 Introduction
Pourquoi DokuWiki ?
Pedigree
Crash test
2 Les entrailles
Structure
Syntaxe
Les données
Fichiers de configuration
Authentification
3 Personnalisations
Thèmes
Modèles de pages
Greffons
4 État du projet
Introduction Les entrailles Personnalisations État du projet
1 Introduction
Pourquoi DokuWiki ?
Pedigree
Crash test
2 Les entrailles
Structure
Syntaxe
Les données
Fichiers de configuration
Authentification
3 Personnalisations
Thèmes
Modèles de pages
Greffons
4 État du projet
Introduction Les entrailles Personnalisations État du projet
Pourquoi DokuWiki ?
Fichiers plats
Installation, gestion et paramétrage aisés
Extensible (greffons et thèmes)
ACLs et gestion des révisions
Rapide
Open Source
Introduction Les entrailles Personnalisations État du projet
D’autres arguments
Et aussi. . .
D’autres arguments
Et encore. . .
Pedigree
Pedigree
Pedigree
Copie d’écran
Introduction Les entrailles Personnalisations État du projet
Pedigree
Copie d’écran
Introduction Les entrailles Personnalisations État du projet
Statistiques
Statistiques
Nombre de dokuwikis accédant à update.dokuwiki.org :
Crash test
Démo
Prérequis
Serveur web
PHP (session)
Introduction Les entrailles Personnalisations État du projet
Crash test
Démo
Prérequis
Serveur web
PHP (session)
Installation
Télécharger l’archive
Décompacter et désarchiver dans le serveur web
Charger la page install.php
Introduction Les entrailles Personnalisations État du projet
Crash test
Démo
Prérequis
Serveur web
PHP (session)
Installation
Télécharger l’archive
Décompacter et désarchiver dans le serveur web
Charger la page install.php
Démo...
Introduction Les entrailles Personnalisations État du projet
1 Introduction
Pourquoi DokuWiki ?
Pedigree
Crash test
2 Les entrailles
Structure
Syntaxe
Les données
Fichiers de configuration
Authentification
3 Personnalisations
Thèmes
Modèles de pages
Greffons
4 État du projet
Introduction Les entrailles Personnalisations État du projet
Structure
Structure
Des fichiers :
doku.php : script principal
feed.php : script du feed
index.php : coquille vide
install.php : l’installeur php
Introduction Les entrailles Personnalisations État du projet
Structure
Structure
Des fichiers :
doku.php : script principal
feed.php : script du feed
index.php : coquille vide
install.php : l’installeur php
Des répertoires :
bin : des outils externes
conf : configuration
data : données
lib : les extensions
inc : le moteur
Introduction Les entrailles Personnalisations État du projet
La motorisation
Syntaxe
Textes et listes
Syntaxe
Titres et séparateur
Niveau 5 : == titre h5 ==
Syntaxe
[[lien-interne]] ou [[page]]
[[page|Nom de la page]]
[[http://lien-externe]]
[[http://lien-externe|Description du lien]]
{{image}}
{{image|Description de l’image}}
{{image?LxH}}
{{ image}}
{{ image }}
{{image }}
Introduction Les entrailles Personnalisations État du projet
Syntaxe
Les tableaux
Syntaxe
Le code
<code c>
void debug_print_all_canvasses(header)
char *header;
{
#ifdef DEBUG
struct canvas *cv;
char message[BUFSIZ];
...
</code>
Introduction Les entrailles Personnalisations État du projet
Système d’événements
« Hooks »
Exemple
ACTION HEADERS SEND
DOKUWIKI STARTED
IO WIKIPAGE READ
TOOLBAR DEFINE
Introduction Les entrailles Personnalisations État du projet
Les données
Les données
Fichiers de configuration
acronyms.conf
entities.conf
interwiki.conf
mime.conf
smileys.conf
wordblock.conf
Introduction Les entrailles Personnalisations État du projet
Réglages nécessaires
Réglages minimaux
Réglages nécessaires
Réglages minimaux
Affinement avec :
Environ 90 autres paramètres
Booléens, valeurs ou chaı̂nes de caractères
Cf. le manuel en ligne (disponible en français)
Introduction Les entrailles Personnalisations État du projet
Réglages UI
Réglages UI
Réglages fonctionnels
Réglages fonctionnels
Authentification
Authentification
Ou encore :
CAS (patch ?)
openid (via un plugin)
sympa (via un plugin)
Introduction Les entrailles Personnalisations État du projet
Utilisateurs
Authentification native
Utilisateurs
Utilisateurs
Format : user:password:Nomreel:courriel:groupe
Introduction Les entrailles Personnalisations État du projet
Utilisateurs
Utilisateurs
Format : user:password:Nomreel:courriel:groupe
Exemple
test :$1$16a83ed6$wqp7I9.o2HQQ66mpc2xC21 :test :test :user
jo :$1$92fd12a8$9LySpaqhTIPsJsgcApYtG. :jo : :user
troll :$1$b0e6d56b$wJjqDO9DBQj8fDcLLoqwZ1 :troll :troll :user
dan :$1$f74873b1$M8rqYU0jAVcoT0V0lGoSr. :dannn : :devel
gb :098f6bcd4621d373cade4e832627b4f6 :gb :bug@localhost :admin
Introduction Les entrailles Personnalisations État du projet
ACL
ACL
ACL
« Narrowest match »
* @ALL 4
* @admin 16
start @ALL 1
doc:* @user 8
devel:* @ALL 0
devel:* @devel 8
devel:priv:* @user 0
users:* @USER@ 0
1 Introduction
Pourquoi DokuWiki ?
Pedigree
Crash test
2 Les entrailles
Structure
Syntaxe
Les données
Fichiers de configuration
Authentification
3 Personnalisations
Thèmes
Modèles de pages
Greffons
4 État du projet
Introduction Les entrailles Personnalisations État du projet
Thèmes
Templates
Voir : http://wiki.splitbrain.org/wiki:tpl:templates
Introduction Les entrailles Personnalisations État du projet
Modèles de pages
Namespace templates
Greffons
Plugins
Core Plugins
Nice plugins
http://wiki.splitbrain.org/wiki:plugins
Plugin
Plugin de syntaxe
Démo
hilight : couleur de < hi#rgb > texte < /hi >
math2 : formules mathématiques < m > y = x/2x < /m >
gtd : Get Things Done™
iframe : embarquer une page externe au wiki
Introduction Les entrailles Personnalisations État du projet
Plugin
Plugin d’action
Démo
pdfex : export au format pdf
discussion : commentaires dans les pages
include : inclure une page dans une autre
Introduction Les entrailles Personnalisations État du projet
Plugin
Plugin de rendu
Démo
s5 : présentation Web (Eric A. Meyer)
oo.org : rendu au format OpenOffice.org
Introduction Les entrailles Personnalisations État du projet
Plugin
Plugin hybride
Démo
blog plugin
Introduction Les entrailles Personnalisations État du projet
1 Introduction
Pourquoi DokuWiki ?
Pedigree
Crash test
2 Les entrailles
Structure
Syntaxe
Les données
Fichiers de configuration
Authentification
3 Personnalisations
Thèmes
Modèles de pages
Greffons
4 État du projet
Introduction Les entrailles Personnalisations État du projet
Défauts
Défauts
Renommer/déplacer (plugin)
Pas de révisions sur les fichiers annexes (medias)
Indexeur un peu lent
Bugs sur la plate-forme Windows
Certains plugins sont buggés
Introduction Les entrailles Personnalisations État du projet
ToDo
À faire
upgrade.php (peut-être)
Éditeur WYSIWYG ?
D’autres événements
Plus de doc
et de traductions
Nouveaux plugins (pdf à la volée)
...et thèmes
Corrections de bugs
Introduction Les entrailles Personnalisations État du projet
Conclusion
Références
http://www.dokuwiki.org
Fin
Questions ?