History log of /dokuwiki/inc/ (Results 5676 – 5700 of 6436)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
8f4f35ec15-Apr-2006 chris <chris@jalakai.co.uk>

event ACTION_TEMPLATE minor update

darcs-hash:20060415162247-9b6ab-d6c05736c0e4fb05331bc1cf06e48c5d61c64d5b.gz

7ea0913c15-Apr-2006 chris <chris@jalakai.co.uk>

events TPL_ACTION_HTML & TPL_DISPLAY_HTML

event TPL_ACTION_HTML
data $ACT
action tpl_content_core (formerly tpl_content)

This event is a wrapper for tpl_content() (now tpl_content_core()) and

events TPL_ACTION_HTML & TPL_DISPLAY_HTML

event TPL_ACTION_HTML
data $ACT
action tpl_content_core (formerly tpl_content)

This event is a wrapper for tpl_content() (now tpl_content_core()) and as such is a
full trigger, meaning it issues three advises:
- TPL_ACTION_HTML_before
- TPL_ACTION_HTML
- TPL_ACTION_HTML_after

Event handlers can output HTML before and/or after the main Dokuwiki page output and
can prevent the default dokuwiki page generation taking place.

Example uses could include:
- replacements for dokuwiki command handlers like index.
- appending a discussion section to the page by handling TPL_ACTION_HTML_after

event TPL_DISPLAY_HTML
data html output produced by tpl_content_core[1]
action send output to browser

Event handlers can post process the HTML output before it is sent to the client
browser. This is a full trigger, meaning it issues three advises
- TPL_DISPLAY_HTML_before
- TPL_DISPLAY_HTML
- TPL_DISPLAY_HTML_after

darcs-hash:20060415160847-9b6ab-d7affcb1aaf49aecfaf9bc1e78a82ceb8ae409f7.gz

show more ...

f63a200715-Apr-2006 chris <chris@jalakai.co.uk>

event SEND_HEADERS

Event data an array of headers dokuwiki will send[1].
The default action is to output all the headers in order using the header() function.

This event is a full trigger, meaning

event SEND_HEADERS

Event data an array of headers dokuwiki will send[1].
The default action is to output all the headers in order using the header() function.

This event is a full trigger, meaning there are three advises:
- SEND_HEADERS_before
- SEND_HEADERS
- SEND_HEADERS_after

Handlers of this event can add/modify/delete the headers in the event data. The event
data must remain an array, even if emptied.

[1] There is one dokuwiki header 'Content-Type: text/html; charset

darcs-hash:20060415160210-9b6ab-841bd034b797c7f1b8d4bbc66f90185a16e5a043.gz

show more ...

39a8938215-Apr-2006 Esther Brunner <esther@kaffeehaus.ch>

new metadata renderer; functions p_get_metadata() and p_set_metadata()

darcs-hash:20060415104627-283c4-c7d35620fc9dbc21b8a47089692b76d35a9f9ca8.gz

5c752f6c14-Apr-2006 chris <chris@jalakai.co.uk>

event ACTION_TEMPLATE

This event is advisory only.
Event data is the $ACT variable
The default action is to display an "unknown action" message

The event is triggered by tpl_content if it does not

event ACTION_TEMPLATE

This event is advisory only.
Event data is the $ACT variable
The default action is to display an "unknown action" message

The event is triggered by tpl_content if it does not recognise the $ACT value. It is
the complement to event 'ACTION_DISPATCH'. Handlers of this event can output XHTML
which will be displayed in the main dokuwiki window - ie. where the wiki page would
normally be displayed.

darcs-hash:20060414201705-9b6ab-f8ede6a2fb601d734c115ee09bb57195ad7d1e2b.gz

show more ...

e0ad864e14-Apr-2006 chris <chris@jalakai.co.uk>

event HANDLER_FINALISED

This event is advisory only.
Event data is the handler object.
There is no default action to prevent.

The event is signalled by the handler during its finalisation of the in

event HANDLER_FINALISED

This event is advisory only.
Event data is the handler object.
There is no default action to prevent.

The event is signalled by the handler during its finalisation of the instruction list.
At the time of signalling the instruction list is complete except for three instrucitons,
meta, document_start & document_end.

Syntax plugins could register for this event to finalise processing of their data knowing
it is complete, e.g. an alternate footnote plugin.

darcs-hash:20060414201101-9b6ab-eba2d096ed3b82e1ec6b24ee90caaa9849f16093.gz

show more ...

c2e830f214-Apr-2006 chris <chris@jalakai.co.uk>

add ACTION_DISPATCH event

The 'ACTION_DISPATCH' event[1] is triggered prior to any processing of the $ACT
variable[2]. This gives custom content the opportunity to add new "do" commands
and to proce

add ACTION_DISPATCH event

The 'ACTION_DISPATCH' event[1] is triggered prior to any processing of the $ACT
variable[2]. This gives custom content the opportunity to add new "do" commands
and to process any custom form data.

This event is advisory only (there are no '_before' or '_after' advise)

Preventing default action will skip Dokuwiki's own processing of the $ACT value, this
includes its cleansing of the $ACT variable.

[1] also refer ACTION_TEMPLATE event
[2] $ACT is the do variable from the query string

darcs-hash:20060414195601-9b6ab-8ae62d2c3a7c6f8c09c77436d9adbaba5404f51b.gz

show more ...

f65bfee114-Apr-2006 chris <chris@jalakai.co.uk>

action plugins

This patch adds events and a third plugin type, "action" plugins, to DokuWiki.

The patch doesn't include any event signalling, that will be added in later patches.

Action plugins ar

action plugins

This patch adds events and a third plugin type, "action" plugins, to DokuWiki.

The patch doesn't include any event signalling, that will be added in later patches.

Action plugins are loaded before most Dokuwiki processing takes place and at the
same time are given the opportunity to register handlers (or hooks) to receive
specific dokuwiki events.

Other parts of Dokuwiki (e.g. templates and syntax plugins) can also register
handlers to receive events.

Any part of Dokuwiki can create and signal events, including templates and plugins.

This patch also revises the admin plugin class by making it an extension of a
new class, DokuWiki_Plugin. The DokuWiki_Plugin_Action class also extends this
new class.

Further details of events, their signalling and handling, and of action plugins will
be added to wiki.splitbrain.org in due course :-)

darcs-hash:20060414193737-9b6ab-f23d3d9b93e4c50a3ad97ced03eabc6c0363650b.gz

show more ...

c4e0e4a114-Apr-2006 Andreas Gohr <andi@splitbrain.org>

relative upper links

Now allows links like [[..:..:page]]

darcs-hash:20060414150358-7ad00-88394caabc6ee2ce7137694e2a0c0c98e7534ea5.gz

7de6c23414-Apr-2006 Andreas Gohr <andi@splitbrain.org>

magpie files removed

darcs-hash:20060414110517-7ad00-a942f845647f301255365b162a22826cd9a983f6.gz

3db95bec14-Apr-2006 Andreas Gohr <andi@splitbrain.org>

feed aggregation revamped

Feeds are now parsed with SimplePie. The feed syntax was enhanced

darcs-hash:20060414110047-7ad00-6dd4b96845baab8683a2f837d6ad6fcb2fd53131.gz

d7e8115f12-Apr-2006 Andreas Gohr <andi@splitbrain.org>

even faster header parsing using strspn

darcs-hash:20060412184125-7ad00-e51f8d531bf3011d230f62cb99fd18de8f150c41.gz

30fe9cd611-Apr-2006 Andreas Gohr <andi@splitbrain.org>

releaxed header syntax

darcs-hash:20060411182721-7ad00-0f34803c6228eb2918f0049284e6290a47ce51bd.gz

a6598f2310-Apr-2006 Ben Coburn <btcoburn@silicodon.net>

pagetitle as template pagename

Uses the first heading as the page name in the default template
if $conf['useheading'] is set. Updates tpl_pagetitle() so that it
can return this value.

darcs-hash:20

pagetitle as template pagename

Uses the first heading as the page name in the default template
if $conf['useheading'] is set. Updates tpl_pagetitle() so that it
can return this value.

darcs-hash:20060410234311-05dcb-b4636f7c0d8f98658a6097ea9ee4dff1ee2de8b4.gz

show more ...

bfd6841910-Apr-2006 Andreas Gohr <andi@splitbrain.org>

reverted method to determine the header level

darcs-hash:20060410194333-7ad00-abb8bc33f647ccd8587edbcc151bc60895dd3ae0.gz

e1c10e4d09-Apr-2006 chris <chris@jalakai.co.uk>

Parser Update:

- revisions to header class and section handling
header pattern simplified
header class now writes section open and close instructions
section call writer removed
check for an

Parser Update:

- revisions to header class and section handling
header pattern simplified
header class now writes section open and close instructions
section call writer removed
check for and update meta['first_header'] if required (see below)

- meta instruction added
written by _finalize to front of instruction stack
holds first header information

plugins can now write first header information, or other page meta information
to this data structure.

- get_first_heading updated to make use of meta['first_header']

- plugin instruction structure changed to include lexer state in the data portion
of the instruction.
OLD INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$pos), $pos)
NEW INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$state), $pos)

- block handler/call writer update to better handle plugin PTypes 'block' & 'stack'.
Lexer states are mapped as follows:
DOKU_LEXER_ENTER, DOKU_LEXER_SPECIAL : block_open, stack_open
DOKU_LEXER_EXIT, DOKU_LEXER_SPECIAL : block_close, stack_close
DOKU_LEXER_MATCHED, DOKU_LEXER_UNMATCHED : plugin must handle <p>

Plugin writers can now use these PTypes as intended !

darcs-hash:20060409214958-9b6ab-cd2cef97a6a2521e3a02175075b8ff4648035f69.gz

show more ...

2e2fda0810-Apr-2006 Yann <yann.hamon@gmail.com>

small fix for getRevisionInfo

darcs-hash:20060410190409-919ab-f77447b1cb1b8de6e2a5790519d4aafc7baa577b.gz

26d75eef09-Apr-2006 Andreas Gohr <andi@splitbrain.org>

feedcreator changes for ATOM1.0

This patch updates the feedcreator.class.php with a few non official changes
found at [1] - the download link didn't work at this page so [2] was used.
Some additiona

feedcreator changes for ATOM1.0

This patch updates the feedcreator.class.php with a few non official changes
found at [1] - the download link didn't work at this page so [2] was used.
Some additional minor modifications were done.

feed.php now accepts the type

darcs-hash:20060409132507-7ad00-8e5986631146eca9606aa1fb48278cb045a5db0a.gz

show more ...

c19c917309-Apr-2006 Ben Coburn <btcoburn@silicodon.net>

cleanup export mode errors

- Using the export modes 'handler', 'lexer', 'parser', or 'renderer'
now produces a nicer non-fatal error.
- The export mode 'wiki' is now ignored to avoid fatal errors.

cleanup export mode errors

- Using the export modes 'handler', 'lexer', 'parser', or 'renderer'
now produces a nicer non-fatal error.
- The export mode 'wiki' is now ignored to avoid fatal errors.

darcs-hash:20060409045546-05dcb-89f4c56c23d9798f4cb2dd000804cb8c03524b6d.gz

show more ...

cd7fd4a209-Apr-2006 Andreas Gohr <andi@splitbrain.org>

spanish language update

darcs-hash:20060409115740-7ad00-dd6cb62ccd4e0947ccb7566b0c0010eb807585e3.gz

f5c2808f05-Apr-2006 Ben Coburn <btcoburn@silicodon.net>

rewrite export URLs

This patch rewrites export urls so that robots.txt can be used
to request that some (or all) export types are ignored by
robots when indexing the wiki.

For example:
User-agent:

rewrite export URLs

This patch rewrites export urls so that robots.txt can be used
to request that some (or all) export types are ignored by
robots when indexing the wiki.

For example:
User-agent: *
Disallow: _export/

or for example:
User-agent: *
Disallow: _export/raw/

Note: This rewriting is only done when $conf['userewrite'] is
set to '1' for using the rewrite rules from '.htaccess.dist'.

darcs-hash:20060405025621-05dcb-b1b5f48681f78d75d25b1e75fab79346fcc8b84e.gz

show more ...

d519720603-Apr-2006 chris <chris@jalakai.co.uk>

move hsc() & ptln() functions from template.php to common.php

darcs-hash:20060403202815-9b6ab-1b499148333458ee8acb68b5e38ca72d3b1c9b3c.gz

ab77016b03-Apr-2006 Andreas Gohr <andi@splitbrain.org>

more efficient mb_string checking in utf8.php

darcs-hash:20060403194930-7ad00-499940017f74cfe297f2aa4e65d441243f8572a1.gz

10f09f2a03-Apr-2006 Andreas Gohr <andi@splitbrain.org>

better utf8_substr function

darcs-hash:20060403192537-7ad00-72b129ce494066bce491821a0396db7576873ec2.gz

42c7abd631-Mar-2006 Andreas Gohr <andi@splitbrain.org>

moved toolbar out of form scope #757

This ensures that the save button stays the default button of the
form again.

darcs-hash:20060331085543-7ad00-8db519b51a7bc65479ebc6b303f3cf016f8088be.gz

1...<<221222223224225226227228229230>>...258