DokuWiki Installer


This page assists in the first time installation and configuration of Dokuwiki. More info on this installer is available on it's own documentation page.

DokuWiki uses ordinary files for the storage of wiki pages and other information associated with those pages (e.g. images, search indexes, old revisions, etc). In order to operate successfully DokuWiki must have write access to the directories that hold those files. This installer is not capable of setting up directory permissions. That normally needs to be done directly on a command shell or if you are using hosting, through FTP or your hosting control panel (e.g. cPanel).

This installer will setup your DokuWiki configuration for ACL, which in turn allows administrator login and access to DokuWiki's admin menu for installing plugins, managing users, managing access to wiki pages and alteration of configuration settings. It isn't required for DokuWiki to operate, however it will make Dokuwiki easier to administer.

Experienced users or users with special setup requirements should use these links for details concerning installation instructions and configuration settings.

For security reasons this script will only work with a new and unmodified Dokuwiki installation. You should either re-extract the files from the downloaded package or consult the complete Dokuwiki installation instructions

driven by DokuWiki powered by PHP
Using Numeric Priorities [Mantis Bug Tracker Wiki]

User Tools

Site Tools


Using Numeric Priorities


Some users prefer to use numeric priorities like “1, 2, 3, etc” (where 1 is the highest) rather than using “immediate, urgent, high, etc”. This guide goes through the steps of customizing Mantis so that it uses such priority system.


# Use numeric priorities
$g_priority_enum_string = '1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9';
# Default bug priority when reporting a new bug
$g_default_bug_priority = 4;
# Use text priorities rather than icons.
$g_show_priority_text = ON;

Database Upgrade

If you already have data in the database, then you will need to run the following UPDATE queries.

UPDATE `mantis_bug_table` SET `priority` = 1 WHERE `priority` = 60;
UPDATE `mantis_bug_table` SET `priority` = 2 WHERE `priority` = 50;
UPDATE `mantis_bug_table` SET `priority` = 3 WHERE `priority` = 40;
UPDATE `mantis_bug_table` SET `priority` = 4 WHERE `priority` = 30;
UPDATE `mantis_bug_table` SET `priority` = 5 WHERE `priority` = 20;
UPDATE `mantis_bug_table` SET `priority` = 6 WHERE `priority` = 10;


Create custom_strings_inc.php in the Mantis root folder with the following contents:

$s_priority_enum_string = '1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9';
mantisbt/numeric_priorities.txt · Last modified: 2011/11/10 09:08 by johnericson