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-27 08:17:31 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/51572d0ebc907889a769a2ab976a2d9447ff92fd.tar.gz"
|
|
|
|
|
sha256 = "b8530ffcefe563f8d4aa2b5dc0c074623d033b1333df0617cff0245d464cce9d"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_authorization]
|
2024-08-27 08:17:31 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/4eaed7ac9d431a08d9ced81989737ce3045977be.tar.gz"
|
|
|
|
|
sha256 = "a3b923b9203af0d4a5548a8af52ef8a38480f0f8a368872249cc0b831205a6a6"
|
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-27 08:17:31 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/8a1c959bf371050c41b212db7a04f41a0ad05da7.tar.gz"
|
|
|
|
|
sha256 = "34bbd4cfc3d1d7830cdb97e3305235c96866a1990a5520bf1629690de792564e"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_userinfo]
|
2024-08-27 08:17:31 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/82ae07c5812e279d97e1fcf67028d0c1773e2e59.tar.gz"
|
|
|
|
|
sha256 = "7cab9e4300976a5cbdbbc5bd6d33ce04e52fd8f896ac2972f9649d6991d1ed9c"
|
2023-09-15 16:22:44 +02:00
|
|
|
|
in_subdir = true
|
|
|
|
|
|
|
|
|
|
[resources.sources.ldap_provider]
|
2024-08-27 08:17:31 +02:00
|
|
|
|
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/3cb010e095d1042ae0d3307e68d739449128a844.tar.gz"
|
|
|
|
|
sha256 = "5989ed38923e1074594095db3035fa842c6d2e4b006bfa43f8e7f413b6806ec5"
|
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"
|