Last modified: 2006-05-19 13:44:47 UTC
Parameter replacement ($1, $2...) in MediaWiki messages happens only after the parsing of the message is done (incl. expansion of templates and functions invoked through template syntax, eg {{plural:number|x|y|z}}). This means that message parameters can't be used as function arguments, which would be very useful in messages like "categoryarticlecount" and similar. Could the parsing be somehow moved after the parameter replacement?
What do you mean "function arguments" ?
(In reply to comment #1) > What do you mean "function arguments" ? Eg {{plural:$1|one|two|three}}
*** Bug 3704 has been marked as a duplicate of this bug. ***
Created attachment 1262 [details] These two fix this but probably break other things 1/2
Created attachment 1263 [details] See previous 2/2
I don't know is this problem is fixed exactly as in this bug description/patches, but PLURAL: works correctly in 1.7alpha (r14284). Bug 3704 is definitely fixed.