mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
114 lines
3.8 KiB
TOML
114 lines
3.8 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
||
|
||
packaging_format = 2
|
||
|
||
id = "mediawiki"
|
||
name = "MediaWiki"
|
||
description.en = "Wiki package originally for use on Wikipedia"
|
||
description.fr = "Wiki développé à l’origine pour Wikipédia"
|
||
|
||
version = "1.40.0~ynh1"
|
||
|
||
maintainers = ["Salamandar"]
|
||
|
||
[upstream]
|
||
license = "GPL-2.0-or-later"
|
||
website = "https://www.mediawiki.org"
|
||
demo = "https://www.wikipedia.org"
|
||
admindoc = "https://www.mediawiki.org/wiki/Documentation"
|
||
userdoc = "https://www.mediawiki.org/wiki/Project:Help"
|
||
code = "https://github.com/wikimedia/mediawiki"
|
||
|
||
[integration]
|
||
yunohost = ">= 11.1.17"
|
||
architectures = "all"
|
||
multi_instance = true
|
||
ldap = true
|
||
sso = false
|
||
disk = "50M"
|
||
ram.build = "50M"
|
||
ram.runtime = "50M"
|
||
|
||
[install]
|
||
[install.domain]
|
||
type = "domain"
|
||
|
||
[install.path]
|
||
type = "path"
|
||
default = "/wiki"
|
||
|
||
[install.init_main_permission]
|
||
help.en = "Visibility of the wiki pages"
|
||
help.fr = "La visibilité des pages du wiki"
|
||
type = "group"
|
||
default = "visitors"
|
||
|
||
[install.language]
|
||
ask.en = "Choose the application language"
|
||
ask.fr = "Choisissez la langue de l'application"
|
||
type = "select"
|
||
choices = ["en", "fr"]
|
||
default = "en"
|
||
|
||
[install.admin]
|
||
type = "user"
|
||
|
||
[install.password]
|
||
help.en = "The password for the wiki administrator. It needs to be solid or the installation process will fail."
|
||
help.fr = "Le mot de passe de l'administrateur du wiki. Il doit être solide, sinon l'installation échouera."
|
||
type = "password"
|
||
|
||
[install.wiki_name]
|
||
ask.en = "Choose the application name"
|
||
ask.fr = "Choisissez le nom de l'application"
|
||
type = "string"
|
||
default = "YunoWiki"
|
||
|
||
[resources]
|
||
[resources.sources]
|
||
[resources.sources.main]
|
||
url = "https://releases.wikimedia.org/mediawiki/1.40/mediawiki-1.40.0.tar.gz"
|
||
sha256 = "e9c4877718698f082d8096d8a9d16cd9aeb21ee1982a3d8b4603af7cfd158ad4"
|
||
|
||
[resources.sources.ldap_groups]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/1f945caecde46cab9df4682051d0d0cdb9115326.tar.gz"
|
||
sha256 = "26d95e63ab997b68730b1af4493127a35487bfaf3c3f3f4bd1af039f7965717c"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_authorization]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/fbb1c3b384c3cea8b9b8b7023decaa0056860c68.tar.gz"
|
||
sha256 = "027af328f8f230f5bae0b1dd6e7ffe2e27600e12743485c303992d6fd532bd43"
|
||
in_subdir = true
|
||
|
||
[resources.sources.pluggable_auth]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-PluggableAuth/archive/1cbf44824f08347ba4f2a9e7cfef74cc84eeb8cc.tar.gz"
|
||
sha256 = "699ae20b7144d438ece5aeffc3bcf91ad3691182e2213e1ac59a0f06e0d3c869"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_authentication2]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/b83f5d1a400ae6d0a7b714df580d844b7caaeed3.tar.gz"
|
||
sha256 = "d7a6da1283af06995d88ce454c6264b21bf64fc82bf1617a3ee4d04d1d01e729"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_userinfo]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/01a4b9e4f533666fbbd2b51892be47dde671238f.tar.gz"
|
||
sha256 = "180d7944acb9796bf279f1a2b04b2855669f856c2a2904b4b8242993c37f3e0e"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_provider]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/dc89b2fabba95e7cd16af626fe61916983659b12.tar.gz"
|
||
sha256 = "e4685ca5f5ed355a89f049507af27294d72e967879d694c10e0c0c43767b16fa"
|
||
in_subdir = true
|
||
|
||
[resources.system_user]
|
||
|
||
[resources.install_dir]
|
||
|
||
[resources.permissions]
|
||
main.url = "/"
|
||
|
||
[resources.apt]
|
||
packages = "php8.0-fpm php8.0-mysql php8.0-mbstring php8.0-xml php8.0-intl mariadb-server diffutils imagemagick acl"
|
||
|
||
[resources.database]
|
||
type = "mysql"
|