CINXE.COM
plugin:button [DokuWiki]
<!DOCTYPE html> <html lang="en" dir="ltr" class="no-js"> <head> <meta charset="utf-8" /> <title>plugin:button [DokuWiki]</title> <meta name="generator" content="DokuWiki"/> <meta name="theme-color" content="#008800"/> <meta name="robots" content="index,follow"/> <meta name="keywords" content="plugin,button"/> <link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="DokuWiki"/> <link rel="start" href="/"/> <link rel="contents" href="/plugin:button?do=index" title="Sitemap"/> <link rel="manifest" href="/lib/exe/manifest.php"/> <link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed.php"/> <link rel="alternate" type="application/rss+xml" title="Current namespace" href="/feed.php?mode=list&ns=plugin"/> <link rel="edit" title="Edit this page" href="/plugin:button?do=edit"/> <link rel="alternate" type="text/html" title="Plain HTML" href="/_export/xhtml/plugin:button"/> <link rel="alternate" type="text/plain" title="Wiki Markup" href="/_export/raw/plugin:button"/> <link rel="canonical" href="https://www.dokuwiki.org/plugin:button"/> <link rel="stylesheet" href="/lib/exe/css.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e"/> <script >var NS='plugin';var JSINFO = {"plugins":{"edittable":{"default columnwidth":""}},"id":"plugin:button","namespace":"plugin","ACT":"show","useHeadingNavigation":0,"useHeadingContent":0};(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js" defer="defer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js" defer="defer"></script> <script src="/lib/exe/js.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e&lang=en" defer="defer"></script> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="shortcut icon" href="/lib/tpl/dokuwiki/images/favicon.ico" /> <link rel="apple-touch-icon" href="/lib/tpl/dokuwiki/images/apple-touch-icon.png" /> <meta name="verify-v1" content="OVxl3gsCv2MhZqh1cBQyl0JytWXSwXMjyvwc+4w3WtA=" /> <meta name="google-site-verification" content="YhTVK69hW94ZXUtc2zSLPxTkZKbZIn0zK67mz5WQB-E" /> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-83791-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-83791-1', { 'anonymize_ip': true }); </script> </head> <body> <div id="dokuwiki__site"><div id="dokuwiki__top" class="site dokuwiki mode_show tpl_dokuwiki showSidebar hasSidebar"> <!-- ********** HEADER ********** --> <header id="dokuwiki__header"><div class="pad group"> <div class="headings group"> <ul class="a11y skip"> <li><a href="#dokuwiki__content">skip to content</a></li> </ul> <h1 class="logo"><a href="/start" accesskey="h" title="Home [h]"><img src="/lib/tpl/dokuwiki/images/logo.png" width="64" height="64" alt="" /><span>DokuWiki</span></a></h1> <p class="claim">It's better when it's simple</p> </div> <div class="tools group"> <!-- USER TOOLS --> <div id="dokuwiki__usertools"> <h3 class="a11y">User Tools</h3> <ul> <li class="action login"><a href="/plugin:button?do=login&sectok=" title="Log In" rel="nofollow"><span>Log In</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 17.25V14H3v-4h7V6.75L15.25 12 10 17.25M8 2h9a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-4h2v4h9V4H8v4H6V4a2 2 0 0 1 2-2z"/></svg></a></li> </ul> </div> <!-- SITE TOOLS --> <div id="dokuwiki__sitetools"> <h3 class="a11y">Site Tools</h3> <form action="/start" method="get" role="search" class="search doku_form" id="dw__search" accept-charset="utf-8"><input type="hidden" name="do" value="search" /><input type="hidden" name="id" value="plugin:button" /><div class="no"><input name="q" type="text" class="edit" title="[F]" accesskey="f" placeholder="Search" autocomplete="on" id="qsearch__in" value="" /><button value="1" type="submit" title="Search">Search</button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> <div class="mobileTools"> <form action="/doku.php" method="get" accept-charset="utf-8"><div class="no"><input type="hidden" name="id" value="plugin:button" /><select name="do" class="edit quickselect" title="Tools"><option value="">Tools</option><optgroup label="Page Tools"><option value="edit">Edit this page</option><option value="revisions">Old revisions</option><option value="backlink">Backlinks</option></optgroup><optgroup label="Site Tools"><option value="recent">Recent Changes</option><option value="media">Media Manager</option><option value="index">Sitemap</option></optgroup><optgroup label="User Tools"><option value="login">Log In</option></optgroup></select><button type="submit">></button></div></form> </div> <ul> <li class="action recent"><a href="/plugin:button?do=recent" title="Recent Changes [r]" rel="nofollow" accesskey="r">Recent Changes</a></li><li class="action media"><a href="/plugin:button?do=media&ns=plugin" title="Media Manager" rel="nofollow">Media Manager</a></li><li class="action index"><a href="/plugin:button?do=index" title="Sitemap [x]" rel="nofollow" accesskey="x">Sitemap</a></li> </ul> </div> </div> <!-- BREADCRUMBS --> <div class="breadcrumbs"> <div class="trace"><span class="bchead">Trace:</span> <span class="bcsep">•</span> <span class="curid"><bdi><a href="/plugin:button" class="breadcrumbs" title="plugin:button">button</a></bdi></span></div> </div> <hr class="a11y" /> </div></header><!-- /header --> <div class="wrapper group"> <!-- ********** ASIDE ********** --> <nav id="dokuwiki__aside" aria-label="Sidebar"><div class="pad aside include group"> <h3 class="toggle">Sidebar</h3> <div class="content"><div class="group"> <p> <strong>Learn about DokuWiki</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/features" class="wikilink1" title="features" data-wiki-id="features">Features</a> & <a href="/blogroll" class="wikilink1" title="blogroll" data-wiki-id="blogroll">reviews</a> </div> </li> <li class="level1"><div class="li"> <a href="/install" class="wikilink1" title="install" data-wiki-id="install">Installation guide</a></div> </li> <li class="level1"><div class="li"> <a href="/manual" class="wikilink1" title="manual" data-wiki-id="manual">User manual</a> & <a href="/wiki:syntax" class="wikilink1" title="wiki:syntax" data-wiki-id="wiki:syntax">syntax</a></div> </li> <li class="level1"><div class="li"> <a href="/changes" class="wikilink1" title="changes" data-wiki-id="changes">Release notes</a></div> </li> <li class="level1"><div class="li"> <a href="/faq" class="wikilink1" title="faq" data-wiki-id="faq">FAQ</a></div> </li> </ul> <p> <strong>Advanced Use</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/extensions" class="wikilink1" title="extensions" data-wiki-id="extensions">Extensions</a></div> </li> <li class="level1"><div class="li"> <a href="/development" class="wikilink1" title="development" data-wiki-id="development">Development manual</a></div> </li> </ul> <p> <strong>Corporate Use</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/faq:support" class="wikilink1" title="faq:support" data-wiki-id="faq:support">Get support</a></div> </li> <li class="level1"><div class="li"> <a href="/donate" class="wikilink1" title="donate" data-wiki-id="donate">Donations</a></div> </li> </ul> <p> <strong>Our Community</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/teams:getting_involved" class="wikilink1" title="teams:getting_involved" data-wiki-id="teams:getting_involved">Get involved</a></div> </li> <li class="level1"><div class="li"> <a href="/dokuinstall" class="wikilink1" title="dokuinstall" data-wiki-id="dokuinstall">Users</a></div> </li> <li class="level1"><div class="li"> <a href="http://forum.dokuwiki.org" class="urlextern" title="http://forum.dokuwiki.org">User forum</a></div> </li> <li class="level1"><div class="li"> <a href="/mailinglist" class="wikilink1" title="mailinglist" data-wiki-id="mailinglist">Development mailinglist</a></div> </li> </ul> <hr /> <p> Follow us on <a href="https://phpc.social/@dokuwiki" class="urlextern" title="https://phpc.social/@dokuwiki">Mastodon</a> and other <a href="/social" class="wikilink1" title="social" data-wiki-id="social">social networks</a>. </p> <p> <a href="/privacy" class="wikilink1" title="privacy" data-wiki-id="privacy">Our Privacy Policy</a> </p> </div></div> </div></nav><!-- /aside --> <!-- ********** CONTENT ********** --> <main id="dokuwiki__content"><div class="pad group"> <div class="pageId"><span>plugin:button</span></div> <div class="page group"> <!-- wikipage start --> <!-- TOC START --> <div id="dw__toc" class="dw__toc"> <h3 class="toggle">Table of Contents</h3> <div> <ul class="toc"> <li class="level1"><div class="li"><a href="#button_plugin">button Plugin</a></div> <ul class="toc"> <li class="level2"><div class="li"><a href="#installation">Installation</a></div></li> <li class="level2"><div class="li"><a href="#examples_usage">Examples/Usage</a></div></li> <li class="level2"><div class="li"><a href="#syntax">Syntax</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#center_button">Center Button</a></div></li> </ul> </li> <li class="level2"><div class="li"><a href="#troubleshooting">Troubleshooting</a></div></li> <li class="level2"><div class="li"><a href="#contributions">Contributions</a></div></li> <li class="level2"><div class="li"><a href="#changelog">Changelog</a></div></li> <li class="level2"><div class="li"><a href="#request">Request</a></div></li> </ul></li> </ul> </div> </div> <!-- TOC END --> <h1 class="sectionedit1" id="button_plugin">button Plugin</h1> <div class="level1"> <div class="pluginrepo_entry"><div class="usageInfo"><div class="compatibility"><p class="label">Compatible with DokuWiki</p><div class="versions"><ul><li class="yes">2024-02-06 "Kaos" <strong><span>yes</span></strong></li><li class="yes">2023-04-04 "Jack Jackrum" <strong><span>yes</span></strong></li><li class="yes">2022-07-31 "Igor" <strong><span>yes</span></strong></li><li class="yes">2020-07-29 "Hogfather" <strong><span>yes</span></strong></li></ul></div></div><ul class="actions"><li><a class="download" href="https://github.com/rpeyron/plugin-button/archive/master.zip">Download</a></li><li><a class="bugs" href="https://github.com/rpeyron/plugin-button/issues">Report bugs</a></li></ul><div class="clearer"></div></div><div class="mainInfo"><p class="description"><a class="media" href="/plugins"><img alt="plugin" class="medialeft" src="/lib/plugins/pluginrepo/images/dwplugin.png" width="60" height="60" /></a> Create buttons for links</p><a href="/lib/exe/fetch.php?tok=fb761d&media=http%3A%2F%2Frpeyron.github.io%2Fplugin-button%2Fdokuwiki_button_button.png" class="media screenshot" title="Screenshot of button" rel="lightbox" data-url="/lib/exe/fetch.php?tok=fb761d&media=http%3A%2F%2Frpeyron.github.io%2Fplugin-button%2Fdokuwiki_button_button.png"><img src="/lib/exe/fetch.php?w=220&tok=b6b730&media=http%3A%2F%2Frpeyron.github.io%2Fplugin-button%2Fdokuwiki_button_button.png" alt="" width="220" /></a></div><div class="metaInfo"><dl><dt>Last updated on</dt><dd>2025-03-29</dd><dt>Provides</dt><dd><a href="/plugins?plugintype=1#extension__table" class="wikilink1" title="List all Syntax plugins">Syntax</a></dd><dt>Repository</dt><dd><a class="urlextern" href="https://github.com/rpeyron/plugin-button">Source</a></dd><dt>Conflicts with</dt><dd><a href="/plugin:siteexport" class="wikilink1" title="plugin:siteexport" data-wiki-id="plugin:siteexport">siteexport</a></dd></dl></div><div class="moreInfo"><p class="similar">Similar to <a href="/plugin:bootswrapper" class="wikilink1" title="plugin:bootswrapper" data-wiki-id="plugin:bootswrapper">bootswrapper</a>, <a href="/plugin:mikioplugin" class="wikilink1" title="plugin:mikioplugin" data-wiki-id="plugin:mikioplugin">mikioplugin</a>, <a href="/plugin:wrap" class="wikilink1" title="plugin:wrap" data-wiki-id="plugin:wrap">wrap</a></p><p class="tags">Tagged with <a href="/plugins?plugintag=button#extension__table" class="wikilink1" title="List all plugins with this tag">button</a>, <a href="/plugins?plugintag=links#extension__table" class="wikilink1" title="List all plugins with this tag">links</a></p></div><div class="authorInfo"><strong>By <a href="mailto:remi%2Bdokuwiki%20%5Bat%5D%20via%20%5Bdot%5D%20ecp%20%5Bdot%5D%20fr" class="mail" title="remi+dokuwiki [at] via [dot] ecp [dot] fr">Rémi Peyronnet</a></strong><ul><li><a href="/plugin:xslt" class="wikilink1" title="plugin:xslt" data-wiki-id="plugin:xslt">xslt</a></li> <li><a href="/plugin:embedover" class="wikilink1" title="plugin:embedover" data-wiki-id="plugin:embedover">embedover</a></li> </ul></div></div> </div> <div class="secedit editbutton_section editbutton_1"><form class="button btn_secedit" method="post" action="/plugin:button"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1743260787" /><input type="hidden" name="summary" value="[button Plugin] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="button_plugin" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1-743" /><button type="submit" title="button Plugin">Edit</button></div></form></div> <h2 class="sectionedit2" id="installation">Installation</h2> <div class="level2"> <p> Search and install the plugin using the <a href="/plugin:extension" class="wikilink1" title="plugin:extension" data-wiki-id="plugin:extension">Extension Manager</a>. Refer to <a href="/plugins" class="wikilink1" title="plugins" data-wiki-id="plugins">Plugins</a> on how to install plugins manually. </p> </div> <div class="secedit editbutton_section editbutton_2"><form class="button btn_secedit" method="post" action="/plugin:button"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1743260787" /><input type="hidden" name="summary" value="[Installation] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="installation" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="744-908" /><button type="submit" title="Installation">Edit</button></div></form></div> <h2 class="sectionedit3" id="examples_usage">Examples/Usage</h2> <div class="level2"> <p> Below is a screenshot of a basic resulting button: </p> <p> <a href="/lib/exe/fetch.php?cache=recache&tok=0d8b87&media=http%3A%2F%2Frpeyron.github.io%2Fplugin-button%2Fdokuwiki_button_main.png" class="media" title="http://rpeyron.github.io/plugin-button/dokuwiki_button_main.png"><img src="/lib/exe/fetch.php?cache=recache&tok=0d8b87&media=http%3A%2F%2Frpeyron.github.io%2Fplugin-button%2Fdokuwiki_button_main.png" class="media" loading="lazy" alt="" /></a> </p> </div> <div class="secedit editbutton_section editbutton_3"><form class="button btn_secedit" method="post" action="/plugin:button"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1743260787" /><input type="hidden" name="summary" value="[Examples/Usage] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="examples_usage" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="909-1066" /><button type="submit" title="Examples/Usage">Edit</button></div></form></div> <h2 class="sectionedit4" id="syntax">Syntax</h2> <div class="level2"> <p> The full syntax is: </p> <pre class="code">[[{namespace:image|extra css}wiki page|**Title** of the link]]</pre> <p> Where: </p> <ul> <li class="level1"><div class="li"> <code>namespace:image</code> is the location of the image to use in the media manager</div> </li> <li class="level1"><div class="li"> <code>extra css</code> is some css code to add to the button, or the name of a style defined with <code>conf.styles</code> (see below)</div> </li> <li class="level1 node"><div class="li"> <code>wiki page</code> is the targetted id page;</div> <ul> <li class="level2"><div class="li"> targets with :// or mailto: are treated as external <abbr title="Uniform Resource Identifier">URI</abbr>;</div> </li> <li class="level2"><div class="li"> you may also use <code>!</code> prefix to force an external <abbr title="Uniform Resource Identifier">URI</abbr> (for instance: !apt:package );</div> </li> <li class="level2"><div class="li"> protocol has to be allowed in dokuwiki, check <a href="/urlschemes" class="wikilink1" title="urlschemes" data-wiki-id="urlschemes">urlschemes</a></div> </li> </ul> </li> <li class="level1"><div class="li"> <code><strong>Title</strong> of the link</code> is the name that will be displayed on the button, with formatting support ('\\' will break the line in the button, '**' for bold, etc.)</div> </li> </ul> <p> All fields are optional, so the minimal syntax is: </p> <pre class="code">[[{}Simple button without image]]</pre> <p> You may configure some styles to use in your buttons without repeating all the css: </p> <pre class="code">[[{conf.styles}style|css]]</pre> <p> Where: </p> <ul> <li class="level1"><div class="li"> <code>conf.styles</code> is the keyword to set the styles</div> </li> <li class="level1 node"><div class="li"> <code>style</code> is the name of the style you want to set;</div> <ul> <li class="level2"><div class="li"> if ‘default’, it will be added to all buttons</div> </li> </ul> </li> <li class="level1"><div class="li"> <code>css</code> is the css code you will assign to that style</div> </li> </ul> <p> You may then use the <code>style</code> in your button, example: </p> <pre class="code">Style declaration: [[{conf.styles}default|font-family: "Times New Roman", Times, serif;]] [[{conf.styles}mystyle|color:green; width:15em;]] Style use: [[{|mystyle}Button in times new roman]] [[{}Button in green and in times new roman]]</pre> <p> You may also add styles that will be available for all pages in the plugin section of the configuration page. You will have to add one line per style: </p> <pre class="code">default|font-family: "Times New Roman", Times, serif; mystyle|color:green; width:15em;</pre> <p> Note that the <abbr title="Cascading Style Sheets">CSS</abbr> part is a bit tricky due to the selectors used in the template <abbr title="Cascading Style Sheets">CSS</abbr> and the layout needed for the button. By default, the style of the links is not repeated (just external links icon). See comments in style.css file for more information. </p> <p> You may also configure the target of the link with the use of conf.target: </p> <pre class="code">[[{conf.target}style|target]]</pre> <p> Example: </p> <pre class="code">[[{conf.target}default|_blank]]</pre> <p> A button is added to the toolbar to add the template button. Compatible with move plugin. <br/> </p> </div> <div class="secedit editbutton_section editbutton_4"><form class="button btn_secedit" method="post" action="/plugin:button"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1743260787" /><input type="hidden" name="summary" value="[Syntax] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="syntax" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1067-3395" /><button type="submit" title="Syntax">Edit</button></div></form></div> <h3 class="sectionedit5" id="center_button">Center Button</h3> <div class="level3"> <pre class="code">[[{buttons:fbreader.png|width: 25em; display: table; margin: 0 auto; }tototp|Centered button]]</pre> <p> <br/> </p> </div> <div class="secedit editbutton_section editbutton_5"><form class="button btn_secedit" method="post" action="/plugin:button"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1743260787" /><input type="hidden" name="summary" value="[Center Button] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="center_button" /><input type="hidden" name="codeblockOffset" value="7" /><input type="hidden" name="range" value="3396-3520" /><button type="submit" title="Center Button">Edit</button></div></form></div> <h2 class="sectionedit6" id="troubleshooting">Troubleshooting</h2> <div class="level2"> <ul> <li class="level1"><div class="li"> If you experience display problems with Internet Explorer, please check the “Compatibility Mode” setting.</div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_6"><form class="button btn_secedit" method="post" action="/plugin:button"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1743260787" /><input type="hidden" name="summary" value="[Troubleshooting] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="troubleshooting" /><input type="hidden" name="codeblockOffset" value="7" /><input type="hidden" name="range" value="3521-3660" /><button type="submit" title="Troubleshooting">Edit</button></div></form></div> <h2 class="sectionedit7" id="contributions">Contributions</h2> <div class="level2"> <p> Feel free to contribute to this plugin source on GitHub: <a href="https://github.com/rpeyron/plugin-button" class="urlextern" title="https://github.com/rpeyron/plugin-button">https://github.com/rpeyron/plugin-button</a> </p> <p> Thank you to: </p> <ul> <li class="level1"><div class="li"> Xavier Decuyper (toolbar button)</div> </li> <li class="level1"><div class="li"> lisps (global config, internal media link support, escaping of userinput)</div> </li> <li class="level1"><div class="li"> ThisNameIsNotAllowed (support for <a href="/plugin:move" class="wikilink1" title="plugin:move" data-wiki-id="plugin:move">move</a> plugin)</div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_7"><form class="button btn_secedit" method="post" action="/plugin:button"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1743260787" /><input type="hidden" name="summary" value="[Contributions] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="contributions" /><input type="hidden" name="codeblockOffset" value="7" /><input type="hidden" name="range" value="3661-3975" /><button type="submit" title="Contributions">Edit</button></div></form></div> <h2 class="sectionedit8" id="changelog">Changelog</h2> <div class="level2"> <ul> <li class="level1"><div class="li"> 19/05/2013 : Initial release</div> </li> <li class="level1"><div class="li"> 20/04/2014 : Added target support (feature request from Andrew St Hilaire)</div> </li> <li class="level1"><div class="li"> 07/06/2014 : Added formatting support in description link text (but not in page link section) (feature request from Willi Lethert)</div> </li> <li class="level1"><div class="li"> 30/08/2014 : Added toolbar button (contribution from <a href="http://www.savjee.be/" class="urlextern" title="http://www.savjee.be/">Xavier Decuyper</a>) and fixed local anchor (bug reported by Andreas Kuzma)</div> </li> <li class="level1"><div class="li"> 06/09/2014 : Refactored to add backlinks support (feature request from Schümmer Hans-Jürgen); you will need to update cache</div> </li> <li class="level1"><div class="li"> 28/04/2015 : Refactored global config handling, add internal media link support, add escaping of userinput (contribution from lisps <a href="https://github.com/lisps/plugin-button" class="urlextern" title="https://github.com/lisps/plugin-button">https://github.com/lisps/plugin-button</a>)</div> </li> <li class="level1"><div class="li"> 05/08/2015 : Merged lisps default style option and added french translation</div> </li> <li class="level1"><div class="li"> 12/09/2015 : Fixed PHP error with some versions</div> </li> <li class="level1"><div class="li"> 07/02/2016 : Applied PHP7 patch</div> </li> <li class="level1"><div class="li"> 19/11/2016 : Merged pull request from ThisNameIsNotAllowed adding support for move plugin</div> </li> <li class="level1"><div class="li"> 05/03/2017 : Merged PR form lisps fixing some move plugin bugs</div> </li> <li class="level1"><div class="li"> 28/07/2018 : Fixed bug with move plugin (Issue #5)</div> </li> <li class="level1"><div class="li"> 10/01/2019 : Documentation update (Issue #6)</div> </li> <li class="level1"><div class="li"> 07/03/2020 : Fixed PHP warning (Issue #9)</div> </li> <li class="level1"><div class="li"> 11/05/2020 : Improved <abbr title="Cascading Style Sheets">CSS</abbr> configurability & regex (Issue #10 and #12)</div> </li> <li class="level1"><div class="li"> 09/07/2020 : Added '!' prefix in <abbr title="Uniform Resource Identifier">URI</abbr> to allow to force non internal <abbr title="Uniform Resource Identifier">URI</abbr> (apt: prefix for instance)</div> </li> <li class="level1"><div class="li"> 04/08/2020 : Hack to fix issue with Hogfather (see Issue #13 for details)</div> </li> <li class="level1"><div class="li"> 07/02/2022 : Added Português do Brasil translation (PR by mac-sousa)</div> </li> <li class="level1"><div class="li"> 26/11/2022 : Fixed some warnings for PHP8.1 and fix filename of br translation</div> </li> <li class="level1"><div class="li"> 13/12/2022 : Fixed PHP7 with str_contains polyfill</div> </li> <li class="level1"><div class="li"> 29/05/2023 : Fixed require deprecated warning (thanks to #28)</div> </li> <li class="level1"><div class="li"> 18/08/2023 : Fixed more deprecation warnings (thanks to nerun with #33)</div> </li> <li class="level1"><div class="li"> 05/01/2025 : Added support for interwiki links (#35)</div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_8"><form class="button btn_secedit" method="post" action="/plugin:button"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1743260787" /><input type="hidden" name="summary" value="[Changelog] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="changelog" /><input type="hidden" name="codeblockOffset" value="7" /><input type="hidden" name="range" value="3976-5859" /><button type="submit" title="Changelog">Edit</button></div></form></div> <h2 class="sectionedit9" id="request">Request</h2> <div class="level2"> <p> If you have any request, please add an issue to <a href="https://github.com/rpeyron/plugin-button/issues" class="urlextern" title="https://github.com/rpeyron/plugin-button/issues">https://github.com/rpeyron/plugin-button/issues</a> </p> <p> Older requests: </p> <ul> <li class="level1"><div class="li"> For the plugin to recognize white space so buttons can all be the same size <br/> → <em>The best way to do that is to add a 'width' in the style section : [[{buttons:fbreader.png|width: 25em}vlc|Bouton vlc]] ; if you want all your buttons with the same size, you may also want to modify default style : [[{conf.styles}default|color:green; width:15em;]]</em> </div> </li> <li class="level1"><div class="li"> Button Color can be changed with a hex code <br/> → <em>This can already be done by specifying the color in the style section : [[{buttons:fbreader.png|width: 25em; color: #20FE55; background-color: #7780F0;}color|Button with specific colors]]</em></div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_9"><form class="button btn_secedit" method="post" action="/plugin:button"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1743260787" /><input type="hidden" name="summary" value="[Request] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="request" /><input type="hidden" name="codeblockOffset" value="7" /><input type="hidden" name="range" value="5860-" /><button type="submit" title="Request">Edit</button></div></form></div> <!-- wikipage stop --> </div> <div class="docInfo"><bdi>plugin/button.txt</bdi> · Last modified: <time datetime="2025-03-29T16:06:27+0100">2025-03-29 16:06</time> by <bdi>rpeyron</bdi></div> <hr class="a11y" /> </div></main><!-- /content --> <!-- PAGE ACTIONS --> <nav id="dokuwiki__pagetools" aria-labelledby="dokuwiki__pagetools__heading"> <h3 class="a11y" id="dokuwiki__pagetools__heading">Page Tools</h3> <div class="tools"> <ul> <li class="edit"><a href="/plugin:button?do=edit" title="Edit this page [e]" rel="nofollow" accesskey="e"><span>Edit this page</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg></a></li><li class="revs"><a href="/plugin:button?do=revisions" title="Old revisions [o]" rel="nofollow" accesskey="o"><span>Old revisions</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 7v5.11l4.71 2.79.79-1.28-4-2.37V7m0-5C8.97 2 5.91 3.92 4.27 6.77L2 4.5V11h6.5L5.75 8.25C6.96 5.73 9.5 4 12.5 4a7.5 7.5 0 0 1 7.5 7.5 7.5 7.5 0 0 1-7.5 7.5c-3.27 0-6.03-2.09-7.06-5h-2.1c1.1 4.03 4.77 7 9.16 7 5.24 0 9.5-4.25 9.5-9.5A9.5 9.5 0 0 0 12.5 2z"/></svg></a></li><li class="backlink"><a href="/plugin:button?do=backlink" title="Backlinks" rel="nofollow"><span>Backlinks</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.59 13.41c.41.39.41 1.03 0 1.42-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0 5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 0 0 0-4.24 2.982 2.982 0 0 0-4.24 0l-3.53 3.53a2.982 2.982 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0 5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 0 0 0 4.24 2.982 2.982 0 0 0 4.24 0l3.53-3.53a2.982 2.982 0 0 0 0-4.24.973.973 0 0 1 0-1.42z"/></svg></a></li><li class="top"><a href="#dokuwiki__top" title="Back to top [t]" rel="nofollow" accesskey="t"><span>Back to top</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"/></svg></a></li> </ul> </div> </nav> </div><!-- /wrapper --> <!-- ********** FOOTER ********** --> <footer id="dokuwiki__footer"><div class="pad"> <div class="license">Except where otherwise noted, content on this wiki is licensed under the following license: <bdi><a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license" class="urlextern">CC Attribution-Share Alike 4.0 International</a></bdi></div> <div class="buttons"> <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license"><img src="/lib/images/license/button/cc-by-sa.png" alt="CC Attribution-Share Alike 4.0 International" /></a> <a href="https://www.dokuwiki.org/donate" title="Donate" ><img src="/lib/tpl/dokuwiki/images/button-donate.gif" width="80" height="15" alt="Donate" /></a> <a href="https://php.net" title="Powered by PHP" ><img src="/lib/tpl/dokuwiki/images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a> <a href="//validator.w3.org/check/referer" title="Valid HTML5" ><img src="/lib/tpl/dokuwiki/images/button-html5.png" width="80" height="15" alt="Valid HTML5" /></a> <a href="//jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" ><img src="/lib/tpl/dokuwiki/images/button-css.png" width="80" height="15" alt="Valid CSS" /></a> <a href="https://dokuwiki.org/" title="Driven by DokuWiki" ><img src="/lib/tpl/dokuwiki/images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> </div> <div style="margin-top: 2em; font-size:90%" class="dokuwiki"><div style="float:right"><a href="http://www.splitbrain.org/personal#imprint" style="float:right; text-decoration: none; color:#333">Imprint</a></div></div><!-- Include for DokuWiki site wide top bar --> <style type="text/css"> @media screen { body { padding-top: 30px; } #global__header { position: absolute; top: 0; left: 0; text-align: left; vertical-align: middle; line-height: 1.5; background-color: #333; box-shadow: 0 0 8px rgba(0,0,0,0.5); width: 100%; margin: 0; padding: 5px 20px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; white-space: nowrap; overflow: hidden; } #global__header h2 { position: absolute; left: -99999em; top: 0; overflow: hidden; display: inline; } #global__header ul, #global__header li { margin: 0; padding: 0; list-style: none; display: inline; line-height: 1.5; } #global__header a { color: #bbb; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: normal; } #global__header a:hover, #global__header a:active, #global__header a:focus { color: #fff; text-decoration: underline; } #global__header form { float: right; margin: 0 0 0 20px; } #global__header input { background-color: #333; background-image: none; border: 1px solid #bbb; color: #fff; box-shadow: none; border-radius: 2px; margin: 0; line-height: normal; padding: 1px 0 1px 0; height: auto; } #global__header input.button { border: none; color: #bbb; } #global__header input.button:hover, #global__header input.button:active, #global__header input.button:focus { color: #fff; text-decoration: underline; } } /* /@media */ @media only screen and (min-width: 601px) { /* changes specific for www.dokuwiki.org */ #dokuwiki__header { padding-top: 3em; } #dokuwiki__usertools { top: 3em; } /* changes specific for bugs.dokuwiki.org */ div#container div#showtask { top: 40px; } } /* /@media */ @media only screen and (max-width: 600px) { body { padding-top: 0; } #global__header { position: static; white-space: normal; overflow: auto; } #global__header form { float: none; display: block; margin: 0 0 .4em; } } /* /@media */ @media print { #global__header { display: none; } } /* /@media */ </style> <div id="global__header"> <h2>Global DokuWiki Links</h2> <form method="get" action="https://search.dokuwiki.org/" target="_top"> <input type="text" name="q" title="Search all DokuWiki sites at once" class="input" /> <input type="submit" title="Search all DokuWiki sites at once" value="Search" class="button" /> </form> <ul> <li><a href="https://download.dokuwiki.org" title="Download the latest release" target="_top">Download</a></li> <li><a href="https://www.dokuwiki.org" title="Read the DokuWiki documentation" target="_top">Wiki</a></li> <li><a href="https://forum.dokuwiki.org" title="Ask questions in the DokuWiki forum" target="_top">Forum</a></li> <li><a href="https://irc.dokuwiki.org" title="Check IRC chat logs or join the chat" target="_top">IRC</a></li> <li><a href="https://github.com/splitbrain/dokuwiki/issues" title="Report and track bugs" target="_top">Bugs</a></li> <li><a href="https://translate.dokuwiki.org/" title="Help translating the DokuWiki interface" target="_top">Translate</a></li> <li><a href="https://github.com/splitbrain/dokuwiki" title="Access the most recent git commits" target="_top">Git</a></li> <li><a href="https://xref.dokuwiki.org/reference/dokuwiki/" title="Cross-Reference of the DokuWiki source code" target="_top">XRef</a></li> <li><a href="https://codesearch.dokuwiki.org/" title="Search through the sources of DokuWiki, plugins and templates" target="_top">Code Search</a></li> </ul> </div> <!-- end of DokuWiki top bar include --> </div></footer><!-- /footer --> </div></div><!-- /site --> <div class="no"><img src="/lib/exe/taskrunner.php?id=plugin%3Abutton&1743894891" width="2" height="1" alt="" /></div> <div id="screen__mode" class="no"></div></body> </html>