2023-09-04 13:34:37 +02:00
|
|
|
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
|
|
2023-04-10 16:26:24 +02:00
|
|
|
|
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"
|
|
|
|
|
|
2023-07-28 08:12:46 +02:00
|
|
|
|
version = "1.40.0~ynh1"
|
2023-04-10 16:26:24 +02:00
|
|
|
|
|
|
|
|
|
maintainers = ["Salamandar"]
|
|
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
|
license = "GPL-2.0-or-later"
|
|
|
|
|
website = "https://www.mediawiki.org"
|
2023-07-24 13:18:52 +02:00
|
|
|
|
demo = "https://www.wikipedia.org"
|
2023-04-10 16:26:24 +02:00
|
|
|
|
admindoc = "https://www.mediawiki.org/wiki/Documentation"
|
|
|
|
|
userdoc = "https://www.mediawiki.org/wiki/Project:Help"
|
|
|
|
|
code = "https://github.com/wikimedia/mediawiki"
|
|
|
|
|
|
|
|
|
|
[integration]
|
2023-04-10 16:33:31 +02:00
|
|
|
|
yunohost = ">= 11.1.17"
|
|
|
|
|
architectures = "all"
|
2023-04-10 16:26:24 +02:00
|
|
|
|
multi_instance = true
|
2023-04-10 16:33:31 +02:00
|
|
|
|
ldap = true
|
2023-04-10 16:39:35 +02:00
|
|
|
|
sso = false
|
2023-04-10 16:33:31 +02:00
|
|
|
|
disk = "50M"
|
|
|
|
|
ram.build = "50M"
|
|
|
|
|
ram.runtime = "50M"
|
2023-04-10 16:26:24 +02:00
|
|
|
|
|
|
|
|
|
[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"
|
2023-07-24 13:18:52 +02:00
|
|
|
|
type = "select"
|
|
|
|
|
choices = ["en", "fr"]
|
|
|
|
|
default = "en"
|
2023-04-10 16:26:24 +02:00
|
|
|
|
|
|
|
|
|
[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]
|
2023-09-15 16:22:44 +02:00
|
|
|
|
[resources.sources.main]
|
2023-07-28 08:12:46 +02:00
|
|
|
|
url = "https://releases.wikimedia.org/mediawiki/1.40/mediawiki-1.40.0.tar.gz"
|
|
|
|
|
sha256 = "e9c4877718698f082d8096d8a9d16cd9aeb21ee1982a3d8b4603af7cfd158ad4"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_groups]
|
2023-08-29 08:13:06 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/1f945caecde46cab9df4682051d0d0cdb9115326.tar.gz"
|
|
|
|
|
sha256 = "26d95e63ab997b68730b1af4493127a35487bfaf3c3f3f4bd1af039f7965717c"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_authorization]
|
2023-08-29 08:13:06 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/fbb1c3b384c3cea8b9b8b7023decaa0056860c68.tar.gz"
|
|
|
|
|
sha256 = "027af328f8f230f5bae0b1dd6e7ffe2e27600e12743485c303992d6fd532bd43"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.pluggable_auth]
|
2023-09-15 16:29:46 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-PluggableAuth/archive/8104ed91f386ddbd03ece9a390f9b23f4f6eb4b3.tar.gz"
|
|
|
|
|
sha256 = "8f9648cd862ad4f24d28a595d51b82f398b7bddaec9a0a5f82058a5d4a34e08a"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_authentication2]
|
2023-08-29 08:13:06 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/b83f5d1a400ae6d0a7b714df580d844b7caaeed3.tar.gz"
|
|
|
|
|
sha256 = "d7a6da1283af06995d88ce454c6264b21bf64fc82bf1617a3ee4d04d1d01e729"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_userinfo]
|
2023-08-29 08:13:06 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/01a4b9e4f533666fbbd2b51892be47dde671238f.tar.gz"
|
|
|
|
|
sha256 = "180d7944acb9796bf279f1a2b04b2855669f856c2a2904b4b8242993c37f3e0e"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_provider]
|
2023-08-29 08:13:06 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/dc89b2fabba95e7cd16af626fe61916983659b12.tar.gz"
|
|
|
|
|
sha256 = "e4685ca5f5ed355a89f049507af27294d72e967879d694c10e0c0c43767b16fa"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
2023-04-10 16:26:24 +02:00
|
|
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
|
main.url = "/"
|
|
|
|
|
|
2023-04-10 16:33:31 +02:00
|
|
|
|
[resources.apt]
|
2023-09-04 15:08:22 +02:00
|
|
|
|
packages = [
|
|
|
|
|
"php8.1-fpm",
|
|
|
|
|
"php8.1-mysql",
|
|
|
|
|
"php8.1-mbstring",
|
|
|
|
|
"php8.1-xml",
|
|
|
|
|
"php8.1-intl",
|
|
|
|
|
"mariadb-server",
|
|
|
|
|
"diffutils",
|
|
|
|
|
"imagemagick",
|
|
|
|
|
"acl",
|
|
|
|
|
]
|
2023-04-10 16:33:31 +02:00
|
|
|
|
|
2023-04-10 16:26:24 +02:00
|
|
|
|
[resources.database]
|
|
|
|
|
type = "mysql"
|