MetallicaMust

Metallica et collection.

Outils pour utilisateurs

Outils du site


wiki:info_plugin

Information sur les extensions

Il reste à traduire les paragraphes d'explication en français.

Les données de cette page sont fournies automatiquement par l'extension “Info plugin”. Ces informations sont, de fait, en anglais.

Syntaxe Mode

Displays the complete list of parser modes together with their getSort() values. See also syntax plugins.

listblock10
preformatted20
notoc30
nocache40
plugin_dw2pdf_pagesetting
plugin_dw2pdf_exportlink41
plugin_include_wrap50
plugin_include_readmore
plugin_include_locallink
plugin_include_header
plugin_include_editbtn
plugin_include_closelastsecedit
header
table60
strong70
emphasis80
underline90
plugin_meta99
monospace100
plugin_bbcode_code105
plugin_bbcode_color
plugin_bbcode_deleted
plugin_bbcode_email
plugin_bbcode_image
plugin_bbcode_versalitas
plugin_bbcode_bold
plugin_bbcode_link
plugin_bbcode_monospace
plugin_bbcode_olist
plugin_bbcode_quote
plugin_bbcode_size
plugin_bbcode_ulist
plugin_bbcode_underline
plugin_bbcode_italic
subscript110
plugin_htmlmetatags_syntax
superscript120
plugin_yearbox125
deleted130
plugin_include_sorttag139
linebreak140
plugin_refnotes_references145
plugin_refnotes_notes150
footnote
plugin_info155
plugin_translation_trans
plugin_translation_notrans
hr160
plugin_pagelist168
unformatted170
php180
plugin_bookcreator_bookmanager190
plugin_bookcreator_exportsaved
html
plugin_box195
plugin_wrap_closesection
plugin_wrap_div
plugin_wrap_spanwrap
plugin_wrap_spaninline
plugin_wrap_span
plugin_wrap_divwrap
plugin_wrap_divblock
plugin_snippets
code200
file210
quote220
smiley230
acronym240
entity260
multiplyentity270
quotes280
plugin_acmenu295
plugin_tag_searchtags
plugin_tag_topic
internallink300
plugin_include_footer
plugin_gallery301
plugin_include_include303
plugin_randominc
plugin_tag_tag305
plugin_tag_count
plugin_tag_tagpage
plugin_editor309
rss310
media320
externallink330
emaillink340
windowssharelink350
eol370
plugin_talkpage444

Syntaxe Type

Displays which syntax types are used by available plugins. The syntax type determine which syntax may be nested.

containerlistblock, table, quote, hr, plugin_bbcode_olist, plugin_bbcode_quote, plugin_bbcode_ulist, plugin_bookcreator_bookmanager
baseonlyheader
formattingstrong, emphasis, underline, monospace, subscript, superscript, deleted, footnote, plugin_bbcode_bold, plugin_bbcode_color, plugin_bbcode_deleted, plugin_bbcode_italic, plugin_bbcode_monospace, plugin_bbcode_size, plugin_bbcode_underline, plugin_bbcode_versalitas, plugin_include_closelastsecedit, plugin_include_editbtn, plugin_include_footer, plugin_include_header, plugin_include_locallink, plugin_include_readmore, plugin_include_wrap, plugin_refnotes_references, plugin_wrap_div, plugin_wrap_divblock, plugin_wrap_divwrap, plugin_wrap_span, plugin_wrap_spaninline, plugin_wrap_spanwrap
substitionacronym, smiley, wordblock, entity, camelcaselink, internallink, media, externallink, linebreak, emaillink, windowssharelink, filelink, notoc, nocache, multiplyentity, quotes, rss, plugin_acmenu, plugin_bbcode_email, plugin_bbcode_image, plugin_bbcode_link, plugin_bookcreator_exportsaved, plugin_dw2pdf_exportlink, plugin_dw2pdf_pagesetting, plugin_editor, plugin_gallery, plugin_htmlmetatags_syntax, plugin_include_include, plugin_include_sorttag, plugin_info, plugin_meta, plugin_pagelist, plugin_randominc, plugin_refnotes_notes, plugin_tag_count, plugin_tag_searchtags, plugin_tag_tag, plugin_tag_tagpage, plugin_tag_topic, plugin_talkpage, plugin_translation_notrans, plugin_translation_trans, plugin_wrap_closesection, plugin_yearbox
protectedpreformatted, code, file, php, html, htmlblock, phpblock, plugin_bbcode_code, plugin_box, plugin_snippets
disabledunformatted
paragraphseol

Syntaxe Plugin

Displays a list of available syntax plugins.

Admin Plugin

Displays a list of available admin plugins.

Action Plugin

Displays a list of available action plugins.

Renderer Plugins

Displays a list of available render plugins.

Helper Plugins

Displays a list of available helper plugins.

Helper Methods

Displays documentation of helper plugin class methods along with parameters and return values. One example of a helper plugin supporting this is pagelist.

Editor Plugin

Displays a list of recently changed wiki pages by a given author

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

$editor->getEditor()

Descriptionreturns pages recently edited by a given user
Parametersnamespace (optional)string
number (optional)integer
user (required)string
Return valuepagesarray

include plugin

Functions to include another page in a wiki page

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

$include->get_flags()

Descriptionoverrides standard values for showfooter and firstseconly settings
Parametersflagsarray

Pagelist Plugin

Lists pages in a nice formatted way

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

$pagelist->addColumn()

Descriptionadds an extra column for plugin data
Parametersplugin namestring
column keystring

$pagelist->setFlags()

Descriptionoverrides standard values for showfooter and firstseconly settings
Parametersflagsarray
Return valuesuccessboolean

$pagelist->startList()

Descriptionprepares the table header for the page list

$pagelist->addPage()

Descriptionadds a page to the list
Parameterspage attributes, 'id' required, others optionalarray

$pagelist->finishList()

Descriptionreturns the XHTML output
Return valuexhtmlstring

Snippets Plugin

Provides toolbar button+popup for template insertion; can track and insert sinppet updates

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

$snippets->mostRecentVersion()

Descriptionchecks metadata for most recent version of $id
Parametersidstring
Return valuetimestampinteger

$snippets->snippetWasUpdated()

Descriptioncheck if snippet inserted in a page was updated to most recent version
Parametersidstring
snippetstring
Return valuetimstampboolean

$snippets->updateMetaTime()

Descriptionsets and updates timestamp of snippet in metafile of page where snippet is inserted
Parametersidstring
snippetstring
set_timeint

$snippets->insertSnippet()

Descriptioninserts updated snippet into page
Parametersresult (reference)string
page_idstring

Tag Plugin

tag wiki pages

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

$tag->overrideSortFlags()

Descriptiontakes an array of sortflags and overrides predefined value
Parametersnamestring

$tag->th()

Descriptionreturns the header for the tags column for pagelist
Return valueheaderstring

$tag->td()

Descriptionreturns the tag links of a given page
Parametersidstring
Return valuelinksstring

$tag->tagLinks()

Descriptiongenerates tag links for given words
Parameterstagsarray
Return valuelinksstring

$tag->getTopic()

Descriptionreturns a list of pages tagged with the given keyword
Parametersnamespace (optional)string
number (not used)integer
tag (required)string
Return valuepagesarray

$tag->tagRefine()

Descriptionrefines an array of pages with tags
Parameterspages to refinearray
refinement tagsstring
Return valuepagesarray

$tag->tagOccurrences()

Descriptionreturns a list of tags with their number of occurrences
Parameterslist of tags to get the occurrences forarray
namespaces to which the search shall be restrictedarray
if all tags shall be returned (then the first parameter is ignored)boolean
if the namespaces shall be searched recursivelyboolean
Return valuetagsarray
wiki/info_plugin.txt · Dernière modification : 14.06.2021 @ 20:29 de MetallicaMust