diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-01-25 12:07:27 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-01-25 12:07:27 -0800 |
commit | 48f17fdd03bb2fa58dd9deef4400caa05f39fcb4 (patch) | |
tree | dbaf20267bed4e5d5de9c258e9ceff24e5f997b4 /bbb | |
parent | 7dfb8200b518f25b8615400759d9718818aff83b (diff) | |
download | basebasebase-48f17fdd03bb2fa58dd9deef4400caa05f39fcb4.tar.gz basebasebase-48f17fdd03bb2fa58dd9deef4400caa05f39fcb4.zip |
constants.py: capitalized CONSTANT variables
Diffstat (limited to 'bbb')
-rw-r--r-- | bbb/constants.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bbb/constants.py b/bbb/constants.py index ac62f98..6a59bb1 100644 --- a/bbb/constants.py +++ b/bbb/constants.py @@ -1,12 +1,14 @@ -datatypes = ['commonsMedia', 'globe-coordinate', 'monolingual-text', +WB_DATATYPES = ['commonsMedia', 'globe-coordinate', 'monolingual-text', 'quantity', 'string', 'time', 'url', 'timestamp', 'item', 'property'] +WB_SNAKTYPES = ['value', 'novalue', 'somevalue'] + # time: time, timezone(minutes), before(int), after(int), precision(enum), calendarmodel(url) -ranks = ['preferred', 'normal', 'deprecated'] +WB_RANKS= ['preferred', 'normal', 'deprecated'] -wmf_language_codes = ('aa', 'ab', 'ace', 'ady', 'ady-cyrl', 'aeb', 'aeb-arab', +WMF_LANGUAGE_CODES = ('aa', 'ab', 'ace', 'ady', 'ady-cyrl', 'aeb', 'aeb-arab', 'aeb-latn', 'af', 'ak', 'aln', 'als', 'am', 'an', 'ang', 'anp', 'ar', 'arc', 'arn', 'arq', 'ary', 'arz', 'as', 'ase', 'ast', 'av', 'avk', 'awa', 'ay', 'az', 'azb', 'ba', 'bar', 'bat-smg', 'bbc', 'bbc-latn', 'bcc', 'bcl', @@ -49,7 +51,7 @@ wmf_language_codes = ('aa', 'ab', 'ace', 'ady', 'ady-cyrl', 'aeb', 'aeb-arab', 'zea', 'zh', 'zh-classical', 'zh-cn', 'zh-hans', 'zh-hant', 'zh-hk', 'zh-min-nan', 'zh-mo', 'zh-my', 'zh-sg', 'zh-tw', 'zh-yue', 'zu') -wmf_sites = ('aawikibooks', 'afwikibooks', 'afwikiquote', 'akwikibooks', +WMF_SITES = ('aawikibooks', 'afwikibooks', 'afwikiquote', 'akwikibooks', 'alswikibooks', 'alswikiquote', 'amwikiquote', 'angwikibooks', 'angwikiquote', 'angwikisource', 'arwikibooks', 'arwikinews', 'arwikiquote', 'arwikisource', 'astwikibooks', 'astwikiquote', |