DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:diagram

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revision
plugin:diagram [2015-09-14 19:04]
Aleksandr
plugin:diagram [2021-01-28 00:12]
ach added fixes for Hogfather
Line 6: Line 6:
 email      : support@melnichenko.name email      : support@melnichenko.name
 type       : Syntax type       : Syntax
-lastupdate : 2012-12-23 +lastupdate : 2013-01-28 
-compatible : 2009-12-25, 2010-11-07, 2011-05-25, angua, Adora Belle, 2014-09-29 "Hrun"+compatible : 2009-12-25, 2010-11-07, 2011-05-25, 2012-01-25 Angua2012-10-13 Adora Belle, 2014-09-29 Hrun, !2018-04-22 Greebo, !Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
Line 30: Line 30:
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-  * [[http://nikita.melnichenko.name/download.php?q=dokuwiki-diagram-latest.tgz]]+===== Fixes to make the plugin work with Hogfather =====
  
 +Changes to syntax/main.php:
 +
 +<code diff>
 +153c153
 +< function handle ($match, $state, $pos, &$handler)
 +---
 +> function handle ($match, $state, $pos, Doku_Handler $handler)
 +182c182
 +< function render ($mode, &$renderer, $data)
 +---
 +> function render ($mode, Doku_Renderer $renderer, $data)
 +</code>
 +
 +Changes to syntax/splitter.php:
 +
 +<code diff>
 +160c160
 +< function handle ($match, $state, $pos, &$handler)
 +---
 +> function handle ($match, $state, $pos, Doku_Handler $handler)
 +189a190,194
 +> }
 +
 +> function render ($mode, Doku_Renderer $renderer, $data)
 +> {
 +> return true;
 +</code>
 +
 + --- [[user>ach|ach]] //2021-01-28 00:07//
plugin/diagram.txt · Last modified: 2021-02-22 09:35 by nmel