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-10-03 08:13:43 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/962dcfe5f68241057d6489da2b23f202bf7490f4.tar.gz"
|
|
|
|
|
sha256 = "cd3854f89f240675b14f3472c381a21dcf1254fb11813202879ad25816ddca2b"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_authorization]
|
2023-10-03 08:13:43 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/07d09d82fa0e0118622ceff73e9fe00a7f8f3d7c.tar.gz"
|
|
|
|
|
sha256 = "6123f5d845dea1c958aa7c85ea1122021e1815c29e1c4ddf3163ba8f23d5f145"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.pluggable_auth]
|
2023-10-03 08:13:43 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-PluggableAuth/archive/e952f133e964c6eb29357083f78da1178c670c19.tar.gz"
|
|
|
|
|
sha256 = "089eb59624cca819cc1b40246ec103a482d5b73c50e2de1058e9324e965fe10e"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_authentication2]
|
2023-10-03 08:13:43 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/42ec3c8d8d92780f51bdce53d5fae4006f82b31e.tar.gz"
|
|
|
|
|
sha256 = "c1c1b2e4cd92ccaca91a62e88a2ed4aae9c5190ecb19d328f33d3382a778f0b0"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_userinfo]
|
2023-10-03 08:13:43 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/2fda62c6831885a5f8e6430f017ac4278858e87b.tar.gz"
|
|
|
|
|
sha256 = "d4894386773dc797509d538eb69d8feb118b9d054608a9d7c52ecbd181d3dfc6"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_provider]
|
2023-11-15 07:13:55 +01:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/a924578191e0c29469ec2a05df4e3596bc176204.tar.gz"
|
|
|
|
|
sha256 = "f1ccbea8eca5398c561c18cfb8050d721f76b1b1fb5b45060629172c6dd7fe49"
|
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"
|