Last modified: 2013-12-10 14:38:34 UTC
When a template is used in a page which is autoconfirmed-cascade protected and in a page which is sysop-cascade protected than the error message for unprivilieged users on edit page is shown duplicated: uselang=qqx: (permissionserrorstext-withaction: 2, (action-edit)) (cascadeprotected: 2, * Cascade-autoconfirmed * Cascade-sysop ) (cascadeprotected: 2, * Cascade-autoconfirmed * Cascade-sysop ) In LocalSettings.php: $wgCascadingRestrictionLevels = array( 'autoconfirmed', 'sysop' );
The example is for a user without 'editsemiprotected', but for a user with 'editsemiprotected' the list is: uselang=qqx: (permissionserrorstext-withaction: 1, (action-edit)) (cascadeprotected: 2, * Cascade-autoconfirmed * Cascade-sysop ) Which is also wrong, because the user only needs the information, that Cascade-sysop is the problem for him.
Better is when the user will see 'cascadeprotectedwarning' with the page for which he has permission and the above for the page without. The edit page should mention all pages which gives the cascade protection to this page.