https://bugzilla.wikimedia.org/show_bug.cgi?id=18395
Summary: Augment (or replace) wgNonincludableNamespaces with
userCan
Product: MediaWiki
Version: 1.14-svn
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Page protection
AssignedTo: [email protected]
ReportedBy: [email protected]
(This would be nice to have, but probably not going to happen)
in includes/parser/Parser.php
Force the use of userCan() hook for templates ($wgNonincludableNamespaces is
used now):
else if ( $wgNonincludableNamespaces && in_array( $title->getNamespace(),
$wgNonincludableNamespaces ) ) {
becomes
else if ( !$title->userCanRead() || $wgNonincludableNamespaces && in_array(
$title->getNamespace(), $wgNonincludableNamespaces ) ) {
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l