MediaWiki i18n explained: {{PLURAL}}
This post explains how MediaWiki handles plural rules to developers who need to work with it. In other words, how a string like “This wiki {{PLURAL:$1|0=does not have any pages|has one page|has $1 pages}}” becomes “This wiki has 425 pages”. Rules As mentioned before we have adopted a data-based approach. Our plural rules come from […]