I can't help wondering if ?action=refcount couldn't somehow be merged
with a pagelist variant.  I would really like to be able to
suggest that my users use ?action=refcount to keep their wikis clean,
but it pulls up so many irrelevancies that I'm afraid it will confuse
more than help them.&nbsp; <br>
<br>
>From this unschooled distance, it seems to share so many
characteristics with pagelist that combining them seems doable.&nbsp;
Short of that, some way to exclude user-specified or admin-specified
groups and pages from the refcount output would surely be helpful.<br><br><div><span class="gmail_quote">On 12/16/05, <b class="gmail_sendername">Patrick R. Michaud</b> &lt;<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Some random musings and questions to see if anyone has comments,<br>ideas, or suggestions...
<br><br><br>1. Page variables<br>The new {$...} and {pagename$...} syntax works great, and I think<br>it even makes the code more efficient.&nbsp;&nbsp;It's likely a keeper.<br><br><br>2. Wildcards<br>Conditional markup needs a bit of work.&nbsp;&nbsp;I'd like to work wildcards
<br>('*' and '?') into conditionals and pagelists somehow, but I can't<br>seem to come up with the proper names for the options.&nbsp;&nbsp;Currently<br>we have available<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(:if group Profiles:)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# page is in Profiles group
<br>&nbsp;&nbsp;&nbsp;&nbsp;(:if
name HomePage:)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # page
is named &quot;HomePage&quot; (in any group)<br>&nbsp;&nbsp;&nbsp;&nbsp;(:if
match &lt;pattern&gt;:)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # page's
name matches pattern (a regexp)<br>&nbsp;&nbsp;&nbsp;&nbsp;(:pagelist group=Profiles:)&nbsp;&nbsp;# pages in Profiles group<br>&nbsp;&nbsp;&nbsp;&nbsp;(:pagelist list=normal:)&nbsp;&nbsp;&nbsp;&nbsp; # pages matching &quot;normal&quot; selection<br><br>One option is to just allow wildcards directly on &quot;group&quot; and &quot;name&quot;
<br>values in conditionals, so that<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(:if group PmWiki* :)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# any group begining with &quot;PmWiki&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;(:pagelist group=PmWiki* :)&nbsp;&nbsp;# all pages in groups starting with &quot;PmWiki&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;(:if
name
A*:)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# any page starting with &quot;A&quot;<br><br>But how to match both group and name simultaneously?&nbsp;&nbsp;For consistency<br>with other markups, do we just use &quot;fullname&quot;?&nbsp;&nbsp;(Somehow I think it's<br>a big ugly.)<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;(:if fullname PmWiki.A* :)&nbsp;&nbsp; # pages starting with &quot;A&quot; in the PmWiki group<br>&nbsp;&nbsp;&nbsp;&nbsp;(:pagelist fullname=2005.Blog* :)&nbsp;&nbsp;# &quot;Blog*&quot; pages in the 2005 group<br><br>Hmm, I guess &quot;fullname&quot; isn't so bad.&nbsp;&nbsp;Lists of wildcards will also be
<br>allowed<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(:pagelist fullname=2005.Blog*,2006.Blog*:)<br><br>as well as negations<br><br>&nbsp;&nbsp;&nbsp;&nbsp;(:pagelist fullname=-*.HomePage,-*.RecentChanges:)<br><br><br>3. Pagelist refactoring<br>Pagelist has evolved *very* nicely from where I started over a year
<br>ago, but the code is becoming pretty crufty in the interest of<br>preserving backwards compatibility.&nbsp;&nbsp;It may be time to do a major<br>refactoring for pagelist (we are in beta, after all), and provide<br>the current pagelist code as an optional module or recipe for
<br>sites with custom pagelist settings and need time to migrate<br>those into the new framework.&nbsp;&nbsp;However, custom FPL formatting<br>functions would continue to work in the new version w/o modification<br>-- the refactoring would affect only those people who have
<br>customizations that rely heavily on the existence of current<br>variables and their values.<br><br>Comments, reactions?<br><br>Pm<br><br>_______________________________________________<br>pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://host.pmichaud.com/mailman/listinfo/pmwiki-users">http://host.pmichaud.com/mailman/listinfo/pmwiki-users</a><br></blockquote></div>
<br>