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 this work as a help server, but they are simple and thus easy to maintain, even after an update of DokuWiki or any of the extensions.
// bco: 20181114. Get requested language and set language fallback require_once(template('dispatcher.php')); $langcode = help_language();
//do the work (picks up what to do from global env) act_dispatch();
with
// bco: 20181114. Set language and load act_dispatch override init_lang($langcode); help_dispatch();
// bco: 20181116. Fix toc issues due to use of condition Plugin require_once(template('dispatcher.php')); help_toc($toc);
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.