Add GeSHi Coloring By default, dokuwiki uses only one template to render all the code highlighting. This is pretty restrictive given that GeSHi has language-specific highlighting. The guide on the dokuwiki page will show you how to create a CSS and load that up in order to get proper syntax highlighting in dokuwiki.
fuss:dokuwiki#add_geshi_coloring - Last modified 2017-04-08 02:53 Split a Large Page into Sub-Pages The following PHP script reads a dokuwiki file (such as the ones under data/pages) and then splits the file into multiple smaller files by the title of the top-level title. The script only supports pages that contain top-level titles (in dokuwiki syntax, those pre-postfixed with six equal signs).
fuss:dokuwiki#split_a_large_page_into_sub-pages - Last modified 2017-04-08 02:53 Enable Tikz for the LaTeX Plugin The patch removes going through dvips and uses ImageMagick directly to convert dvi to png for the latex plugin. class.latexrender.diff --- latex-original/class.latexrender.php 2011-04-29 10:53:02.000000000 +0300 +++ latex/class.latexrender.php 2013-03-09 21:51:06.000000000 +0200 @@ -51,16 +51,7 @@ var $_font_size = 10; var $_latexclass = "article"; //install extarticle class if you wish to have smaller font sizes var $_tmp_filename; - // this most certainly needs to be extended. in the long ...
fuss:dokuwiki#enable_tikz_for_the_latex_plugin - Last modified 2017-04-08 02:53 Password Recovery In case of a lost password, add the following line to conf/users.auth.php: admin:$1$4fd0ad31$.cId7p1uxI4a.RcrH81On0:
DokuWiki Administrator:
[email protected]:admin,user and then login using the username admin and the password admin.
fuss:dokuwiki#password_recovery - Last modified 2017-04-08 02:53 Batch-Edit Checked Boxes Add checked="yes" to admin.php for batchedit to tick all the boxes matching the regex and replacement. Meant for the batchedit plugin. $this->_ptln('');
fuss:dokuwiki#batch-edit_checked_boxes - Last modified 2017-04-08 02:53 Disable GeSHi Links In inc/geshi.php or, on more recent Dokuwiki versions vendor/easybook/geshi/geshi.php, change: var $keyword_links = true; to: var $keyword_links = false;
fuss:dokuwiki#disable_geshi_links - Last modified 2017-04-08 02:53 Upgrade Plugins for PHP 7 Compatibility Change directory from the Dokuwiki root to lib/plugins/ and execute the following commands: find . -type f -exec perl -p -i -e 's/&$handler/Doku_Handler $handler/g' '{}' \; and: find . -type f -exec perl -p -i -e 's/&$renderer/Doku_Renderer $renderer/g' '{}' \;
fuss:dokuwiki#upgrade_plugins_for_php_7_compatibility - Last modified 2017-04-08 02:53