Displays the complete list of parser modes together with their getSort() values. See also http://www.dokuwiki.org/devel:syntax plugins.
listblock | 10 |
preformatted | 20 |
notoc | 30 |
nocache | 40 |
header | 50 |
table | 60 |
strong | 70 |
emphasis | 80 |
underline | 90 |
monospace | 100 |
subscript | 110 |
superscript | 120 |
deleted | 130 |
linebreak | 140 |
footnote | 150 |
plugin_info | 155 |
hr | 160 |
unformatted | 170 |
php | 180 |
html | 190 |
code | 200 |
file | 210 |
quote | 220 |
plugin_discussion_comments | 230 |
smiley | |
acronym | 240 |
entity | 260 |
multiplyentity | 270 |
quotes | 280 |
internallink | 300 |
plugin_discussion_threads | 306 |
rss | 310 |
media | 320 |
externallink | 330 |
emaillink | 340 |
windowssharelink | 350 |
eol | 370 |
Displays which http://www.dokuwiki.org/devel:syntax_plugins#syntax types are used by available plugins. The syntax type determine which syntax may be nested.
container | listblock, table, quote, hr |
baseonly | header |
formatting | strong, emphasis, underline, monospace, subscript, superscript, deleted, footnote |
substition | acronym, smiley, wordblock, entity, camelcaselink, internallink, media, externallink, linebreak, emaillink, windowssharelink, filelink, notoc, nocache, multiplyentity, quotes, rss, plugin_discussion_comments, plugin_discussion_threads, plugin_info |
protected | preformatted, code, file, php, html, htmlblock, phpblock |
disabled | unformatted |
paragraphs | eol |
Displays a list of available syntax plugins.
'Substition' may look like a typo, but it's not (any more). It's transformed into the “standard”. See this footnote for an explanation.
Provides discussion funtionality for wiki pages
$discussion = plugin_load('helper', 'discussion');
Description | returns the header of the comments column for pagelist | |
---|---|---|
Return value | header | string |
Description | returns the link to the discussion section with number of comments | |
---|---|---|
Parameters | id | string |
number of comments (optional) | integer | |
Return value | link | string |
Description | returns pages with discussion sections, sorted by recent comments | |
---|---|---|
Parameters | namespace | string |
number (optional) | integer | |
Return value | pages | array |
Description | returns recently added or edited comments individually | |
---|---|---|
Parameters | namespace | string |
number (optional) | integer | |
Return value | pages | array |
Send anonymous data about your wiki to the DokuWiki developers
$popularity = plugin_load('helper', 'popularity');
Description | Check if autosubmit is enabled | |
---|---|---|
Return value | result | bool |
Description | Send the popularity data | |
---|---|---|
Parameters | data | string |
Description | Gather the popularity data | |
---|---|---|
Return value | data | string |
Description | Compute the last time popularity data was sent | |
---|---|---|
Return value | data | int |