If a page is approved at some point of time, and later on the namespace is added to the excluded namespaces, the page will only show the last approved version instead of the last edit.
In the function handle_viewer() a check should be added to always get the last draft if the namespace is excluded later on.
What I have done - as a simple fix/hack - is changed line 83 to
if (auth_quickaclcheck($ID) > AUTH_READ || ($this->hlp->in_namespace($this->getConf('no_apr_namespaces'), $ID))) return;
instead of
if (auth_quickaclcheck($ID) > AUTH_READ) return;
If a page is approved at some point of time, and later on the namespace is added to the excluded namespaces, the page will only show the last approved version instead of the last edit.
In the function handle_viewer() a check should be added to always get the last draft if the namespace is excluded later on.
What I have done - as a simple fix/hack - is changed line 83 to
if (auth_quickaclcheck($ID) > AUTH_READ || ($this->hlp->in_namespace($this->getConf('no_apr_namespaces'), $ID))) return;
instead of
if (auth_quickaclcheck($ID) > AUTH_READ) return;