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.1~ynh1"
|
||
|
||
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.1.tar.gz"
|
||
sha256 = "ec87af95a35dd09c34d52e02795652a030ab72955e431f08ca722a73737eba53"
|
||
|
||
[resources.sources.ldap_groups]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/51572d0ebc907889a769a2ab976a2d9447ff92fd.tar.gz"
|
||
sha256 = "b8530ffcefe563f8d4aa2b5dc0c074623d033b1333df0617cff0245d464cce9d"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_authorization]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/4eaed7ac9d431a08d9ced81989737ce3045977be.tar.gz"
|
||
sha256 = "a3b923b9203af0d4a5548a8af52ef8a38480f0f8a368872249cc0b831205a6a6"
|
||
in_subdir = true
|
||
|
||
[resources.sources.pluggable_auth]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-PluggableAuth/archive/6fc04a931495aaf911a476da2d0c65bf5b806643.tar.gz"
|
||
sha256 = "ed80a5c06826dd8409bf77118313282b82dbf794e0ef510f4a81abe48fe9cf57"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_authentication2]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/8a1c959bf371050c41b212db7a04f41a0ad05da7.tar.gz"
|
||
sha256 = "34bbd4cfc3d1d7830cdb97e3305235c96866a1990a5520bf1629690de792564e"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_userinfo]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/82ae07c5812e279d97e1fcf67028d0c1773e2e59.tar.gz"
|
||
sha256 = "7cab9e4300976a5cbdbbc5bd6d33ce04e52fd8f896ac2972f9649d6991d1ed9c"
|
||
in_subdir = true
|
||
|
||
[resources.sources.ldap_provider]
|
||
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/3cb010e095d1042ae0d3307e68d739449128a844.tar.gz"
|
||
sha256 = "5989ed38923e1074594095db3035fa842c6d2e4b006bfa43f8e7f413b6806ec5"
|
||
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"
|