Is there some documentation of how to write a plugin?
Is thete some documentation of how to add new text formating rules?
Is there some kind of template plugin where I can complete it to make the desired result?
If I want to create this new plugin, do I need to make some modifications in the phpwiki core source or just a new plugin?
All in all: Is there is a "Writin phpwiki plugin for Dummies" somewhere ? :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You basically have to implement getName (returns the name of your plugin), getDescription (returns a description), getVersion (returns the version), getDefaultArguments (sets the default values for each argument your plugin accepts), and run (the actual plugin logic that generates HTML).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to try to write a new plugin for phpWiki. The goal is to translate something like:
$$ A taisha variation
$$ ------------------
$$ | . . . . . . . . .
$$ | . . . . . . . . .
$$ | . . 7 3 X d . . .
$$ | . . O 1 O 6 . . .
$$ | . . 4 2 5 c . . .
$$ | . . 8 X a . . . .
$$ | . . . b . . . . .
$$ | . . . . . . . . .
$$ | . . . . . . . . .
into a graphical board game. (see http://senseis.xmp.net/?HowDiagramsWork for a complete description of what is needed to do).
My questions are:
Is there some documentation of how to write a plugin?
Is thete some documentation of how to add new text formating rules?
Is there some kind of template plugin where I can complete it to make the desired result?
If I want to create this new plugin, do I need to make some modifications in the phpwiki core source or just a new plugin?
All in all: Is there is a "Writin phpwiki plugin for Dummies" somewhere ? :)
I did something similar to this; check out this page: http://mpickering.homeip.net/phpwiki/index.php/ChessPlugin
You basically have to implement getName (returns the name of your plugin), getDescription (returns a description), getVersion (returns the version), getDefaultArguments (sets the default values for each argument your plugin accepts), and run (the actual plugin logic that generates HTML).