DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:info

Info Plugin

Compatible with DokuWiki

(bundled)

plugin Displays some information about DokuWiki's internals. (bundled with DokuWiki)

Last updated on
2014-03-05
Provides
Syntax

Tagged with !bundled, listing, plugins

Description

The plugin serves as simple sample syntax plugin and is included in the DokuWiki distribution. It is able to display some information about DokuWiki's internals, for example a list of installed and enabled plugins.

Syntax

~~INFO:keyword~~
  • keyword can be one of:
    • syntaxmodes — Displays the complete list of parser modes together with their getSort() values. See also syntax plugins.
    • syntaxtypes — Displays which syntax types are used by available plugins. The syntax type determine which syntax may be nested.
    • syntaxplugins — Displays a list of available syntax plugins.
    • adminplugins — Displays a list of available admin plugins.
    • actionplugins — Displays a list of available action plugins.
    • rendererplugins — Displays a list of available render plugins.
    • helperplugins — Displays a list of available helper plugins.
    • helpermethods — Displays documentation of helper plugin class methods along with parameters and return values. One example of a helper plugin supporting this is pagelist.

Examples

~~INFO:syntaxmodes~~

listblock10
preformatted20
notoc30
nocache40
header50
table60
strong70
emphasis80
underline90
monospace100
subscript110
superscript120
deleted130
linebreak140
footnote150
plugin_xref
plugin_unblink
plugin_pluginrepo_entry155
plugin_info
plugin_pluginrepo_query
plugin_data_taglist
plugin_pluginrepo_table
plugin_pluginrepo_news
plugin_data_list
plugin_data_table
plugin_translation_trans
plugin_data_related
plugin_translation_notrans
plugin_data_cloud
plugin_data_entry
hr160
unformatted170
php180
html190
plugin_dokuteaser_closesection195
plugin_dokuteaser_dokuteaser
code200
file210
quote220
smiley230
acronym240
entity260
multiplyentity270
quotes280
internallink300
plugin_gallery301
rss310
media320
externallink330
emaillink340
windowssharelink350
eol370

~~INFO:syntaxtypes~~

containerlistblock, table, quote, hr
baseonlyheader
formattingstrong, emphasis, underline, monospace, subscript, superscript, deleted, footnote, plugin_dokuteaser_dokuteaser
substitionacronym, smiley, wordblock, entity, camelcaselink, internallink, media, externallink, linebreak, emaillink, windowssharelink, filelink, notoc, nocache, multiplyentity, quotes, rss, plugin_info, plugin_gallery, plugin_unblink, plugin_xref, plugin_dokuteaser_closesection, plugin_pluginrepo_table, plugin_pluginrepo_query, plugin_pluginrepo_entry, plugin_pluginrepo_news, plugin_translation_trans, plugin_translation_notrans, plugin_data_cloud, plugin_data_table, plugin_data_entry, plugin_data_taglist, plugin_data_list, plugin_data_related
protectedpreformatted, code, file, php, html, htmlblock, phpblock
disabledunformatted
paragraphseol

'Substition' may look like a typo, but it's not (any more). It's transformed into the “standard”. See this footnote for an explanation. ;-)

~~INFO:syntaxplugins~~

~~INFO:adminplugins~~

~~INFO:actionplugins~~

~~INFO:rendererplugins~~

~~INFO:helperplugins~~

~~INFO:helpermethods~~

Popularity Feedback Plugin

Send anonymous data about your wiki to the DokuWiki developers

$popularity = plugin_load('helper', 'popularity');

$popularity->isAutoSubmitEnabled()

DescriptionCheck if autosubmit is enabled
Return valueresultbool

$popularity->sendData()

DescriptionSend the popularity data
Parametersdatastring

$popularity->gatherAsString()

DescriptionGather the popularity data
Return valuedatastring

$popularity->lastSentTime()

DescriptionCompute the last time popularity data was sent
Return valuedataint

~~INFO:version~~

Removed in Weatherwax. see 62147bf8 and 2701

plugin/info.txt · Last modified: 2016-02-06 13:09 by Aleksandr