CINXE.COM
plugin:pagetitle [DokuWiki]
<!DOCTYPE html> <html lang="en" dir="ltr" class="no-js"> <head> <meta charset="utf-8" /> <title>plugin:pagetitle [DokuWiki]</title> <meta name="generator" content="DokuWiki"/> <meta name="theme-color" content="#008800"/> <meta name="robots" content="index,follow"/> <meta name="keywords" content="plugin,pagetitle"/> <link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="DokuWiki"/> <link rel="start" href="/"/> <link rel="contents" href="/plugin:pagetitle?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:pagetitle?do=edit"/> <link rel="alternate" type="text/html" title="Plain HTML" href="/_export/xhtml/plugin:pagetitle"/> <link rel="alternate" type="text/plain" title="Wiki Markup" href="/_export/raw/plugin:pagetitle"/> <link rel="canonical" href="https://www.dokuwiki.org/plugin:pagetitle"/> <link rel="stylesheet" href="/lib/exe/css.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e"/> <script >var NS='plugin';var JSINFO = {"plugins":{"edittable":{"default columnwidth":""}},"id":"plugin:pagetitle","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:pagetitle?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:pagetitle" /><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:pagetitle" /><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:pagetitle?do=recent" title="Recent Changes [r]" rel="nofollow" accesskey="r">Recent Changes</a></li><li class="action media"><a href="/plugin:pagetitle?do=media&ns=plugin" title="Media Manager" rel="nofollow">Media Manager</a></li><li class="action index"><a href="/plugin:pagetitle?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:pagetitle" class="breadcrumbs" title="plugin:pagetitle">pagetitle</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:pagetitle</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="#pagetitle_plugin">PageTitle 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> <ul class="toc"> <li class="level3"><div class="li"><a href="#define_and_render_a_title_of_the_wiki_page">Define and render a title of the wiki page</a></div></li> <li class="level3"><div class="li"><a href="#hierarchical_breadcrumbs_on_the_page">Hierarchical breadcrumbs on the page</a></div></li> </ul> </li> <li class="level2"><div class="li"><a href="#development">Development</a></div></li> <li class="level2"><div class="li"><a href="#known_bugs_and_issues">Known Bugs and Issues</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#incompatibilities_with_2020-07-29_hogfather">Incompatibilities with 2020-07-29 Hogfather</a></div></li> <li class="level3"><div class="li"><a href="#parse_error_after_upgrade">parse error after upgrade</a></div></li> </ul></li> </ul></li> </ul> </div> </div> <!-- TOC END --> <h1 class="sectionedit1" id="pagetitle_plugin">PageTitle 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="">2024-02-06 "Kaos" <strong><span>unknown</span></strong></li><li class="">2023-04-04 "Jack Jackrum" <strong><span>unknown</span></strong></li><li class="">2022-07-31 "Igor" <strong><span>unknown</span></strong></li><li class="no">2020-07-29 "Hogfather" <strong><span>no</span></strong></li></ul></div></div><ul class="actions"><li><a class="download" href="https://github.com/ssahara/dw-plugin-pagetitle/zipball/master">Download</a></li><li><a class="bugs" href="https://github.com/ssahara/dw-plugin-pagetitle/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> Define a title of the wiki page by <title> tag. This plugin allows to write decorative title on the page with setting plain title text in metadata storage.</p></div><div class="metaInfo"><dl><dt>Last updated on</dt><dd>2023-08-30</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/ssahara/dw-plugin-pagetitle/">Source</a></dd></dl></div><div class="moreInfo"><p class="similar">Similar to <a href="/plugin:meta" class="wikilink1" title="plugin:meta" data-wiki-id="plugin:meta">meta</a></p><p class="tags">Tagged with <a href="/plugins?plugintag=breadcrumb#extension__table" class="wikilink1" title="List all plugins with this tag">breadcrumb</a>, <a href="/plugins?plugintag=title#extension__table" class="wikilink1" title="List all plugins with this tag">title</a></p></div><div class="authorInfo"><strong>By <a href="mailto:sahara%20%5Bdot%5D%20satoshi%20%5Bat%5D%20gmail%20%5Bdot%5D%20com" class="mail" title="sahara [dot] satoshi [at] gmail [dot] com">S.Sahara</a></strong><ul><li><a href="/plugin:medialist" class="wikilink1" title="plugin:medialist" data-wiki-id="plugin:medialist">medialist</a></li> <li><a href="/plugin:numberedheadings" class="wikilink1" title="plugin:numberedheadings" data-wiki-id="plugin:numberedheadings">numberedheadings</a></li> <li><a href="/plugin:typography" class="wikilink1" title="plugin:typography" data-wiki-id="plugin:typography">typography</a></li> <li><a href="/plugin:abbr" class="wikilink1" title="plugin:abbr" data-wiki-id="plugin:abbr">abbr</a></li> <li><a href="/plugin:gview" class="wikilink1" title="plugin:gview" data-wiki-id="plugin:gview">gview</a></li> <li><a href="/plugin:inlinejs" class="wikilink1" title="plugin:inlinejs" data-wiki-id="plugin:inlinejs">inlinejs</a></li> <li><a href="/plugin:canvas" class="wikilink1" title="plugin:canvas" data-wiki-id="plugin:canvas">canvas</a></li> <li><a href="/plugin:toctweak" class="wikilink1" title="plugin:toctweak" data-wiki-id="plugin:toctweak">toctweak</a></li> <li><a href="/plugin:exttab3" class="wikilink1" title="plugin:exttab3" data-wiki-id="plugin:exttab3">exttab3</a></li> <li><a href="/plugin:commentsyntax" class="wikilink1" title="plugin:commentsyntax" data-wiki-id="plugin:commentsyntax">commentsyntax</a></li> <li>and 3 more</li></ul></div></div> </div> <div class="secedit editbutton_section editbutton_1"><form class="button btn_secedit" method="post" action="/plugin:pagetitle"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730663470" /><input type="hidden" name="summary" value="[PageTitle Plugin] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="pagetitle_plugin" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1-715" /><button type="submit" title="PageTitle 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="/plugin_installation_instructions" class="wikilink1" title="plugin_installation_instructions" data-wiki-id="plugin_installation_instructions">plugin installation instructions</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:pagetitle"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730663470" /><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="716-905" /><button type="submit" title="Installation">Edit</button></div></form></div> <h2 class="sectionedit3" id="examples_usage">Examples/Usage</h2> <div class="level2"> </div> <div class="secedit editbutton_section editbutton_3"><form class="button btn_secedit" method="post" action="/plugin:pagetitle"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730663470" /><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="906-933" /><button type="submit" title="Examples/Usage">Edit</button></div></form></div> <h3 class="sectionedit4" id="define_and_render_a_title_of_the_wiki_page">Define and render a title of the wiki page</h3> <div class="level3"> <pre class="code"><title classes #id> **Page Title** plugin for DokuWiki </title></pre> <p> The specified title becomes the title of <abbr title="HyperText Markup Language">HTML</abbr> document in combination with your DokuWiki site <a href="/config:title" class="wikilink1" title="config:title" data-wiki-id="config:title">title</a>. You may need to set <a href="/config:useheading" class="wikilink1" title="config:useheading" data-wiki-id="config:useheading">useheading</a> option to “navigation” (other than “0”) in order to show specified title in the browser title bar. </p> <p> You can use <strong>bold</strong>, <em>italic</em>, <sup>superscript</sup> and <sub>subscript</sub> text to show appropriate title on the page. The formatted page title is shown on the page, but it is converted to a plain text for the title of <abbr title="HyperText Markup Language">HTML</abbr> document. The pagetitle plugin overwrites 'title' value of the <a href="/devel:metadata" class="wikilink1" title="devel:metadata" data-wiki-id="devel:metadata">metadata</a> to store the plain title text. You can give <code>classes</code> or <code>#id</code> to the title element (<h1>) if <a href="/plugin:wrap" class="wikilink1" title="plugin:wrap" data-wiki-id="plugin:wrap">wrap</a> plugin is available in your wiki site. </p> <p> When there are multiple <code><title></code> entries in a page, the first entry should be effective. </p> <p> If you want to set a page title without showing itself on the page, you can instead use following syntax macro: </p> <pre class="code">~~Title: Page Title plugin for DokuWiki ~~</pre> </div> <h4 id="css_for_pagetitle">CSS for PageTitle</h4> <div class="level4"> <p> You can use class selector “pagetitle” for the <abbr title="HyperText Markup Language">HTML</abbr> element of Page Title rendered in the page. </p> <pre class="code css"><span class="re1">.dokuwiki</span> h1<span class="re1">.pagetitle</span> <span class="br0">{</span> <span class="kw1">text-align</span><span class="sy0">:</span> <span class="kw2">center</span><span class="sy0">;</span> <span class="br0">}</span></pre> </div> <div class="secedit editbutton_section editbutton_4"><form class="button btn_secedit" method="post" action="/plugin:pagetitle"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730663470" /><input type="hidden" name="summary" value="[Define and render a title of the wiki page] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="define_and_render_a_title_of_the_wiki_page" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="934-2238" /><button type="submit" title="Define and render a title of the wiki page">Edit</button></div></form></div> <h3 class="sectionedit5" id="hierarchical_breadcrumbs_on_the_page">Hierarchical breadcrumbs on the page</h3> <div class="level3"> <p> (expermental) </p> <pre class="code"><!--YOU_ARE_HERE--></pre> <p> This syntax allow you to put a hierarchical breadcrumbs in the page. The place holder <code><!--YOU_ARE_HERE--></code> is replaced by the hierarchical breadcrumbs provided by this plugin, which uses page id for a breadcrumbs name independently from <a href="/config:useheading" class="wikilink1" title="config:useheading" data-wiki-id="config:useheading">$conf('useheading')</a> setting. </p> <pre class="code">~~ShortTitle: pageTitle ~~</pre> <p> ShortTitle macro is additionally available if you want use shorter title instead of (longer) pagetitle in the hierarchical breadcrumbs. </p> </div> <div class="secedit editbutton_section editbutton_5"><form class="button btn_secedit" method="post" action="/plugin:pagetitle"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730663470" /><input type="hidden" name="summary" value="[Hierarchical breadcrumbs on the page] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="hierarchical_breadcrumbs_on_the_page" /><input type="hidden" name="codeblockOffset" value="1" /><input type="hidden" name="range" value="2239-2791" /><button type="submit" title="Hierarchical breadcrumbs on the page">Edit</button></div></form></div> <h2 class="sectionedit6" id="development">Development</h2> <div class="level2"> <ul class="rss"><li><div class="li"><a href="https://github.com/ssahara/dw-plugin-pagetitle/commit/b2c6f71f441a8a1221da430ca3c4223876063566" class="urlextern" title="https://github.com/ssahara/dw-plugin-pagetitle/commit/b2c6f71f441a8a1221da430ca3c4223876063566">update version</a> (2023-08-30 03:49)</div></li><li><div class="li"><a href="https://github.com/ssahara/dw-plugin-pagetitle/commit/b75616a20d8a4689bdb7197c388af87a4f1e34f5" class="urlextern" title="https://github.com/ssahara/dw-plugin-pagetitle/commit/b75616a20d8a4689bdb7197c388af87a4f1e34f5">Update README.md</a> (2023-08-30 03:48)</div></li><li><div class="li"><a href="https://github.com/ssahara/dw-plugin-pagetitle/commit/9df29ad0c1e421991c34810afd816d294b80374f" class="urlextern" title="https://github.com/ssahara/dw-plugin-pagetitle/commit/9df29ad0c1e421991c34810afd816d294b80374f">use isset() instead of is_null()</a> (2023-08-28 15:52)</div></li><li><div class="li"><a href="https://github.com/ssahara/dw-plugin-pagetitle/commit/96550316c516a9820622d34e1a263d3d6d845b88" class="urlextern" title="https://github.com/ssahara/dw-plugin-pagetitle/commit/96550316c516a9820622d34e1a263d3d6d845b88">fix wrong var name</a> (2023-08-28 15:24)</div></li><li><div class="li"><a href="https://github.com/ssahara/dw-plugin-pagetitle/commit/0d08a2dbeaf0dd969f8491f7dc5cd58136099c86" class="urlextern" title="https://github.com/ssahara/dw-plugin-pagetitle/commit/0d08a2dbeaf0dd969f8491f7dc5cd58136099c86">update version</a> (2023-08-28 12:03)</div></li></ul> </div> <h4 id="todo_wish_list">ToDo/Wish List</h4> <div class="level4"> <ul> <li class="level1"><div class="li"> <code><title></code> syntax to define pagename (title of the page) on the page (v2 branch) → done in release 2015-09-24</div> </li> <li class="level1"><div class="li"> <code>'<!--YOU_ARE_HERE--></code> syntax to show a Hierarchical breadcrumbs on the page (v2 branch) → done in release 2015-09-24</div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_6"><form class="button btn_secedit" method="post" action="/plugin:pagetitle"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730663470" /><input type="hidden" name="summary" value="[Development] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="development" /><input type="hidden" name="codeblockOffset" value="1" /><input type="hidden" name="range" value="2792-3176" /><button type="submit" title="Development">Edit</button></div></form></div> <h2 class="sectionedit7" id="known_bugs_and_issues">Known Bugs and Issues</h2> <div class="level2"> </div> <div class="secedit editbutton_section editbutton_7"><form class="button btn_secedit" method="post" action="/plugin:pagetitle"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730663470" /><input type="hidden" name="summary" value="[Known Bugs and Issues] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="known_bugs_and_issues" /><input type="hidden" name="codeblockOffset" value="1" /><input type="hidden" name="range" value="3177-3211" /><button type="submit" title="Known Bugs and Issues">Edit</button></div></form></div> <h3 class="sectionedit8" id="incompatibilities_with_2020-07-29_hogfather">Incompatibilities with 2020-07-29 Hogfather</h3> <div class="level3"> <ul> <li class="level1"><div class="li"> <a href="https://github.com/ssahara/dw-plugin-pagetitle/issues/19" class="urlextern" title="https://github.com/ssahara/dw-plugin-pagetitle/issues/19">(Re-)activating the plugin should clear/regenerate the caches</a></div> </li> <li class="level1"><div class="li"> <a href="https://github.com/ssahara/dw-plugin-pagetitle/issues/20" class="urlextern" title="https://github.com/ssahara/dw-plugin-pagetitle/issues/20">Visible title syntax: Rendered in page but not put into html head title</a></div> </li> <li class="level1"><div class="li"> <a href="https://github.com/ssahara/dw-plugin-pagetitle/issues/21" class="urlextern" title="https://github.com/ssahara/dw-plugin-pagetitle/issues/21">Invisible title syntax: Rendered as raw markup AND not put into html head title</a></div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_8"><form class="button btn_secedit" method="post" action="/plugin:pagetitle"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730663470" /><input type="hidden" name="summary" value="[Incompatibilities with 2020-07-29 Hogfather] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="incompatibilities_with_2020-07-29_hogfather" /><input type="hidden" name="codeblockOffset" value="1" /><input type="hidden" name="range" value="3212-3675" /><button type="submit" title="Incompatibilities with 2020-07-29 Hogfather">Edit</button></div></form></div> <h3 class="sectionedit9" id="parse_error_after_upgrade">parse error after upgrade</h3> <div class="level3"> <p> After I did an upgrade to the most recent version of the plugin, my dokuwiki instance became dysfunctional (white screen of death). The logs of my apache2 server contained this hint: </p> <pre class="code">[Wed May 08 00:17:48.543750 2019] [:error] [pid 19136] [client 130.75.103.103:35866] PHP Parse error: syntax error, unexpected '=' in /srv/www/iqwiki.iqo.uni-hannover.de/lib/plugins/pagetitle/syntax/shorter.php on line 72</pre> <p> The server runs on PHP 7.0 . Dokuwiki itself is on greebo. </p> <p> — <a href="https://forum.dokuwiki.org/u/KaiMartin" class="interwiki iw_user" title="https://forum.dokuwiki.org/u/KaiMartin">KaiMartin</a> <em>2019-05-08 00:23</em> </p> <blockquote><div class="no"> Just a hint from me: As far as I can see, you are not using Greebo… (The icons are not from Greebo.) — <a href="https://forum.dokuwiki.org/u/Michaelsy" class="interwiki iw_user" title="https://forum.dokuwiki.org/u/Michaelsy">Michael Sy.</a> <em>2019-05-08 00:45</em></div></blockquote> <blockquote><div class="no"> The plugin requires PHP 7.1.x or later. However, PageTitle release 2019-05-08 should work with PHP 7.0.x that has already ended its life. Please refer to <a href="https://www.php.net/supported-versions.php" class="urlextern" title="https://www.php.net/supported-versions.php">https://www.php.net/supported-versions.php</a> — <a href="https://forum.dokuwiki.org/u/s.sahara" class="interwiki iw_user" title="https://forum.dokuwiki.org/u/s.sahara">s.sahara</a> <em>2019-05-08 00:56</em></div></blockquote> <p> I can confirm functionality on PHP7.1. Maybe you should correct your commit description on github. <code>PHP 7.0.x support</code> is a little misinterpretative. ;) — <a href="https://forum.dokuwiki.org/u/punkt" class="interwiki iw_user" title="https://forum.dokuwiki.org/u/punkt">Punkt</a> <em>2019-06-25 13:30</em> </p> <p> Pagetitle makes my Detritus crash (error 500), at mekineer.com. PHP version: <del>7.3.6</del> sorry, it was actually running 5.6.40. I updated my site to use 7.0.x, and pagetitle works now. </p> <p> I'm a bit confused about functionality. I am using indexmenu plugin, and want the <abbr title="Uniform Resource Locator">URL</abbr> path for the menu. However, I want the page title to be what's in <title>. This way, I can keep my menu with brief names, yet have the page title be more descriptive. Is this not possible? — <a href="https://forum.dokuwiki.org/u/mekineer" class="interwiki iw_user" title="https://forum.dokuwiki.org/u/mekineer">mekineer</a> <em>2020-01-16 02:51</em> </p> <p> There seems to be a problem with the tag: it should have a capital:<title>…</title> but <Title>..</Title>. If not using a capital the title is not changed in the metadata. This is inline with the hidden version ~~Title: Page Title plugin for DokuWiki ~~ . Unfortunately is not well rendered anymore <em>2024-07-10 15:33</em> </p> </div> <div class="secedit editbutton_section editbutton_9"><form class="button btn_secedit" method="post" action="/plugin:pagetitle"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730663470" /><input type="hidden" name="summary" value="[parse error after upgrade] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="parse_error_after_upgrade" /><input type="hidden" name="codeblockOffset" value="1" /><input type="hidden" name="range" value="3676-" /><button type="submit" title="parse error after upgrade">Edit</button></div></form></div> <!-- wikipage stop --> </div> <div class="docInfo"><bdi>plugin/pagetitle.txt</bdi> · Last modified: <time datetime="2024-11-03T20:51:10+0100">2024-11-03 20:51</time> by <bdi>Aleksandr</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:pagetitle?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:pagetitle?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:pagetitle?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%3Apagetitle&1732783583" width="2" height="1" alt="" /></div> <div id="screen__mode" class="no"></div></body> </html>