History log of /dokuwiki/inc/parserutils.php (Results 101 – 125 of 180)
Revision Date Author Comments
# 67f9913d 15-Jan-2010 Andreas Gohr <andi@splitbrain.org>

removed deprecated PHP4 construct

Assigning the return value of new by reference is deprecated, PHP5's new
automatically assigns by reference


# 7b27382c 06-Nov-2009 Gina Haeussge <osd@foosel.net>

fix for failing plugin check for renderer components (credits go to Michael Klier)

Ignore-this: 7b2324a14a9069dfc29df54f3eec2d8b

darcs-hash:20091106193558-2b4f5-b825e6b0682adb9b5672adb29b0edd26bcc9

fix for failing plugin check for renderer components (credits go to Michael Klier)

Ignore-this: 7b2324a14a9069dfc29df54f3eec2d8b

darcs-hash:20091106193558-2b4f5-b825e6b0682adb9b5672adb29b0edd26bcc9dbf0.gz

show more ...


# db959ae3 20-Oct-2009 Andreas Gohr <andi@splitbrain.org>

Coding Standard Cleanup

Ignore-this: 259cb5773c3144c6c706d87298dcf674

darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz


# 47583ff0 16-Oct-2009 furun <furun@arcor.de>

Whitespace cleanup FS#1709

Ignore-this: 27ea52110bce929b2c61ed8faba67cfc

darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz


# 7aea91af 04-Oct-2009 Chris Smith <chris.eureka@jalakai.co.uk>

#FS1767, ensure disabled renderer plugins aren't used for renderering

Ignore-this: a88b14f64c6f6fb827c816214d06c727

darcs-hash:20091004195623-f07c6-d52ce63f5c1f4ad4cf48f78404b3d82f120ccc45.gz


# 831be45d 02-Aug-2009 Andreas Gohr <andi@splitbrain.org>

do not rerender metadata for pages without abstract forever FS#1701

Ignore-this: 8ee7f4c5e4ef4f3e66f959dc9bb0c235

darcs-hash:20090802132535-7ad00-05f5712d442f126b2113df44f8252c1ec07c3852.gz


# 69ddc332 15-Jul-2009 Anika Henke <anika@selfthinker.org>

fixed too strict trim on non-parsed blocks

darcs-hash:20090715233729-f7d6d-44fc39da1eb65d138e7987f90c613b10978652f8.gz


# f8121585 22-Jan-2009 Chris Smith <chris.eureka@jalakai.co.uk>

further updates to config_cascade patch

- add mediameta and license config files into the cascade
- update the cache validity code in cache.php, css.php & js.php to use config_cascade
- redo inclusi

further updates to config_cascade patch

- add mediameta and license config files into the cascade
- update the cache validity code in cache.php, css.php & js.php to use config_cascade
- redo inclusion of main config files to avoid suppression of errors in config files
- add getConfigFiles($type) function
- minor updates elsewhere to use config_cascade rather than hardcoded config file names

darcs-hash:20090122114457-f07c6-98ad5627fd5df93edf8dd03289b9cf6d81962afe.gz

show more ...


# fa8adffe 13-Dec-2008 Andreas Gohr <andi@splitbrain.org>

removed some illogical path setups

darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz


# fe9ec250 19-Nov-2008 Chris Smith <chris.eureka@jalakai.co.uk>

FS#630: allow $conf['useheading'] to individually apply to content links and/or navigation links

$conf['useheading'] values are now:
- 0 : off, use page name in link text
- 'content' :

FS#630: allow $conf['useheading'] to individually apply to content links and/or navigation links

$conf['useheading'] values are now:
- 0 : off, use page name in link text
- 'content' : use first heading text for links in wiki page content
- 'navigation' : use first heading text for links in non-page content, e.g. breadcrumps, backlinks, search results, etc.
- 1 : use first heading text in all links
(for backwards compatibility, any other values are mapped to 0 or 1 by empty() function.)

$conf['useheading'] value should now be checked using the useHeading($linktype) function,
where linktype can be "content" or "navigation"

darcs-hash:20081119140758-f07c6-6e26456d50dcecc949fada31b0d4e72877fde1cc.gz

show more ...


# 3a50618c 04-Aug-2008 gweissbach <gweissbach@inetsoftware.de>

Explicite TypeCast for searchIndex

Running the /bin/indexer.php or the searchindex plugin fails in php5
with several type cast errors. This can be fixed using explicite type casts.

Secondly the inc

Explicite TypeCast for searchIndex

Running the /bin/indexer.php or the searchindex plugin fails in php5
with several type cast errors. This can be fixed using explicite type casts.

Secondly the include plugin requires the auth.php to be present. As some other
plugins might use quick-acl or the $auth too, indexer.php should require the auth.php
just as the lib/exe/indexer.php does.

darcs-hash:20080804112444-f4337-e12f25329236689b05e31f0db2119e47660a9404.gz

show more ...


# 94806c6f 13-Aug-2008 Chris Smith <chris.eureka@jalakai.co.uk>

add third parameter to plugin_load(), $new, to allow return of a new plugin object instance

darcs-hash:20080813125929-f07c6-4f20e147334ebc5be006ec9f260331950ac2e4cb.gz


# d5cc6bf2 02-May-2008 Andreas Gohr <andi@splitbrain.org>

fixed typo :-/

darcs-hash:20080502132023-7ad00-5c2e017926ac7966c940f214e3c31fbf7c54dcea.gz


# 35fbe9ef 02-May-2008 Andreas Gohr <andi@splitbrain.org>

correctly expire the cache for geshi highlighted strings

darcs-hash:20080502130234-7ad00-ddd191945f838db2cbdd6f6a0fda2a6e034a2205.gz


# bde4e341 17-Apr-2008 GalaxyMaster <gm.outside+dokuwiki@gmail.com>

call io_readWikiPage() instead of io_readfile() on page load

A patch to call IO_READ_WIKIPAGE properly.

Without this patch any plugin which wants to intercept IO_READ_WIKIPAGE
will catch almost not

call io_readWikiPage() instead of io_readfile() on page load

A patch to call IO_READ_WIKIPAGE properly.

Without this patch any plugin which wants to intercept IO_READ_WIKIPAGE
will catch almost nothing.

darcs-hash:20080417205233-ae67a-6a82f5c7e84e3b669bab5ecf062abbaad4406d4d.gz

show more ...


# 5d568b99 29-Mar-2008 Chris Smith <chris.eureka@jalakai.co.uk>

Fix for FS#1350

Inline modes, <php> and <html>, when their associated config setting is off, will
generate highlighted text wrapped in a <code> element.

There is a slight change in behaviour for p_

Fix for FS#1350

Inline modes, <php> and <html>, when their associated config setting is off, will
generate highlighted text wrapped in a <code> element.

There is a slight change in behaviour for p_xhtml_cached_geshi(), it will now strip
leading and trailing blank lines from the input code string.

Also fixes an issue where global $conf wasn't declared, preventing the
['target']['extern'] setting being passed to GeSHi

darcs-hash:20080329194443-f07c6-00db3d502b07a6ff0c7f6e5c74a3691438504bcb.gz

show more ...


# 3d1f9ec3 26-Mar-2008 Michael Klier <chi@chimeric.de>

purge non-persistent meta data on page deletion

With this patch applied the persistent meta data of pages is kept when a
page is deleted. This way the original page creator as well as the cr

purge non-persistent meta data on page deletion

With this patch applied the persistent meta data of pages is kept when a
page is deleted. This way the original page creator as well as the creation
time of the page is preserved.

darcs-hash:20080326200231-23886-ddb70151fadf25d0254d56408b71484047198096.gz

show more ...


# d968d3e5 12-Mar-2008 Chris Smith <chris.eureka@jalakai.co.uk>

Add support for plugin renderers to replace standard renderers

This patch is the fourth in a series aimed at making it easier for DW to allow
plugins to modify the standard handling of line-breaks.

Add support for plugin renderers to replace standard renderers

This patch is the fourth in a series aimed at making it easier for DW to allow
plugins to modify the standard handling of line-breaks.

It adds:
- new config setting 'renderer_xhtml', default value 'xhtml'
- new renderer method 'reset()' which is used by reusable renderers when used
to render second and subsequent data. (*)

An extra step has been added to the renderer selection process.
- check $conf["renderer_$mode] for renderer name. If it doesn't exist use $mode as
the renderer name.

(*) It maybe that the 'document_start()' method can be used for this. However the
current xhtml does not correctly reset itself for reuse.

darcs-hash:20080312005647-f07c6-ff2cb960c05927f5c6f3e916a364fcad470c2ce3.gz

show more ...


# cbaf4259 23-Feb-2008 Chris Smith <chris@jalakai.co.uk>

Fix for FS#1334, see also FS#1090

FS#1090 ensured DW would never rebuild instructions in the same run by forcing subsequent
instruction requests to use the version cached on the first request. That

Fix for FS#1334, see also FS#1090

FS#1090 ensured DW would never rebuild instructions in the same run by forcing subsequent
instruction requests to use the version cached on the first request. That introduced problems
when the caching of the instructions failed (FS#1334). This patch allows subsequent rebuilds
when cache storage failed.

darcs-hash:20080223025539-d26fc-26202a049a6969816553d950a2bb8f71a02ae76e.gz

show more ...


# 48924015 08-Feb-2008 Andreas Gohr <andi@splitbrain.org>

make sure $ID is set correct when rendering metadata

darcs-hash:20080208212733-7ad00-b111663f6397e220beac70b9f54bdffd0d8c2760.gz


# 85767031 16-Oct-2007 Andreas Gohr <andi@splitbrain.org>

header support for renderer plugins

Renderer plugins now can store HTTP header information in 'format <mode>' which
will be used to send their output. Also fixes a problem with loading cache files.

header support for renderer plugins

Renderer plugins now can store HTTP header information in 'format <mode>' which
will be used to send their output. Also fixes a problem with loading cache files.

darcs-hash:20071016185626-7ad00-c0e18a90b310daf0d3a3c01d7a73f3524ced803d.gz

show more ...


# 66d29756 30-Sep-2007 Chris Smith <chris@jalakai.co.uk>

fixes for p_get_metadata() & p_set_metadata (incl. resolution of FS#1254)

- add page existence check to prevent attempts to render metadata for non-existent pages (FS#1254)
- add key & subkey existe

fixes for p_get_metadata() & p_set_metadata (incl. resolution of FS#1254)

- add page existence check to prevent attempts to render metadata for non-existent pages (FS#1254)
- add key & subkey existence checks to avoid PHP warnings

darcs-hash:20070930022739-d26fc-e3688478e7c4d7be9080220c7f470d41c34d2cd7.gz

show more ...


# 00976812 30-Sep-2007 Andreas Gohr <andi@splitbrain.org>

don't use realpath() anymore (FS#1261 and others)

The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure

don't use realpath() anymore (FS#1261 and others)

The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure setups.

This patch replaces all realpath() calls with a PHP only replacement
which should solve those problems.

darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz

show more ...


# e92e7452 19-Sep-2007 Tom N Harris <tnharris@whoopdedo.org>

Don't create bogus blank entries in metadata

darcs-hash:20070919194756-6942e-0986b3711e370a91d8b42665a94c6866ba56811c.gz


# 0770c0e5 21-Aug-2007 Chris Smith <chris@jalakai.co.uk>

alter p_get_first_heading() default $render value to true

Calls to p_get_first_heading() are most likely to expect to get the first heading even if it needs to be
generated, that is a $render value

alter p_get_first_heading() default $render value to true

Calls to p_get_first_heading() are most likely to expect to get the first heading even if it needs to be
generated, that is a $render value of true. Only the metadata renderer itself needs a value of false in
order to prevent mutual dependency probelms.

This fix should finally complete FS#1010 & problems breadcrumbs have with use_first_headings when metadata
doesn't exist. Also see, http://www.freelists.org/archives/dokuwiki/08-2007/msg00018.html &
http://www.freelists.org/archives/dokuwiki/08-2007/msg00132.html

darcs-hash:20070821021008-d26fc-e08a23b4eb40f075de043687b57eb1223b0201b9.gz

show more ...


12345678