#: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.40.0~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.1.17" 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.40/mediawiki-1.40.0.tar.gz" sha256 = "e9c4877718698f082d8096d8a9d16cd9aeb21ee1982a3d8b4603af7cfd158ad4" [resources.sources.ldap_groups] url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/1f945caecde46cab9df4682051d0d0cdb9115326.tar.gz" sha256 = "26d95e63ab997b68730b1af4493127a35487bfaf3c3f3f4bd1af039f7965717c" in_subdir = true [resources.sources.ldap_authorization] url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/fbb1c3b384c3cea8b9b8b7023decaa0056860c68.tar.gz" sha256 = "027af328f8f230f5bae0b1dd6e7ffe2e27600e12743485c303992d6fd532bd43" in_subdir = true [resources.sources.pluggable_auth] url = "https://github.com/wikimedia/mediawiki-extensions-PluggableAuth/archive/8104ed91f386ddbd03ece9a390f9b23f4f6eb4b3.tar.gz" sha256 = "8f9648cd862ad4f24d28a595d51b82f398b7bddaec9a0a5f82058a5d4a34e08a" in_subdir = true [resources.sources.ldap_authentication2] url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/b83f5d1a400ae6d0a7b714df580d844b7caaeed3.tar.gz" sha256 = "d7a6da1283af06995d88ce454c6264b21bf64fc82bf1617a3ee4d04d1d01e729" in_subdir = true [resources.sources.ldap_userinfo] url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/01a4b9e4f533666fbbd2b51892be47dde671238f.tar.gz" sha256 = "180d7944acb9796bf279f1a2b04b2855669f856c2a2904b4b8242993c37f3e0e" in_subdir = true [resources.sources.ldap_provider] url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/cc5cb2c1dd433695bf351c72e77775115db6cef7.tar.gz" sha256 = "e8ca8c6f7e77836947ddbd91260922f3ba429d4201d7c80cac322dadcbcda367" in_subdir = true [resources.system_user] [resources.install_dir] [resources.permissions] main.url = "/" [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"