Difference between revisions of "Dokuwiki"

From ThorstensHome
Jump to: navigation, search
(See also)
(program)
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
 
This page is here for historic reasons. You can browse through its versions by selecting the tab "history". The page used to describe how I adapt Dokuwiki for my needs, but I can do this now entirely using the [[mediasyntax]] plugin for dokuwiki.  
 
This page is here for historic reasons. You can browse through its versions by selecting the tab "history". The page used to describe how I adapt Dokuwiki for my needs, but I can do this now entirely using the [[mediasyntax]] plugin for dokuwiki.  
  
= TroubleShooting =
+
= Where do you want to go? =
== Plugin cannot be unpacked ==
+
* you want to install dokuwiki => go to [http://linuxintro.org/wiki/dokuwiki LinuxIntro]
'''Symptom:'''
+
* you want to learn more about the mediasyntax plugin => go to [[mediasyntax]]
The plugin manager was unable to decompress the downloaded file. This maybe as a result of a bad download, in which case you should try again; or the compression format may be unknown, in which case you will need to download and install the plugin manually.
+
* you want to help developing the mediasyntax plugin => go to [[developing mediasyntax]]
  
'''Solution:'''
+
= program =
Install the zlib package for php, e.g. php5-zlib
+
 
 +
== editsections ==
 +
inc/parser/xhtml.php
 +
 
 +
The header of a section is defined in xhtml's function header().
 +
 
 +
xhtml.php contains finishSectionEdit($pos). This creates a line like
 +
<!-- EDIT1 SECTION "heading 1"[1-59] -->
 +
 
 +
$this->sectionedits[] filled by inc/parser/xhtml.php's startSectionEdit().
 +
 
 +
html_secedit replaces
 +
<!-- EDIT(\d+) ([A-Z_]+) (?:"([^"]*)" )?\[(\d+-\d*)\] -->
 +
by some text

Latest revision as of 19:01, 10 July 2011

This page is here for historic reasons. You can browse through its versions by selecting the tab "history". The page used to describe how I adapt Dokuwiki for my needs, but I can do this now entirely using the mediasyntax plugin for dokuwiki.

Where do you want to go?

program

editsections

inc/parser/xhtml.php

The header of a section is defined in xhtml's function header().

xhtml.php contains finishSectionEdit($pos). This creates a line like

$this->sectionedits[] filled by inc/parser/xhtml.php's startSectionEdit().

html_secedit replaces by some text