mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
112 lines
3.6 KiB
TOML
112 lines
3.6 KiB
TOML
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.39.1~ynh1"
|
||
|
||
maintainers = ["Salamandar"]
|
||
|
||
[upstream]
|
||
license = "GPL-2.0-or-later"
|
||
website = "https://www.mediawiki.org"
|
||
demo = "https://www.wikipedia.org/, https://www.mediawiki.org/wiki/Project:Sandbox"
|
||
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 = "string"
|
||
choices = ["fr", "en"]
|
||
default = "fr"
|
||
|
||
[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.ldap_groups]
|
||
url = "https://extdist.wmflabs.org/dist/extensions/LDAPGroups-REL1_39-17bfc3f.tar.gz"
|
||
sha256 = "c19aa36fd7fc29871c2db2c0616cddd9bd50c421c75d2ac171ed1fdea2a95b21"
|
||
in_subdir = false
|
||
|
||
[resources.sources.ldap_authorization]
|
||
url = "https://extdist.wmflabs.org/dist/extensions/LDAPAuthorization-REL1_39-8a98b7d.tar.gz"
|
||
sha256 = "4254bea8d17a8a91c951181a8bb619c58f09620b0d0e68a01ba63e7e213d6075"
|
||
in_subdir = false
|
||
|
||
[resources.sources.pluggable_auth]
|
||
url = "https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_39-68bec9b.tar.gz"
|
||
sha256 = "8a7dfacab1b18fd3e35a6b48acfd9322efaf622597311f29f0d268cd3e0e2c21"
|
||
in_subdir = false
|
||
|
||
[resources.sources.ldap_authentication2]
|
||
url = "https://extdist.wmflabs.org/dist/extensions/LDAPAuthentication2-REL1_39-984847c.tar.gz"
|
||
sha256 = "779adf22f715fa5ecd0cb784c7c0cf0fecbffeadd6b81d9e12e8d32c481fcb4d"
|
||
in_subdir = false
|
||
|
||
[resources.sources.main]
|
||
url = "https://releases.wikimedia.org/mediawiki/1.39/mediawiki-1.39.1.tar.gz"
|
||
sha256 = "ddec3f90e1e7b1ac66819178ca81037d3f8084dc577d4ab7732a4b8f980d85f9"
|
||
|
||
[resources.sources.ldap_userinfo]
|
||
url = "https://extdist.wmflabs.org/dist/extensions/LDAPUserInfo-REL1_39-47dc6d3.tar.gz"
|
||
sha256 = "78293e821b6d22109e4900726b6b22f4aadd57701b8437af805ee074ad2a261f"
|
||
in_subdir = false
|
||
|
||
[resources.sources.ldap_provider]
|
||
url = "https://extdist.wmflabs.org/dist/extensions/LDAPProvider-REL1_39-c440a49.tar.gz"
|
||
sha256 = "6e48b1c1cc2f5edfbe1652d65e97912e1f775513d92fc55064c44c6dac0117f9"
|
||
in_subdir = false
|
||
|
||
[resources.system_user]
|
||
|
||
[resources.install_dir]
|
||
|
||
[resources.permissions]
|
||
main.url = "/"
|
||
|
||
[resources.apt]
|
||
packages = "php8.0-fpm php8.0-mysql mariadb-server diffutils imagemagick acl"
|
||
|
||
[resources.database]
|
||
type = "mysql"
|