'; 267 | echo $file_path; 268 | echo (file_exists($file_path) ? ' · ' . $lang['lastmod'] . ' ' . $file_lastmod : ''); 269 | echo '
'; 270 | echo ''; 267 | echo $file_path; 268 | echo (file_exists($file_path) ? ' · ' . $lang['lastmod'] . ' ' . $file_lastmod : ''); 269 | echo '
'; 270 | echo ''; 350 | 351 | if ($current_tab = $this->currentTab()) { 352 | 353 | $tab_label = $this->getTabs(); 354 | echo '
'; 388 | $this->getDefaultConfig('default'); 389 | $this->getDefaultConfig('protected'); 390 | $this->editForm(); 391 | 392 | } 393 | 394 | echo '
'; 124 | 125 | echo ''; 126 | 127 | echo '
'; 128 | echo sprintf(' ', $this->getLang('exp_include_sub_namespaces')); 129 | echo sprintf(' ', $this->getLang('exp_export_all_pages_in_namespace')); 130 | echo sprintf(' ', $this->getLang('exp_select_pages')); 131 | echo '
'; 132 | 133 | } 134 | 135 | private function getPagesFromNamespace($ns, $follow_ns = 0) 136 | { 137 | 138 | global $conf; 139 | 140 | $depth = ($follow_ns ? 0 : 2); 141 | 142 | if ($ns == '(root)') { 143 | $ns = ''; 144 | $depth = ($follow_ns ? 2 : 1); 145 | } 146 | 147 | $pages = array(); 148 | $namespace = str_replace(':', '/', $ns); 149 | $options = array('depth' => $depth); 150 | 151 | search($pages, $conf['datadir'], 'search_allpages', $options, $namespace); 152 | 153 | return $pages; 154 | 155 | } 156 | 157 | private function step_select_pages() 158 | { 159 | 160 | global $INPUT; 161 | global $conf; 162 | global $lang; 163 | 164 | $pages = array(); 165 | $namespace = str_replace(':', '/', $INPUT->str('ns')); 166 | 167 | if (!$namespace) { 168 | msg($this->getLang('exp_no_namespace_selected'), -1); 169 | $this->step_select_ns(); 170 | return 0; 171 | } 172 | 173 | $pages = $this->getPagesFromNamespace($INPUT->str('ns'), ($INPUT->str('include-sub-ns') ? 1 : 0)); 174 | 175 | echo sprintf('182 | | Page | 183 |Created | 184 |Modified | 185 |Size | 186 |
---|---|---|---|---|
203 | | %s %s |
204 | %s %s |
205 | %s %s |
206 | %s | 207 |
'; 220 | echo ''; 221 | 222 | echo '
'; 223 | echo sprintf(' ', $lang['btn_back']); 224 | echo sprintf('', $this->getLang('btn_export')); 225 | echo '
'; 226 | 227 | } 228 | 229 | private function cmd_export() 230 | { 231 | 232 | global $INPUT; 233 | global $conf; 234 | 235 | $pages = array(); 236 | 237 | switch ($INPUT->str('step')) { 238 | 239 | case 'select-ns': 240 | 241 | foreach ($this->getPagesFromNamespace($INPUT->str('ns'), ($INPUT->str('include-sub-ns') ? 1 : 0)) as $page) { 242 | $pages[] = $page['id']; 243 | } 244 | 245 | break; 246 | 247 | case 'select-pages': 248 | $pages = array_keys($INPUT->arr('pages')); 249 | break; 250 | 251 | } 252 | 253 | if (!count($pages)) { 254 | msg('No page selected for export!', -1); 255 | return 0; 256 | } 257 | 258 | $namespace = str_replace(':', '-', str_replace('(root)', 'ROOT', $INPUT->str('ns'))); 259 | $timestamp = date('Ymd-His'); 260 | 261 | $Zip = new \splitbrain\PHPArchive\Zip; 262 | $Zip->create(); 263 | 264 | foreach ($pages as $page) { 265 | 266 | $file_fullpath = wikiFN($page); 267 | $file_path = str_replace($conf['datadir'], '', $file_fullpath); 268 | $file_content = io_readFile($file_fullpath); 269 | 270 | $Zip->addData($file_path, $file_content); 271 | 272 | } 273 | 274 | header("Content-Type: application/zip"); 275 | header("Content-Transfer-Encoding: Binary"); 276 | header("Content-Disposition: attachment; filename=DokuWiki-export-$namespace-$timestamp.zip"); 277 | 278 | echo $Zip->getArchive(); 279 | die(); 280 | 281 | } 282 | 283 | } 284 | -------------------------------------------------------------------------------- /admin/import.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | class admin_plugin_advanced_import extends DokuWiki_Admin_Plugin 11 | { 12 | 13 | /** 14 | * @return int sort number in admin menu 15 | */ 16 | public function getMenuSort() 17 | { 18 | return 1; 19 | } 20 | 21 | public function forAdminOnly() 22 | { 23 | return false; 24 | } 25 | 26 | public function getMenuIcon() 27 | { 28 | return dirname(__FILE__) . '/../svg/export.svg'; 29 | } 30 | 31 | public function getMenuText($language) 32 | { 33 | return $this->getLang('menu_import'); 34 | } 35 | 36 | public function handle() 37 | { 38 | global $INPUT; 39 | 40 | if (!$_REQUEST['cmd']) { 41 | return; 42 | } 43 | 44 | if (!checkSecurityToken()) { 45 | return; 46 | } 47 | 48 | $cmd = $INPUT->extract('cmd')->str('cmd'); 49 | 50 | if ($cmd) { 51 | $cmd = "cmd_$cmd"; 52 | $this->$cmd(); 53 | } 54 | 55 | } 56 | 57 | public function html() 58 | { 59 | 60 | global $INPUT; 61 | global $lang; 62 | global $conf; 63 | global $ID; 64 | 65 | $lang['toc'] = $this->getLang('menu_import'); 66 | 67 | echo ''; 70 | 71 | echo ''; 81 | echo '
'; 182 | 183 | echo '
'; 184 | echo sprintf(' ', $this->getLang('imp_upload_backup')); 185 | echo '
'; 186 | 187 | } 188 | 189 | private function step_upload_backup() 190 | { 191 | 192 | global $conf; 193 | global $lang; 194 | 195 | $tmp_name = $_FILES['file']['tmp_name']; 196 | $file_name = $_FILES['file']['name']; 197 | $file_path = $conf['tmpdir'] . "/$file_name"; 198 | 199 | move_uploaded_file($tmp_name, $file_path); 200 | 201 | search($namespaces, $conf['datadir'], 'search_namespaces', $options, ''); 202 | 203 | echo sprintf(''; 215 | 216 | echo sprintf('
225 | | File | 226 |Size | 227 |
---|---|---|
235 | | %s | 236 |%s | ', 237 | $fileinfo->getPath(), 238 | $fileinfo->getPath(), 239 | filesize_h($fileinfo->getSize()) 240 | ); 241 | echo '
'; 246 | 247 | echo '
252 | | %s | 253 |
'; 258 | 259 | echo '
'; 260 | echo sprintf(' ', $lang['btn_back']); 261 | echo sprintf('', $this->getLang('btn_import')); 262 | echo '
'; 263 | 264 | echo sprintf('', $file_path); 265 | 266 | } 267 | 268 | } 269 | -------------------------------------------------------------------------------- /conf/default.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | 8 | $conf['backup'] = 0; 9 | -------------------------------------------------------------------------------- /conf/metadata.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | 8 | $meta['backup'] = array('onoff'); 9 | -------------------------------------------------------------------------------- /deleted.files: -------------------------------------------------------------------------------- 1 | # This is a list of files that were present in previous plugin releases 2 | # but were removed later. An up to date plugin should not have any of 3 | # the files installed 4 | admin.php 5 | ZipLib.class.php 6 | -------------------------------------------------------------------------------- /lang/en/config.txt: -------------------------------------------------------------------------------- 1 | ==== Configuration files ==== 2 | 3 | All configuration files are to be found in the ''./conf'' folder or ''/etc/dokuwiki'' when installed from a Debian package. 4 | 5 | "Main files" usually ship with DokuWiki, whereas "local files" have to be created by the wiki admin. 6 | 7 | If local files are supported you should use them instead of modifying the main files to avoid upgrade troubles. 8 | 9 | 10 | ^ main file ^ local file ^ type of config ^ quick info ^ 11 | | ''dokuwiki.php'' | ''local.php''\\ ''local.protected.php'' | see [[doku>config#configuration_options|config]] | general wiki configuration | 12 | | ''acronyms.conf'' | ''acronyms.local.conf'' | [[doku>abbreviations]] | automatic abbreviation hints | 13 | | ''entities.conf'' | ''entities.local.conf'' | [[doku>entities]] | automatic text replacements | 14 | | ''interwiki.conf'' | ''interwiki.local.conf'' | [[doku>interwiki]] | interwiki shortcut links | 15 | | ''mime.conf'' | ''mime.local.conf'' | [[doku>mime]] | mime type settings for uploads | 16 | | ''smileys.conf'' | ''smileys.local.conf'' | [[doku>smileys]] | image replacements | 17 | | | ''acl.auth.php'' | see [[doku>acl]] | Access Control settings | 18 | | | ''users.auth.php'' | see [[doku>acl]] | Users and passwords | 19 | | ''license.php'' | ''license.local.php'' | [[doku>config:license]] | list of available licenses | 20 | | ''scheme.conf'' | ''scheme.local.conf'' | [[doku>urlschemes]] | URL schemes to be recognized as links | 21 | | ''mediameta.php'' | | [[doku>exif]] | Metadata editable for images | 22 | | ''wordblock.conf'' | ''wordblock.local.conf'' | [[doku>blacklist]] | Spam blacklist | 23 | | ''plugins.required.php'' | ''plugins.local.php''\\ ''plugins.protected.php'' | see [[doku>config#enabling_disabling_plugins|config]] | Enabling/disabling plugins | 24 | | | ''userscript.js'' | [[doku>devel:javascript]] | Custom JavaScript enhancements | 25 | | | ''userstyle.css'' | [[doku>devel:css]] | Custom CSS enhancements | 26 | -------------------------------------------------------------------------------- /lang/en/config/acl.txt: -------------------------------------------------------------------------------- 1 | ==== Access Control Lists (ACL)s ==== 2 | 3 | :!: **Please edit carefully** :!: 4 | 5 | Access restrictions are saved in a file called ''conf/acl.auth.php'', which should be writable by the webserver if you want to use the ACL admin interface described above. It is not recommended to edit this file manually. Use the admin interface instead. 6 | 7 | Empty lines and shell-style comments are ignored. Each line contains 3 whitespace separated fields: 8 | 9 | * The resource to restrict. This can either be a [[doku>pagename]] or a [[doku>namespace]]. Namespaces are marked by an additional asterisk (see examples below). 10 | * A group or user name. Groupnames are marked by a leading ''@'' character. 11 | * A permission level (see below). 12 | 13 | There are 7 permission levels represented by an integer. Higher levels include lower ones. If you can edit you can read, too. However the //admin// permission of //255// can not be used in the ''conf/acl.auth.php'' file. It is only used internally by matching against the [[doku>config:superuser]] option. 14 | 15 | ^ Name ^ Level ^ applies to ^ Permission ^ DokuWiki constant ^ 16 | | none | 0 | pages, namespaces | no permission---complete lock out | AUTH_NONE | 17 | | read | 1 | pages, namespaces | read permission | AUTH_READ | 18 | | edit | 2 | pages, namespaces | existing pages may be edited | AUTH_EDIT | 19 | | create | 4 | namespaces | new pages can be created | AUTH_CREATE | 20 | | upload | 8 | namespaces | mediafiles may be uploaded | AUTH_UPLOAD | 21 | | delete | 16 | namespaces | mediafiles may be overwritten or deleted | AUTH_DELETE | 22 | | admin | 255 | admin plugins | superuser((see [[doku>config:superuser]])) can change admin settings | AUTH_ADMIN | 23 | 24 | 25 | === See also === 26 | * [[doku>acl]] 27 | -------------------------------------------------------------------------------- /lang/en/config/acronyms.txt: -------------------------------------------------------------------------------- 1 | ==== Abbreviations and Acronyms ==== 2 | 3 | DokuWiki can mark abbreviations and acronyms (terminology) automatically. You can hover your mouse on an abbreviation to see a short explanation, shown as a tooltip. For example, if the mouse is positioned over “CMS” (which is included in the default acronyms list), the tooltip displays Content Management System. 4 | 5 | === Example of acronyms.conf === 6 | 7 |
8 | CMS Content Management System
9 | CSS Cascading Style Sheets
10 | HTML HyperText Markup Language
11 |
12 |
13 | === See also ===
14 | * [[doku>abbreviations]]
15 |
--------------------------------------------------------------------------------
/lang/en/config/entities.txt:
--------------------------------------------------------------------------------
1 | ===== Entities =====
2 |
3 | DokuWiki can replace certain characters or strings with other strings based on a configuration file. By default this is used to convert various character combinations to their typographical equivalent.
4 |
5 | === Example of entities.conf ===
6 |
7 |
8 | (c) ©
9 | (tm) ™
10 | (r) ®
11 |
12 |
13 | === See also ===
14 | * [[doku>entities]]
15 |
--------------------------------------------------------------------------------
/lang/en/config/hooks.txt:
--------------------------------------------------------------------------------
1 | ==== Include Hooks ====
2 |
3 | Include hooks allow you to add additional HTML or PHP to the template without modifying any of the template files itself, making them safe to survive an update. Just create the appropriate file in either the template directory (''lib/tpl//'') or your ''conf/'' directory.
4 |
5 | === Available Hooks ===
6 |
7 | ^ Filename ^ Position of included HTML ^
8 | | ''meta.html'' | Inside the HTML , use this to add additional styles or metaheaders |
9 | | ''sidebarheader.html'' | At the top of the sidebar (if any) |
10 | | ''sidebarfooter.html'' | At the bottom of the sidebar (if any) |
11 | | ''pageheader.html'' | At the top inside the content box, above the actual content |
12 | | ''pagefooter.html'' | At the bottom inside the content box, below the actual content |
13 | | ''header.html'' | At the top of the page, above the logo and wiki title |
14 | | ''footer.html'' | At the very end of the page after all other page content |
15 |
16 | === See Also ===
17 | * [[doku>template:dokuwiki]]
18 |
--------------------------------------------------------------------------------
/lang/en/config/htaccess.txt:
--------------------------------------------------------------------------------
1 | ==== .htaccess ====
2 |
3 | By default, DokuWiki does no URL rewriting, resulting in URLs like this:
4 |
5 |
6 | http://example.com/doku.php?id=page
7 |
8 |
9 | These URLs are considered ugly and are not indexed well by some search engines.
10 |
11 | The solution is to enable URL rewriting, which is disabled by default.
12 |
13 | === See also ===
14 |
15 | * [[doku>rewrite]]
16 | * [[doku>config:userewrite]]
17 |
--------------------------------------------------------------------------------
/lang/en/config/interwiki.txt:
--------------------------------------------------------------------------------
1 | ==== InterWiki Links ====
2 |
3 | The original idea of InterWiki was to have one large distributed Wiki over the whole Internet. Today its more of an easy way to link from one wiki to another by having some simple link syntax to accomplish so.
4 |
5 | In DokuWiki this is done by prefixing Wiki pagenames with a shortcut separated by a ''>'' character (eg. ''
36 | wp https://en.wikipedia.org/wiki/{NAME}
37 | doku https://www.dokuwiki.org/
38 | user :user:{NAME}
39 |
40 |
41 | === See also ===
42 | * [[doku>interwiki]]
43 |
--------------------------------------------------------------------------------
/lang/en/config/intro.txt:
--------------------------------------------------------------------------------
1 | ====== Advanced DokuWiki configurations ======
2 |
3 | Use this page to control the advanced settings of your DokuWiki installation.
4 |
5 | Remember to press the **Save** button before leaving this page otherwise your changes will be lost.
6 |
--------------------------------------------------------------------------------
/lang/en/config/main.txt:
--------------------------------------------------------------------------------
1 | ==== Main Configuration ====
2 |
3 | :!: **Please edit carefully** :!:
4 |
5 | The "system" options of DokuWiki will be found in the ''conf/dokuwiki.php'' file. However this file contains the "default" values of the system. To customize it, you should edit the file ''conf/local.php'' or create it if it doesn't exist. To find what you can configure within that file, see the list of available options below.
6 |
7 | === See also ===
8 | * [[doku>config]]
9 |
--------------------------------------------------------------------------------
/lang/en/config/manifest.txt:
--------------------------------------------------------------------------------
1 | ==== Progressive Web App Manifest ====
2 |
3 | DokuWiki sends out a manifest.json, which allows mobile users to add the wiki as a web app to their homescreen.
4 |
5 | This manifest.json can be customized in multiple ways:
6 |
7 | - it can be deactivated by adding ''manifest'' to the "[[doku>config:disableactions]]" config option
8 | - it can be overwritten by values set in a ''manifest.local.json'' in the ''conf'' directory which will be loaded according to the config cascade
9 | - it uses several configurable parameters, if they are not overwritten by the point above: [[doku>config:title|config:title]], [[doku>config:tagline|config:tagline]], the ''%%__background__%%'' and ''%%__theme_color__%%'' or ''%%__background_alt__%%'' replacements
10 | - if no icons are defined in a manifest.local.json, it looks for some svg logos and uses the first it finds: '':wiki:logo.svg'', '':logo.svg'' or '':wiki:dokuwiki.svg''
11 |
12 | === See Also ===
13 |
14 | * [[doku>devel:event:manifest_send|MANIFEST_SEND]]
15 | * https://developer.mozilla.org/en-US/docs/Web/Manifest
16 |
--------------------------------------------------------------------------------
/lang/en/config/mime.txt:
--------------------------------------------------------------------------------
1 | ==== MIME Types ====
2 |
3 | Which file types you can upload via the media manager popup or the fullscreen media manager is configured through the ''conf/mime.conf'' file. Additional mimetypes should be added in ''mime.local.conf''. The file expects an extension (without the dot) and a mime type. Prefixing the mime type with an exclamation mark (!) will force the browser to present a download dialog, even if a browser plugin for the file in question exists.
4 |
5 | === Example of mime.conf ===
6 |
7 |
8 | # this would play in the browser (if supported):
9 | wav audio/wav
10 |
11 | # this would be downloaded
12 | wav !audio/wav
13 |
14 |
15 | File type icons can be added by placing an image file (PNG or GIF) named after the file extension into ''lib/images/fileicons/''.
16 |
17 | **Note:** because the stylesheet used for assigning the fileicons gets cached you need to force a rebuild by touching one of the config files.
18 |
19 | === See also ===
20 | * [[doku>mime]]
21 |
--------------------------------------------------------------------------------
/lang/en/config/scheme.txt:
--------------------------------------------------------------------------------
1 | ==== URL Schemes ====
2 |
3 | DokuWiki allows linking to external URLs but only to known protocols.
4 |
5 | === Example of scheme.conf ===
6 |
7 |
8 | http
9 | https
10 | ftp
11 |
12 |
13 | === See also ===
14 | * [[doku>urlschemes]]
15 |
--------------------------------------------------------------------------------
/lang/en/config/smileys.txt:
--------------------------------------------------------------------------------
1 | ==== Smiles ====
2 |
3 | DokuWiki can convert text smileys to their graphically equivalent. The default smileys images are stored in the ''lib/images/smileys/'' directory and configured in the ''conf/smileys.conf'' file. The local and upgrade-safe directory of smiles images are stored in ''lib/images/smileys/local'' directory and configured in the ''conf/smiles.local.conf''.
4 |
5 | === Example of smileys.conf ===
6 |
7 |
8 | :MYFACE: local/i_am_so_pretty.jpg
9 |
10 |
11 | === See also ===
12 | * [[doku>smileys]]
13 |
--------------------------------------------------------------------------------
/lang/en/config/styleini.txt:
--------------------------------------------------------------------------------
1 | ==== Template style.ini ====
2 |
3 | The ''style.ini'' is a [[wp>INI_file|ini file]] in each [[doku>template]]'s directory((if the template supports it)) configuring the generation of [[doku>devel:css|CSS]] styles. It has two sections: [stylesheets] and [replacements] described below.
4 |
5 | === [stylesheets] ===
6 |
7 | This part defines which CSS files are loaded. Each line is defined as follow:
8 |
9 | cssfile.css = mode
10 |
11 | ''cssfile.css'' is your file name and ''mode'' is one of the supported output modes as described at [[CSS#Stylesheet Modes|mode]].
12 |
13 | The stylesheet can also be a ''.less'' file. (See [[doku>devel:less|LESS]]).
14 |
15 | === [replacements] ===
16 |
17 | DokuWiki's CSS dispatcher is able to replace placeholders in the loaded stylesheets which are configured through the ''[replacements]'' section in the templates ''style.ini''. This is especially useful for defining a color scheme once and reuse these colors in all files.
18 |
19 | These replacements can also be used as [[doku>devel:less#accessing_styleini_placeholders|LESS variables]].
20 |
21 | == Guaranteed color placeholders ==
22 |
23 | The following placeholders are the only ones that are safe to be used by plugins. All templates have to implement these at least, but are free to add more.
24 |
25 | ^placeholder variable ^meaning ^
26 | ^''%%__background__%%'' |main background color |
27 | ^''%%__background_alt__%%'' |alternative background color |
28 | ^''%%__background_neu__%%'' |neutral background color |
29 | ^''%%__border__%%'' |border color |
30 | ^''%%__text__%%'' |main text color |
31 | ^''%%__text_alt__%%'' |alternative text color |
32 | ^''%%__text_neu__%%'' |neutral text color |
33 | ^''%%__highlight__%%'' |highlighted text color (**new** since Adora Belle) |
34 | ^''%%__link__%%'' |the general link color (**new** since Greebo) |
35 |
36 | Template authors should generally try to reuse the placeholder names of the default template.
37 |
38 | === See also ===
39 | * [[doku>devel:style.ini]]
40 |
--------------------------------------------------------------------------------
/lang/en/config/users.txt:
--------------------------------------------------------------------------------
1 | ===== Auth Plain =====
2 |
3 | :!: **Please edit carefully** :!:
4 |
5 | Empty lines, and everything after a ''#'' character are ignored. Each line contains a colon separated array of 5 fields which are:
6 |
7 | * **Login** - This has to be a valid [[doku>:pagename]]
8 | * **Password** - Encrypted password. The encryption method can be anything accepted by [[doku>config:passcrypt|passcrypt option]] (DokuWiki will autodetect the used encryption)
9 | * **Real Name** - Real name of the user
10 | * **E-Mail** - Email address of user
11 | * **Groups** - Comma separated list of groups a user is member of. The group names must follow the rules of valid [[doku>:pagename]]s.
12 |
13 | To create MD5 hash values from a string you could use the script [[http://www.splitbrain.org/encode.php|encode/decode]]. Due to the much better built-in functions of DokuWiki this script is deprecated and only stored here for nostalgia.
14 |
15 | Example:
16 |
17 | andi:ece23254502f07722a98aa5b7c70baa6:Andreas Gohr:andi@splitbrain.org:admin,users,upload
18 |
19 | === See also ===
20 | * [[doku>auth:plain]]
21 |
--------------------------------------------------------------------------------
/lang/en/config/userscript.txt:
--------------------------------------------------------------------------------
1 | ==== JavaScript ====
2 |
3 | DokuWiki makes uses of [[wp>JavaScript]] to enhance the user experience. Like for [[doku>css|stylesheets]] all JavaScript files are delivered through a single dispatcher to minimize HTTP requests, for caching and [[doku>config:compress|compression]].
4 |
5 | This page gives you an overview how JavaScript is loaded from DokuWiki core, [[doku>plugins]] and [[doku>templates]]. It also gives some info about event handling and coding style when writing JavaScript for use in DokuWiki.
6 |
7 | === JavaScript loading ===
8 |
9 | All JavaScript is collected and delivered by [[xref>lib/exe/js.php]]. This file will concatenate all found files, whitespace compress (if
10 | [[doku>config:compress]] is enabled) and cache the result. It also instructs browsers to cache the file, so when you are developing new JavaScript, be sure to refresh your browser cache (hitting Shift-F5, Shift+CTRL+R or similar) whenever your script was updated.
11 |
12 | DokuWiki will load JavaScript from the following places:
13 |
14 | * autogenerated JavaScript (language strings, config settings, [[doku>toolbar]])
15 | * lib/scripts/*.js
16 | * lib/plugins/*/script.js
17 | * lib/tpl/DOKUWIKI/conf
directory';
12 |
--------------------------------------------------------------------------------
/lang/fr/config/acronyms.txt:
--------------------------------------------------------------------------------
1 | ==== Abréviations et Acronymes ====
2 |
3 | DokuWiki peut automatiquement mettre en évidence les abréviations et acronymes (terminologie). Il suffit alors de pointer à l'aide de la souris sur l'une d'entre elle pour obtenir une explication, qui sera affichée en tant qu'infobulle. Par exemple, si la souris est positionnée sur le mot “CMS” (inclu dans la liste par défaut), l'infobulle affiche Content Management System.
4 |
5 | === Exemple du fichier acronyms.conf ===
6 |
7 |
8 | CMS Content Management System
9 | CSS Cascading Style Sheets
10 | HTML HyperText Markup Language
11 |
12 |
13 | === Voir aussi ===
14 | * [[doku>abbreviations]]
15 |
--------------------------------------------------------------------------------
/lang/fr/config/entities.txt:
--------------------------------------------------------------------------------
1 | ===== Entités =====
2 |
3 | DokuWiki peut remplacer certains caractères ou certaines chaines par d'autres en se basant sur un fichier de configuration. Par défaut cela est utilisé pour convertir de nombreuses combinaisons dans leur équivalent typographique.
4 |
5 | === Exemple de fichier entities.conf ===
6 |
7 |
8 | (c) ©
9 | (tm) ™
10 | (r) ®
11 |
12 |
13 | === Voir aussi ===
14 | * [[doku>entities]]
15 |
--------------------------------------------------------------------------------
/lang/fr/config/hooks.txt:
--------------------------------------------------------------------------------
1 | ==== Attaches de modèles ====
2 |
3 | Les attaches vous permettent d'ajouter des pages HTML ou PHP statiques au modèle sans modifier aucun fichier dudit modèle, ce qui assure également de leur éviter un écrasement lors d'une mise à jour.
4 | Créez juste le fichier approprié dans le dossier (''lib/tpl//'') ou dans le répertoire ''conf/''.
5 |
6 | === Attaches autorisées ===
7 |
8 | ^ Nom du fichier ^ Position du fichier HTML ^
9 | | ''meta.html'' | Dans le bloc , à utiliser pour ajouter des clauses Meta ou des scripts supplémentaires |
10 | | ''sidebarheader.html'' | En haut de la barre latérale (si existante) |
11 | | ''sidebarfooter.html'' | En bas de la barre latérale (si existante) |
12 | | ''pageheader.html'' | En haut dans le bloc de contenu, au-dessus de tout |
13 | | ''pagefooter.html'' | En bas dans le bloc de contenu, au-dessous de tout |
14 | | ''header.html'' | En haut de page, au-dessus du logo et du titre du Wiki |
15 | | ''footer.html'' | Tout à la fin de la page |
16 |
17 | === Voir aussi ===
18 |
19 | * [[doku>template:dokuwiki]]
20 |
21 |
--------------------------------------------------------------------------------
/lang/fr/config/htaccess.txt:
--------------------------------------------------------------------------------
1 | ==== .htaccess ====
2 |
3 | Par défaut, DokuWiki n'effectue par de réécriture d'URL (URL Rewriting), ce qui donne des liens comme ceci :
4 |
5 |
6 | http://example.com/doku.php?id=page
7 |
8 |
9 | Ces URL sont considérés comme étant inadaptées pour l'indexation par les moteurs de recherche, et ne sont pas franchement pas très esthétiques.
10 |
11 | La solution est d'activer la réécriture d'URL, qui est désactivée par défaut.
12 |
13 | === Voir aussi ===
14 |
15 | * [[doku>rewrite]]
16 | * [[doku>config:userewrite]]
17 |
--------------------------------------------------------------------------------
/lang/fr/config/interwiki.txt:
--------------------------------------------------------------------------------
1 | ==== InterWiki Links ====
2 |
3 | L'idée originale d'InterWiki était d'avoir un grand Wiki réparti sur tout internet. Aujourd'hui c'est plutôt une façon de lier facilement un wiki à un autre avec une syntaxe simple et facile à mettre en oeuvre.
4 |
5 | Dans DokuWiki ceci est réalisé en préfixant un nom de page avec un raccourci séparé par le caractère “>” (ex : ''
24 | wp https://en.wikipedia.org/wiki/{NAME}
25 | doku https://www.dokuwiki.org/
26 | user :user:{NAME}
27 |
28 |
29 | === Voir aussi ===
30 | * [[doku>interwiki]]
31 |
--------------------------------------------------------------------------------
/lang/fr/config/intro.txt:
--------------------------------------------------------------------------------
1 | ====== Configuration avancée de DokuWiki ======
2 |
3 | Utilisez cette page pour gérer les paramètres avancés de votre installation. N'oubliez pas de cliquer sur le bouton **Sauvegarder** avant de quitter cette page, sinon vos changements seront perdus.
4 |
--------------------------------------------------------------------------------
/lang/fr/config/mime.txt:
--------------------------------------------------------------------------------
1 | ==== Types MIME ====
2 |
3 | Chaque type de fichier que vous pouvez envoyer à l'aide du Gestionnaire de médias est configuré à partir du fichier ''conf/mime.conf''. Les types supplémentaires doivent être ajoutés dans le fichier ''mime.local.conf''. On y indique alors une extension (sans le point) et un type MIME. Préfixer le type avec un point d'exclamation (!) forcera le navigateur à présenter une fenêtre de téléchargement à l'utilisateur, même s'il existe un plugin de lecture pour lire le fichier.
4 |
5 | === Exemple de fichier mime.conf ===
6 |
7 |
8 | # ceci sera lu dans le navigateur (si supporté) :
9 | wav audio/wav
10 |
11 | # Ceci sera téléchargé
12 | wav !audio/wav
13 |
14 |
15 | Les icônes de fichiers (format PNG ou GIF) peuvent être ajoutées dans le répertoire ''lib/images/fileicons/'' avec pour nom l'extension du fichier.
16 |
17 | **Note:** Du fait que la feuille de style utilisée pour assigner les icônes est mise en cache, vous devrez forcer une reconstruction en sauvegardant l'un des fichiers de configuration du Wiki.
18 |
19 | === Voir aussi ===
20 | * [[doku>mime]]
21 |
--------------------------------------------------------------------------------
/lang/fr/config/scheme.txt:
--------------------------------------------------------------------------------
1 | ==== Schémas d'URL ====
2 |
3 | DokuWiki autorise les liens externes mais uniquement pour les protocoles connus.
4 |
5 | === Exemple du fichier scheme.conf ===
6 |
7 |
8 | http
9 | https
10 | ftp
11 |
12 |
13 | === Voir aussi ===
14 | * [[doku>urlschemes]]
15 |
--------------------------------------------------------------------------------
/lang/fr/config/smileys.txt:
--------------------------------------------------------------------------------
1 | ==== Emoticones ====
2 |
3 | DokuWiki peut convertir les émoticones dans leur équivalent image. Les émoticones par défaut sont stockées dans le dossier ''lib/images/smileys/'' et configurés à partir du fichier ''conf/smileys.conf''. Le répertoire où l'on peut effectuer des ajouts d'images de manière sûre est ''lib/images/smileys/local'' et la configuration utilisateur se fait dans ''conf/smiles.local.conf''.
4 |
5 | === Exemple du fichier smileys.conf ===
6 |
7 |
8 | :MYFACE: local/i_am_so_pretty.jpg
9 |
10 |
11 | === Voir aussi ===
12 | * [[doku>smileys]]
13 |
--------------------------------------------------------------------------------
/lang/fr/config/wordblock.txt:
--------------------------------------------------------------------------------
1 | ==== Liste noire ====
2 |
3 | Internet n'est plus l'endroit qu'il fut autrefois. Tout ce qui est bon devient mauvais et c'est la même chose pour les Wiki. Si vous utilisz DokuWiki en intranet, cela n'est sûrement pas un problème pour vous, mais si vous envisagez de l'utiliser sur la toile, vous avez peut-être envie de bloquer certains mots indésirables.
4 |
5 | === Voir aussi ===
6 | * [[doku>blacklist]]
7 | * [[https://meta.wikimedia.org/wiki/Spam_blacklist|Spam blacklist - Meta-Wiki - Wikimedia]]
8 |
--------------------------------------------------------------------------------
/lang/fr/lang.php:
--------------------------------------------------------------------------------
1 |
6 | * License GPL 2 (http://www.gnu.org/licenses/gpl.html)
7 | * Copyright (C) 2016-2020, Giuseppe Di Terlizzi
8 | */
9 |
10 | jQuery(document).ready(function () {
11 |
12 | var $adv = jQuery('#plugin_advanced_config');
13 |
14 | dw_page.makeToggle('.config_default h3', '.config_default > div', -1);
15 | dw_page.makeToggle('.config_protected h3', '.config_protected > div', -1);
16 |
17 | $adv.find('.purge-cache').on('click', function (e) {
18 | var $btn = jQuery(this);
19 | jQuery.get(DOKU_BASE + 'lib/exe/' + $btn.data('purgeType') + '.php?purge=true').done(function () {
20 | alert($btn.data('purgeMsg'));
21 | });
22 | });
23 |
24 | var $advanced_forms = jQuery('#plugin_advanced_export, #plugin_advanced_import');
25 |
26 | $advanced_forms.find('.export-all-pages, .import-all-pages').on('click', function () {
27 |
28 | var $pages = $advanced_forms.find('table.pages tbody input[type=checkbox]');
29 |
30 | if (jQuery(this).prop('checked')) {
31 | $pages.prop('checked', true);
32 | } else {
33 | $pages.prop('checked', false);
34 | }
35 |
36 | });
37 |
38 | });
39 |
--------------------------------------------------------------------------------
/style.less:
--------------------------------------------------------------------------------
1 | /*!
2 | * DokuWiki Advanced Plugin
3 | *
4 | * Home http://dokuwiki.org/plugin:bootswrapper
5 | * Author Giuseppe Di Terlizzi