Author: happy_melon
Description:
These templates are mutually exclusive: [[MediaWiki:Cascadeprotectedwarning]] is displayed when the user does not have the ability to edit through the protection, [[MediaWiki:Cascadeprotectedwarning]] is displayed when they can edit.
[[MediaWiki:Cascadeprotected]] takes two parameters, $1 being the number of locking pages, and $2 being a list of links to those pages. [[MediaWiki:Cascadeprotectedwarning]], on the other hand, only takes the first parameter (number of locking pages), and hardcodes the display of the list of pages underneath.
This means that it is, for instance, impossible to apply ids or styles to the whole section. [[MediaWiki:Cascadeprotectedwarning]] should be modified to define the display of both the message and the list.
./languages/i18n/en.json: "cascadeprotected": "This page has been protected from editing because it is transcluded in the following {{PLURAL:$1|page, which is|pages, which are}} protected with the \"cascading\" option turned on:\n$2", ./languages/i18n/en.json: "cascadeprotectedwarning": "<strong>Warning:</strong> This page has been protected so that only users with administrator privileges can edit it because it is transcluded in the following cascade-protected {{PLURAL:$1|page|pages}}:",
Version: unspecified
Severity: minor