summaryrefslogtreecommitdiffstats
path: root/bbb
diff options
context:
space:
mode:
Diffstat (limited to 'bbb')
-rw-r--r--bbb/constants.py10
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',