DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:htag

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:htag [2011-02-11 06:17]
70.67.243.178 [Spurious blank lines]
plugin:htag [2013-10-25 12:16] (current)
213.211.140.219
Line 7: Line 7:
 type       : syntax type       : syntax
 lastupdate : 2007-07-23 lastupdate : 2007-07-23
-compatible : 2007-06-26+compatible : 2013-05-10 2012-10-13 2012-01-25 and 2011-05-25
 depends ​   :  depends ​   : 
 conflicts ​ : numberedheadings conflicts ​ : numberedheadings
Line 130: Line 130:
 Anyone got any ideas what's causing this? Anyone got any ideas what's causing this?
  
-==== Error ====+==== Error - 10 Feb 2011 ====
  
 Causes the error : "​Warning:​ call_user_func_array() [function.call-user-func-array]:​ First argument is expected to be a valid callback, '​Doku_Renderer_metadata::​section_edit'​ was given in /​var/​www/​redmine-wiki/​inc/​parserutils.php on line 419" Causes the error : "​Warning:​ call_user_func_array() [function.call-user-func-array]:​ First argument is expected to be a valid callback, '​Doku_Renderer_metadata::​section_edit'​ was given in /​var/​www/​redmine-wiki/​inc/​parserutils.php on line 419"
 on the first load for each page.  Refreshing the page will have it come up clean. ​ Clearing the cache makes no difference. on the first load for each page.  Refreshing the page will have it come up clean. ​ Clearing the cache makes no difference.
 +
 +----
 +
 +**11 Dec 2011** (kaj.wiik ə iki.fi)
 +
 +Edit the following lines out (section edit is done now elsewhere):
 +
 +<​code>​
 +if( $level <= $conf['​maxseclevel'​] ) {
 +                    $handler->​_addCall('​section_edit',​array($handler->​status['​section_edit_start'​],​ $pos-1,
 +                                $handler->​status['​section_edit_level'​],​ $handler->​status['​section_edit_title'​]),​ $pos);
 +                    $handler->​status['​section_edit_start'​] = $pos;
 +                    $handler->​status['​section_edit_level'​] = $level;
 +                    $handler->​status['​section_edit_title'​] = $title;
 +}
 +</​code>​
 +  ​
plugin/htag.1297401444.txt.gz · Last modified: 2011-02-11 06:17 by 70.67.243.178