[pmwiki-users] pmwiki-2.0.beta33, new pagelist code
Patrick R. Michaud
pmichaud at pobox.com
Tue Apr 26 15:10:41 CDT 2005
On Tue, Apr 26, 2005 at 03:55:23PM -0400, Martin Fick wrote:
> Pm,
>
> Could you explain this a little more:
>
> > - adds a "link=target" option to list pages that contain a link
> > to target (i.e., backlinks)
How about some examples:
(:pagelist link=PmWiki.DocumentationIndex:)
Displays a list of all pages that have a page link to
PmWiki.DocumentationIndex.
(:pagelist link={$FullName} :)
Displays a list of all pages that link to the current page.
(:pagelist group=Main link=Main.HomePage:)
Displays a list of all pages in group Main that have a page link
to Main.HomePage.
(:pagelist link=Profiles.Pm order=-time fmt=simple:)
Displays a list of all pages with links to Pm's profiles page
(i.e., pages containing [[~Pm]]. What's more, the pages are
listed in reverse order by modification time (most recently
changed pages first).
(:pagelist link=Category.Skins:)
List all pages in the [[!Skins]] category.
Note that the link= and order= options are "expensive" in that
they require a fair amount of page scanning in order to obtain
their results. On the other hand, link= and order= are less
expensive than doing full text searches, and in future versions
of PmWiki they may end up being optimized even further.
Pm
More information about the pmwiki-users
mailing list