From 1937ee0924b7354f55e6668f288dd4f372af8067 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 24 Apr 2007 02:04:04 +0000 Subject: [PATCH] *Add {{plural}} to Protect-cascadeon too. (bug 8664) --- includes/ProtectionForm.php | 2 +- languages/messages/MessagesEn.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index d803b94c74..4c4f2b3d14 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -114,7 +114,7 @@ class ProtectionForm { $titles .= '* [[:' . $title->getPrefixedText() . "]]\n"; } - $notice = wfMsg( 'protect-cascadeon' ) . "\r\n$titles"; + $notice = wfMsgExt( 'protect-cascadeon', array('parsemag'), count($cascadeSources) ) . "\r\n$titles"; $wgOut->addWikiText( $notice ); } diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index fa74b06f45..0ce23285f3 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1825,7 +1825,7 @@ current settings for the page $1:', Here are the current settings for the page $1:', 'protect-locked-access' => 'Your account does not have permission to change page protection levels. Here are the current settings for the page $1:', -'protect-cascadeon' => "This page is currently protected because it is included in the following pages, which have cascading protection turned on. You can change this page's protection level, but it will not affect the cascading protection.", +'protect-cascadeon' => "This page is currently protected because it is included in the following {{PLURAL:$1|page, which has|pages, which have}} cascading protection turned on. You can change this page's protection level, but it will not affect the cascading protection.", 'protect-default' => '(default)', 'protect-level-autoconfirmed' => 'Block unregistered users', 'protect-level-sysop' => 'Sysops only', -- 2.20.1