Info Plugin

info plugin by Andreas Gohr
Displays some information about DokuWiki's internals. (bundled with DokuWiki)

Provides Syntax.
Compatible with DokuWiki (bundled).

Similar to credits.

Tagged with !bundled, listing, plugins.

    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.

    Download and Installation

    The Plugin is bundled with DokuWiki (at least since 2007-06-26) and does not need to be installed separately.

    Syntax

    ~~INFO:keyword~~
    • keyword can be one of:
      • version — Displays current DokuWiki version.
      • 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:version

    snapshot? unknown

    INFO:syntaxmodes

    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_xref (150), plugin_data_cloud (155), plugin_info (155), plugin_translation (155), plugin_data_entry (155), plugin_data_table (155), plugin_data_related (155), plugin_pluginrepo (155), hr (160), unformatted (170), php (180), html (190), code (200), file (210), quote (220), smiley (230), acronym (240), entity (260), multiplyentity (270), quotes (280), internallink (300), plugin_gallery (301), rss (310), media (320), externallink (330), emaillink (340), windowssharelink (350), eol (370), plugin_s5 (800),

    INFO:syntaxtypes

    containerlistblock, table, quote, hr
    baseonlyheader
    formattingstrong, emphasis, underline, monospace, subscript, superscript, deleted, footnote
    substitionacronym, smiley, wordblock, entity, camelcaselink, internallink, media, externallink, linebreak, emaillink, windowssharelink, filelink, notoc, nocache, multiplyentity, quotes, rss, plugin_data_entry, plugin_data_related, plugin_data_cloud, plugin_data_table, plugin_s5, plugin_xref, plugin_gallery, plugin_pluginrepo, plugin_translation, plugin_info
    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

    Development

    Source Code

    The source code is available from Darcs.

    Bugs

    Submit bugs and feature wishes in the DokuWiki Bugtracker.

    Discussion

    Hi, I am not happy with ~~INFO:version~~ reporting snapshot? as current version. Is there a simple way to display the snapshot date as version? Miquel 2008/07/01 12:48
    I've made a quick hack to solve this issue and have duplicated the code at inc/infoutils.php displaying the content of file VERSION. The new portion of code displays the content of a new file called SNAPSHOT containing the snapshot creation time.
     
    plugin/info.txt · Last modified: 2010/04/09 13:42 by 194.78.206.121
     
    Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
    Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
    WikiForumIRCBugsGitXRefTranslate