Skip to content
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

Filter by namespaces Option #148

Open
techana opened this issue May 21, 2023 · 1 comment
Open

Filter by namespaces Option #148

techana opened this issue May 21, 2023 · 1 comment

Comments

@techana
Copy link

techana commented May 21, 2023

It might be useful to add an option to deal with certain namespace(s) only, with inclusion or exclusion. For example, this suggested option would make the pagelist to show pages in a namespace and its subs only. Contrarily, the pagelist would list pages from all namespaces and omit those in specified namespace(s).

@techana
Copy link
Author

techana commented May 21, 2023

As a temporary fix, I modified the first "if" statement in function addPage($page) in file "helper.php" to the following:

if (!$id || substr($id, 0, 2) === "de") return false;

This for example will exclude all German pages under the namespace "de" in my wiki.

@Klap-in Klap-in changed the title Specify namespaces Option Filter by namespaces Option Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants