http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9946
Revision: 9946
Author: xqt
Date: 2012-03-01 09:52:33 +0000 (Thu, 01 Mar 2012)
Log Message:
-----------
update doc for {{PLURAL:}}
Modified Paths:
--------------
trunk/pywikipedia/pywikibot/i18n.py
Modified: trunk/pywikipedia/pywikibot/i18n.py
===================================================================
--- trunk/pywikipedia/pywikibot/i18n.py 2012-03-01 09:14:39 UTC (rev 9945)
+++ trunk/pywikipedia/pywikibot/i18n.py 2012-03-01 09:52:33 UTC (rev 9946)
@@ -318,8 +318,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