This is an old revision of the document!
This guide is for installation instructions of a DokuWiki private site, or a DokuWiki help server for a Joomla 3.9 website installation and help pages served by DokuWiki. This is specific for my personal needs, but might help you in setting up a highly customized dokuwiki server instance.
There are a few core hacks required to make my template work properly, both for a regular wiki as well as for a help server. Note: you need to verify below modifications after every DokuWiki upgrade.
/lib/tpl/
. Current version is 2022-10-09 suitable for DokuWiki “Igor”.doku.php
in DokuWiki's root after line $ID = getID();
at the beginning…require_once(template('dispatcher.php')); $langcode = bethico_language();
act_dispatch();
withinit_lang($langcode); bethico_dispatch(basename(__FILE__));
doku.php
to help.php
in the DokuWiki root folder/inc/template.php
and add before line Event::createAndTrigger('TPL_TOC_RENDER', $toc, null, false);
in function tpl_toc
. This is a non-destructive change which fixes an issue in the table of contents if plugin condition
is installed in the wikiif (@include_once(template('dispatcher.php'))) bethico_update_toc($toc, $TOC);
/lib/tpl/bethico/core/
/inc/actions.php
and change /lib/tpl/bethico/dispatcher.php
/inc/template.php
and change/doku.php
and change then copy to /help.php
File | DokuWiki File | Todo |
---|---|---|
help.php | doku.php | line 12: $updateVersion and verify content (compare doku.php to previous version) |
inc/template.php | inc/template.php | line 131-133: call to help_toc in function tpl_toc |
lib/tpl/bethico/dispatcher.php | inc/actions.php | verify function help_dispatch |
'https://your.wiki.server/help.php?id={langcode}:{keyref}'
JToolbarHelper::help('view', true);
https://your.wiki.server/help.php?id=en:view
Joomla's default help url:
url example: https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}
Substitute tags:
Tag | Name | Example |
---|---|---|
{app} | Application name | 'Administrator' |
{component} | Component name | 'com_content' |
{keyref} | Help screen key reference | JToolbarHelper::help('{keyref}', true) |
{language} | Full language code | 'en-GB' |
{langcode} | Short language code | 'en' |
{langregion} | Region code | 'GB' |
{major} | Joomla major version number | |
{minor} | Joomla minor version number | |
{maintenance} | Joomla maintenance version number |
plugins/condition/syntax.php
if you run your webserver with PHP 8.plugins/html5video/syntax/video.php
if you run your webserver with PHP 8.