Last modified: 2013-12-10 14:38:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60230, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58230 - cascadeprotected error message maybe duplicated
cascadeprotected error message maybe duplicated
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.22.0
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-09 19:45 UTC by db [inactive,noenotif]
Modified: 2013-12-10 14:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description db [inactive,noenotif] 2013-12-09 19:45:37 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' );
Comment 1 db [inactive,noenotif] 2013-12-09 20:21:35 UTC
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.
Comment 2 db [inactive,noenotif] 2013-12-09 20:24:24 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links