mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
128 lines
4 KiB
TOML
128 lines
4 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
||
|
||
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.42.0~ynh2"
|
||
|
||
maintainers = ["Salamandar"]
|
||
|
||
[upstream]
|
||
license = "GPL-2.0-or-later"
|
||
website = "https://www.mediawiki.org"
|
||
demo = "https://www.wikipedia.org"
|
||
admindoc = "https://www.mediawiki.org/wiki/Documentation"
|
||
userdoc = "https://www.mediawiki.org/wiki/Project:Help"
|
||
code = "https://github.com/wikimedia/mediawiki"
|
||
|
||
[integration]
|
||
yunohost = ">= 11.2"
|
||
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 = "select"
|
||
choices = ["en", "fr"]
|
||
default = "en"
|
||
|
||
[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.main]
|
||
url = "https://releases.wikimedia.org/mediawiki/1.42/mediawiki-1.42.0.tar.gz"
|
||
sha256 = "092a39298b9f5d47653ea4c65a694f173ee247d6d313d3be177c779929181a67"
|
||
|
||
[resources.sources.ldap_groups]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/d7ff367d76e19d3fd1e992fbc0b0d3adf380d15b.tar.gz"
|
||
sha256 = "a00ef0b3bb388570b397665b78ffcb8b104f28f7d7ae88d9d828f2aa2a41a60f"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_authorization]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/990f5f5bf8dd11c8e4937809eb1599f2702f8598.tar.gz"
|
||
sha256 = "0161a17415b3f3573a8a22da8ac6616c2689905663df28b7b2a5c88a9c3fafce"
|
||
in_subdir = true
|
||
|
||
[resources.sources.pluggable_auth]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-PluggableAuth/archive/de411792c3005417b27279ce903357cab2e60422.tar.gz"
|
||
sha256 = "97fcf0549e0c60e9ea98e6b9642deaa55124597f040175d9b92e987f7e292024"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_authentication2]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/1ca14ce1be326530a96753a241f90055fc6040e4.tar.gz"
|
||
sha256 = "224cc4c4b019f571b3fa7ae48e3041bf5a67c958708ea8eba870c8fd33f54015"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_userinfo]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/266339f6207cc9c5baf5ef0f9866f6c82d5d2bc4.tar.gz"
|
||
sha256 = "ec3e51368e1a48c83030f66f8f03340f659bf0011dd120ec771413676e06ae67"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_provider]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/5f0b37fa48c2e5486234ce1dba7ec3e8a5b0d255.tar.gz"
|
||
sha256 = "43cac59ed134ea908c55259be52f4429e57f84877745eb441fd0534e255132f2"
|
||
in_subdir = true
|
||
|
||
[resources.system_user]
|
||
|
||
[resources.install_dir]
|
||
|
||
[resources.permissions]
|
||
main.url = "/"
|
||
api.url = "/api"
|
||
api.allowed = "visitors"
|
||
api.auth_header = false
|
||
api.show_tile = false
|
||
|
||
[resources.apt]
|
||
packages = [
|
||
"php8.1-fpm",
|
||
"php8.1-mysql",
|
||
"php8.1-mbstring",
|
||
"php8.1-xml",
|
||
"php8.1-intl",
|
||
"mariadb-server",
|
||
"diffutils",
|
||
"imagemagick",
|
||
"acl",
|
||
]
|
||
|
||
[resources.database]
|
||
type = "mysql"
|