<br><br><div class="gmail_quote">On Tue, Feb 3, 2009 at 06:24, Petko Yotov <span dir="ltr">&lt;<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do you think we should push for some change to the core, or the solution I<br>
gave is good enough and we could instead just update the documentation?<br>
</blockquote></div><br>I strongly support change of this
behaviour in the core. I remember when I had to answer numerous
questions of confused users regarding &quot;mysterious&quot; titles (and even I
sometimes forgot it and was surprised why title of my page shows
something different). So I was very glad when Hans came with solution
last year.<br><br>Now he have three solutions:<br><br>One from Hans<br><br>
Markup(&#39;title&#39;,&#39;directives&#39;,<br>
&nbsp; &#39;/\\(:title\\s(.*?):\\)/ei&#39;,<br>
&nbsp; &quot;SetTitleMarkup(\$pagename, PSS(&#39;$1&#39;)) &quot;);<br>
function SetTitleMarkup($pagename, $arg) {<br>
&nbsp;&nbsp; static $tset = 1;<br>
&nbsp;&nbsp; if ($tset==1)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PCache($pagename, $zz=array(&#39;title&#39; =&gt; SetProperty($pagename, &#39;title&#39;, $arg )));<br>
&nbsp;&nbsp; $tset++;<br>
}<br>
<br>
another from Petko<br>
<br>
$QualifyPatterns[&#39;/\\(:title\\s(.*?):\\)/i&#39;] = &#39;&#39;;<br>
<br>
and one more from Petko<br>
<br>
Markup(&#39;title&#39;,&#39;directives&#39;,<br>
&nbsp; &#39;/\\(:title\\s(.*?):\\)/ei&#39;,<br>
&nbsp; &quot;IsEnabled(\$GLOBALS[&#39;PCache&#39;][\$pagename][&#39;=p_title&#39;], false)&gt;&#39;&#39;? &#39;&#39;: PZZ( PCache(\$pagename,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \$zz=array(&#39;title&#39; =&gt; SetProperty(\$pagename, &#39;title&#39;, PSS(&#39;$1&#39;)))) )&quot;);<br>
<br>
If any of these solutions will not be part of the core, which is the preferred one?<br>
<br>
Roman<br>
<br>