1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #325 from iiab/master

sync from iiab:master
This commit is contained in:
A Holt 2020-01-04 19:52:00 -05:00 committed by GitHub
commit 4704fbdc3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 3 deletions

View file

@ -10,6 +10,7 @@ import xml.etree.ElementTree as ET
import iiab.iiab_const as CONST
lang_codes = {}
lang_iso2_codes = {}
def get_zim_list(path):
'''
@ -139,8 +140,11 @@ def read_lang_codes():
#print("menu.json:%s"%reads)
lang_codes = json.loads(reads)
# there is a different algorithm in get_zim_list above
# create iso2 index
for lang in lang_codes:
lang_iso2_codes[lang_codes[lang]['iso2'] ] = lang
# there is a different algorithm in get_zim_list above
def calc_perma_ref(uri):
'''Given a path or url return the generic zim name'''
url_slash = uri.split('/')

View file

@ -339,6 +339,7 @@ azuracast_https_port: 10443
# being reserved for AzuraCast:
azuracast_port_range_prefix: 10
# Unmaintained as of January 2020: https://github.com/iiab/iiab/issues/2056
dokuwiki_install: False
dokuwiki_enabled: False
dokuwiki_url: /dokuwiki

View file

@ -206,8 +206,9 @@ iiab_usb_lib_show_all: True
azuracast_install: False
azuracast_enabled: False
dokuwiki_install: True
dokuwiki_enabled: True
# Unmaintained as of January 2020: https://github.com/iiab/iiab/issues/2056
dokuwiki_install: False
dokuwiki_enabled: False
mediawiki_install: True
mediawiki_enabled: True

View file

@ -206,6 +206,7 @@ iiab_usb_lib_show_all: True
azuracast_install: False
azuracast_enabled: False
# Unmaintained as of January 2020: https://github.com/iiab/iiab/issues/2056
dokuwiki_install: False
dokuwiki_enabled: False

View file

@ -206,6 +206,7 @@ iiab_usb_lib_show_all: True
azuracast_install: False
azuracast_enabled: False
# Unmaintained as of January 2020: https://github.com/iiab/iiab/issues/2056
dokuwiki_install: False
dokuwiki_enabled: False