Increase max size for uploads

  1. first, change the PhP service. On the server, go to PhP config, then choose PHP 5.4 (Single php.ini)
  2. modify these lines in php.ini
upload_max_filesize = 5G
post_max_size = 5G

Embed google calendar

  1. Once you have the plugin installed, Go to Admin > Configuration Settings and configure the iframe plugin. Select “Allow JavaScript urls” and save the changes.
  2. To embed multiple calendars (they must be public), use the following syntax (colors are only examples):

Slide show

Configuration (for internal use only)

  • host server: (used to be hostmonster, but then changed it because of the VERY SLOW site response).
  • dokuwiki version: 2013-05-10a “Weatherwax”
  • template: monobook

Change URL format

By default, DokuWiki does no URL rewriting, resulting in URLs like this:

These URLs are considered ugly and are not indexed well by some search engines.

The solution is to enable URL rewriting, which is disabled by default:

  1. Go to Admin
  2. Open Configuration Manager
  3. Change Nice URLs option to .htaccess (use find, it's far down)
  4. Underneath it, check the option to “Use slash as namespace separator in URLs”
  5. Save
  6. Next, using an ftp or file manager, you need access to your /wiki/ folder that you created when creating your wiki.
  7. Inside, you'll find a file called .htaccess. (if you don't see it, make sure you have hidden files visible. It may be an option you have while logging on depending on your hosting provider, or, simply create a file called .htaccess and upload it)
  8. inside the .htaccess file, paste the following:
RewriteEngine on
RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2  [QSA,L]
RewriteRule ^$                        doku.php  [L]
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{REQUEST_FILENAME}       !-d
RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
RewriteRule ^index.php$               doku.php

This will give you a format like If you have a different format for your address, like, then place this line right after RewriteEngine on

RewriteBase /dokuwiki

where /dokuwiki should be changed to the actual name of the folder you are using.

More info here:

Prevent external users to register

Mass deletion of users

Download file: conf/users.auth.php

Edit this script to your needs and run it:
#!/usr/bin/env python
# Delete lines that contain string
# Author: Julien Cohen-Adad
# 2015-11-12
bad_words = [':user']  # you can add more words, separated with ","
file_in = 'users.auth.php'
file_out = 'users.auth_new.php'
with open(file_in) as oldfile, open(file_out, 'w') as newfile:
    for line in oldfile:
        if not any(bad_word in line for bad_word in bad_words):