http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9947
Revision: 9947 Author: xqt Date: 2012-03-01 09:53:21 +0000 (Thu, 01 Mar 2012) Log Message: ----------- update doc for {{PLURAL:}} from trunk r9946
Modified Paths: -------------- branches/rewrite/pywikibot/i18n.py
Modified: branches/rewrite/pywikibot/i18n.py =================================================================== --- branches/rewrite/pywikibot/i18n.py 2012-03-01 09:52:33 UTC (rev 9946) +++ branches/rewrite/pywikibot/i18n.py 2012-03-01 09:53:21 UTC (rev 9947) @@ -282,8 +282,7 @@ contains a plural tag inside which looks like {{PLURAL:<number>|<variant1>|<variant2>[|<variantn>]}} it takes that variant calculated by the plural_func depending on the number - value. At the moment, we have only one plural_func = x: x!= 1 yet. Multiple - PLURAL tags are not supported (yet). + value.
Examples: If we had a test dictionary in test.py like