Hier beschreibe ich meine vorgenommenen Anpassungen an Dokuwiki.
sudo chown -R www-data:www-data /var/www/ihp-wiki
To force recaching of all pages, including page instructions, touch the local configuration file, conf/local.php. Saving the configuration settings form over the admin interface will have the same effect.
This function is used to find broken links or not used pages in the wiki.
grep -R "text string to search” directory-path
Weiterleitung unter ubuntu/apache2 einrichten
/etc/apache2/sites-available/default
Apache2 neustarten
/etc/init.d/apache2 restart
syntax :
linkcolor :XXX or XXXXXX HEX-Values
hovercolor:XXX or XXXXXX HEX-Values
with hover STARTSEITE
[[:#linkcolor#hovercolor#link|Description]]
without hover STARTSEITE
[[:#linkcolor#link|Description]]
edit file: dokuwiki/inc/parser/xhtml.php
$color = ''; $hover_color = ''; $parts=explode('#', $id, 4); if (count($parts) === 3) {$id = $parts[2];$color = $parts[1];}//get color string elseif (count($parts) === 4) {$id = $parts[3];$hover_color = $parts[2];$color = $parts[1];}//get color string
if($color){$link['style'] = 'color:#'.$color;} if($hover_color){$link['style'] .= ';" onmouseover="this.style.color=\'#'.$hover_color.'\';" onmouseout="this.style.color=\'#'.$color.'\';"';}