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"
|
|
|
|
|
|
2024-06-28 08:16:01 +02:00
|
|
|
|
version = "1.42.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]
|
2024-06-13 14:17:24 +02:00
|
|
|
|
yunohost = ">= 11.2"
|
2023-04-10 16:33:31 +02:00
|
|
|
|
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]
|
2024-06-28 08:16:01 +02:00
|
|
|
|
url = "https://releases.wikimedia.org/mediawiki/1.42/mediawiki-1.42.1.tar.gz"
|
|
|
|
|
sha256 = "ec87af95a35dd09c34d52e02795652a030ab72955e431f08ca722a73737eba53"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_groups]
|
2024-08-09 08:17:21 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/b416866398d9d69edea13cedf18e0065938e3f48.tar.gz"
|
|
|
|
|
sha256 = "c9fb123a422d248b944e926fc18247ec264f45325c160563df534deba44594a4"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_authorization]
|
2024-08-09 08:17:21 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/d1f680b286466b072ec275c516e63d49e906009e.tar.gz"
|
|
|
|
|
sha256 = "27dd4860305666499d0ac66b97355e749cf949636b8da22954fafa8761b51c3e"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.pluggable_auth]
|
2024-06-19 08:16:04 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-PluggableAuth/archive/de411792c3005417b27279ce903357cab2e60422.tar.gz"
|
|
|
|
|
sha256 = "97fcf0549e0c60e9ea98e6b9642deaa55124597f040175d9b92e987f7e292024"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_authentication2]
|
2024-08-09 08:17:21 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/7bb88f979cc85ae01ef128bc5ee806fe4d44594c.tar.gz"
|
|
|
|
|
sha256 = "e7a58292b03784325485c273ec7775d223dd62225f338cd01bc6b45722cd666b"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_userinfo]
|
2024-08-09 08:17:21 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/9d751aab40857fad1176e081c6ff3061ddb49ce5.tar.gz"
|
|
|
|
|
sha256 = "d63d202524839daddd6dd79f6fb0a22a77618b45cb339812d023b6240f192c6a"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_provider]
|
2024-08-09 08:17:21 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/8765eeacbf80927f8f48a03e6f92dfe47f6901c2.tar.gz"
|
|
|
|
|
sha256 = "f35ea93d09135c8657efebc2502d7e0bd43ec09bbeee89ee372c9bdc8abe55db"
|
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 = "/"
|
2024-06-13 14:26:02 +02:00
|
|
|
|
api.url = "/api"
|
|
|
|
|
api.allowed = "visitors"
|
|
|
|
|
api.auth_header = false
|
|
|
|
|
api.show_tile = false
|
2023-04-10 16:26:24 +02:00
|
|
|
|
|
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"
|