New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the option to filter on namespaces when requesting a TODOLIST #32

Merged
merged 1 commit into from Jul 1, 2014

Conversation

Projects
None yet
3 participants
@mwesten
Contributor

mwesten commented Jul 1, 2014

I've added the following option to the ~~TODOLIST~~ tag: ns:
If omitted it uses ns:all.

It can be used with the folowing parameters:
all - displays todo's from everywhere (the current default behaviour)
/ - only displays todo's from pages containing in the ROOT namespace
<string> - Where string can be any text. It checks the page-id if it starts with this string and then returns the pages with todo's that do; for example:

~~TODOLIST ns:todo~~ returns all todo's from the page todo in the root of the wiki, or from the namespaces starting with todo or from the page todo and the namespaces starting with todo.

~~TODOLIST ns:todo:~~ returns all todo's from the namespace todo.

~~TODOLIST ns:todo:r~~ returns all todo's from the namespaces or pages under todo, starting with an r.

leibler added a commit that referenced this pull request Jul 1, 2014

Merge pull request #32 from mwesten/master
Added the option to filter on namespaces when requesting a TODOLIST

@leibler leibler merged commit 7796b98 into leibler:master Jul 1, 2014

@Juergen-aus-Koeln

This comment has been minimized.

Show comment
Hide comment
@Juergen-aus-Koeln

Juergen-aus-Koeln Jul 9, 2014

Thank you, it works fine
Regards Juergen

Juergen-aus-Koeln commented Jul 9, 2014

Thank you, it works fine
Regards Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment