简体   繁体   中英

How to list all topics created by me

How can I get a list of all topics that I created?

I think it should be something like

%SEARCH{ "versions[-1].info.author = '%USERNAME%" type="query" web="Sandbox" }%

but that returns 0 results.

With "versions[-1]" I get all topics, and with "info.author = '%USERNAME%'" a list of the topics where the last edit was made by me. Having a list of all topics where any edit was made by me would be fine, too, but "versions.info.author = '%USERNAME%'" again gives 0 results.

I'm using Foswiki-1.0.9. (I know that's quite old.)

The right syntax would be

%SEARCH{ "versions[-1,info.author='%USERNAME%']" type="query" web="Sandbox"}%

But that's not performing well, ie on your old Foswiki install.

Better is to install DBCacheContrib and DBCachePlugin and use

%DBQUERY{"createauthor='%WIKINAME%'"}%

This plugin caches the initial author in a way it does not have to retrieve the information from the revision system for every topic under consideration during query time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM