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-09-29 08:13:07 +02:00
|
|
|
|
version = "1.40.1~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-09-29 08:13:07 +02:00
|
|
|
|
url = "https://releases.wikimedia.org/mediawiki/1.40/mediawiki-1.40.1.tar.gz"
|
|
|
|
|
sha256 = "e05d419de40c6ad03145aca07e08cf995d1ca1667d97793bb73970e2c11b0a04"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_groups]
|
2023-12-01 10:21:03 +01:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/6babc982f16ea9b6a6a64d45e55413c663bc6b6f.tar.gz"
|
|
|
|
|
sha256 = "88ce087760726ea61c002c8d4b169b1d3a5421d76d8e4afa916ba55051a9130a"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_authorization]
|
2023-12-01 10:21:03 +01:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/ddf0de6ed25b0eaf69605b83ffb707369ccabaa4.tar.gz"
|
|
|
|
|
sha256 = "d5119a25d1f2885fa947c401570074dd5ff5bb82684df748ed60388ab16ca427"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.pluggable_auth]
|
2023-12-01 10:21:03 +01:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-PluggableAuth/archive/ad994fcc97f2f11d4819a091dbfdd52fac2460d5.tar.gz"
|
|
|
|
|
sha256 = "1d9112b5ec163ce0c96f423eb304b7401d4fb8d81af8ecdb1785e62ca7049d6c"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_authentication2]
|
2023-12-01 10:21:03 +01:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/f303c5544c1fd4bc4332ffbd3395765f9e67316b.tar.gz"
|
|
|
|
|
sha256 = "fa1f62540d22606105914033dd21ced4fbf2bb56c28f84ea1f02c0e244890a4d"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_userinfo]
|
2023-12-01 10:21:03 +01:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/40e886feb9f2e49dbd37888b541919395b1cb059.tar.gz"
|
|
|
|
|
sha256 = "ced9cd10fac674999c70a23bfab43a08e8ebcd112de9a040da6af5c11f86de8f"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_provider]
|
2023-12-01 10:21:03 +01:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/d12e1b453e79b2776c1b2533873e9034b40390bc.tar.gz"
|
|
|
|
|
sha256 = "e98aa5bfdabd80f97bc4a7d94356bcfca3c128f1e49ac6cc68d63e71fed8f927"
|
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"
|