diff --git a/manifest.json b/manifest.json index a99d682..bc88e9e 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "A free and open source software wiki package written in PHP, originally for use on Wikipedia.", "fr": "Un wiki à base de logiciels libres Open source, développé à l’origine pour Wikipédia ." }, - "version": "1.35.0~ynh2", + "version": "1.35.0~ynh3", "url": "https://www.mediawiki.org", "license": "GPL-2.0-or-later", "maintainer": { diff --git a/scripts/upgrade b/scripts/upgrade index 1d5faf4..7382388 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -184,7 +184,7 @@ password_length=$(ynh_app_setting_get --app="$app" --key=admin_password | awk '{ if (( password_length < 10 )); then ynh_print_warn -m "The current admin password is $password_length long. Mediawiki now requires a 10 chars minimum password." ynh_print_warn -m "We are adapting the minimum length, but that would be great to change the admin password." - echo '$wgPasswordPolicy['policies']['default']['MinimalPasswordLength'] = 10;' >> "$final_path/LocalSettings.php" + echo "\$wgPasswordPolicy['policies']['default']['MinimalPasswordLength'] = 10;" >> "$final_path/LocalSettings.php" fi "php$phpversion" "$final_path/maintenance/update.php"