Last modified: 2007-04-24 02:04:35 UTC
It would be interesting if a parameter is passed to system messages * MediaWiki:Cascadeprotectedwarning * MediaWiki:Cascadeprotected * MediaWiki:Protect-cascadeon If a parameter is passed to these system messages with the number of pages listed below (the number of the page that are rcascading protected and that include the target page), then these system messages could be written in such a way, using the {{plural:}} function, to adjust the grammar to be singular or plural. For instance in English, two different messages could be obtain ... because it is included in the following pages, which are protected ... ... because it is included in the following page, which is protected ... using the following code ... {{plural:$1|because it is included in the following page, which is protected|because it is included in the following pages, which are protected}} (of course other wiki-code could by used and it would also possible to print the number of the pages) (for the use of plural see bug # 5005 5006 and http://meta.wikimedia.org/wiki/Help:Magic_words#Language-dependent_word_conversions )
Done in r21510 and r21511.