Today I submitted a new <a href="http://www.pmwiki.org/wiki/PITS/00713">http://www.pmwiki.org/wiki/PITS/00713</a><br>that describes a serious bug in pmwiki search functionality that was introduced in pmwiki-2.1.beta27 and is still present in 
2.1.3.<br><br>For convenience I included below the full text of PITS/00713<br><br>
Summary: bug using category subjects in search terms<div id="wikitext">
<div class="pits">Created: 2006-03-26 14:17</div>
<div class="pits">Status: Open</div>
<div class="pits">Category: Bug</div>
<div class="pits">From: <a class="wikilink" href="http://www.pmwiki.org/wiki/Profiles/Leo">Leo</a></div>
<div class="pits">Assigned: </div>
<div class="pits">Priority: 55</div>
<div class="pits">Version: 2.1.3 (all versions since 2.1.beta27)</div>
<div class="pits">OS: all platforms</div>
<p>Description:
This bug was introduced in pmwiki-2.1.beta27 and is still present in pmwiki-2.1.3
</p>
<p>BUG DESCRIPTION:
</p><hr>
<p>In Pmwiki syntax Category subject terms start with exclamation sign
&quot;!&quot; e.g. &quot;!Calendar&quot;.
When one enters search query that consists of two terms one (or both)
of which are category subject, pmwiki treats both terms as mere words
dropping special meaning of &quot;!&quot;.
</p>
<p>To reproduce the bug perform the following steps:
</p>
<ol><li>Open <a class="urllink" href="http://www.pmwiki.org/" rel="nofollow">http://www.pmwiki.org</a>
</li><li>In a search box enter &quot;!Calendar&quot; (without quotes). The
results, as it should be, will match 4 wiki pages that contain Category
subject &quot;Calendar&quot;
</li><li>Now, in a search box enter (without quotes) &quot;new !Calendar&quot;
(remove the quotes). Surprisingly, the search result matches 40 pages.
Their analysis shows that these 40 pages simply contain words &quot;new&quot; and
&quot;calendar&quot;. Special meaning of &quot;!Calendar&quot; as a category subject has
been lost. Another way of looking at this: adding new term &quot;new&quot; to the
old query &quot;!calendar&quot; (logical AND) should not result in finding more
matches. </li></ol><p>As a matter of fact, pmwiki-2.1.beta26 performs category subject searches correctly. 
</p>
<p>BUG FIX:
</p><hr>
<p>As a simple (and temporary) way of fixing the bug I replaced pmwiki-2.1.3 function <span class="wikiword">MakePageList</span>  (file scripts/pagelist.php) with the corresponding one from pmwiki-2.1.beta26. Now category searches operate as expected.
</p>
<p>I Hope that this bug in core Pmwiki functionality will be given proper attention.
</p>
<p>Thanks,<br>--Leo--
</p>
</div><br>