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

Removes disabled namespaces from approvals listing #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Rapsey
Copy link

@Rapsey Rapsey commented Jun 6, 2015

The automatic listing generated by the [APPROVALS] tag takes into account the namespaces in which the publish plugin is enabled (apr_namespaces) but it does not take into account the namespaces in which it is disabled (no_apr_namespaces).

As a result, the listing will generally include all pages from namespaces where the plugin is disabled, as those pages can never be approved.

In the example below the publish plugin is disabled in the wiki namespace and enabled everywhere else. The start page is the only one with a pending approval.

Before fixing

Before fixing

After fixing

After fixing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant