Lines Matching refs:namespace

7 There are many different page listing / navigation plugins on the [[:plugin]] page, all trying to serve different needs.  Pagequery tries to unify many of the ideas into a compact all-in-one method of listing your wiki pages, by name, title, a-z index, by date, by year, month, day, by namespace or by creator; ...and do it quickly.

9 On the surface it may appear to fill a similar role to the really excellent [[plugin:indexmenu|IndexMenu]], however pagequery's aspirations are not as lofty or elaborate. IndexMenu focuses on displaying namespaces, and the pages within. allowing you to sort the namespaces and files by many options, and actively navigate and manipulate this index. Pagequery's purpose is __displaying lists of pages__: yes, you can sort by namespace if you wish, however the main goal is to search for and list pages in any order, and then neatly display them in groups (A-Z, by year, by month, etc...) and in addition in columns — to make best use of space. If you try both of them you'll quickly see that they //"scratch different itches."//
14 * Or limit your search to a specific namespace
33 Here's an example of all the pages in a namespace listed by date modified, and grouped by year and month:
55 For example, if you want to list all the pages in a certain namespace by A-Z, the following should do the trick:
56 {{pagequery>@namespace;fulltext;sort=a,name;group}} [fulltext version]
58 {{pagequery>@namespace *;sort=a,name;group;proper;cols=2}} [pagename version: allows regex's]
60 This would retrieve results from @namespace only (as there is no other search query you would get all the pages), and the list would be sorted by the //first letter// ('sort=a') then alphabetically ('sort=name') within each letter. The //group// option will then cause the list to be grouped by the first letter only (you cannot group by name as each one is unique).
64 {{pagequery>@namespace *;sort=a,name;group;cols=3;proper}
68 {{pagequery>@namespace *;sort=cyear,cmonth,name;group;inwords;proper;cols=2;border}}
72 {{pagequery>@namespace help;fulltext;sort=cyear,cmonth,name;group;inwords;proper;cols=2}}
74 **Update:** Namespaces are now supported when searching by pagename (pageid) only. Use the same syntax as fulltext [[:search]], i.e. @namespace|^namespace. I haven't provide support for relative namespaces yet. In addition, you can use regular expressions when searching by pagename.
76 E.g. Search for all pages in the "drafts" namespace, listing only files beginning with a number, sorted by name:
80 Or, all files in the "happy:go:lucky" namespace, sorted by year, then date created, in proper case, in 2 columns, and use the page title, not the name in the listing: