The Search List Extension is a module. Installing a module is easy: Create a directory called “modules” in your data directory (DataDir) and copy the file there. It will be loaded automatically.
This module allows you to include a list of links to pages that match a certain search pattern.
This is a bit different from Including Searches because the result looks like a list and not like a search result.
This will look through all your pages and list every page whose name or text matches the Perl regular expression
pattern, except for the current page (since that is almost always useless).
Sorting might not always work as expected, because Oddmuse is unaware of locale. This can result in unexpected results:
It basically depends on the bytes used to represent the names in UTF-8! If you define a function called
PageSort, it will be used to sort the pages.
This extension provides a new action: list.
List all pages whose title and content match pattern
List all pages whose title match pattern. In fact, this is the same as action=index;match=pattern. But we can combine match and search in list action:
List all pages whose title match pattern1 and whose content match pattern2
This syntax is inspired by the Collect Action.