From: Reini U. <ru...@x-...> - 2008-02-05 12:21:28
|
2008/2/5, Marc-Etienne Vargenau <Mar...@al...>: > I would like to create a wiki that will give me the list of locked pages. > I have put in the "LockedPages" page: > > <?plugin AllPages info=locked,author ?> > > That gives me the list of all pages, with lock status. > Then you can sort by lock status. > But is there a way to call the plugin to only display the locked pages? info just lists the columns. locked=1 would filter by columns with locked = 1. LockedPages: <?plugin AllPages info=locked,author locked=1 ?> If locked would be detected as valid filter. But apparently it is not supported yet. I've added a feature request: http://sourceforge.net/tracker/index.php?func=detail&aid=1886970&group_id=6121&atid=356121 I'll think of a way to filter by any valid column automatically, with custom columns also. Currently pagelist filters are not handled within PageList itself, they are handled within the calling plugin, here in AllPages. This should be changed soon. But it would be better to release the current stable fixes first, and change the filtering within PageList after 1.3.15. Current CVS is pretty stable. Haven't checked your recent fixes yet. PageListFilters: left: all valid PageList types, i.e. array_keys($PageList->_types) op: =, <>, >,>=,<,<=, right: any number or string Boolean filters: locked=0 or locked=1 String filters: pagename=Test*, pagename<>Test* (á la exclude=Test*) content="*plugin AllPages*" Numeric filters should include: version<10, version>0, size<=400, ... -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://spacemovie.mur.at/ http://helsinki.at/ |