From 9ef7bbf9a3a55c4bb4dd0d5307e7fcfca47d4019 Mon Sep 17 00:00:00 2001 From: Desour Date: Sat, 25 Nov 2023 16:01:00 +0100 Subject: [PATCH] Fix weblink to Database_backends wiki page `clickable_chat_weblinks` considers the `.` at the end as part of the URI, and opens . Note that using angle brackets (``) is sadly also not supported by `clickable_chat_weblinks`. --- src/server.cpp | 2 +- src/serverenvironment.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index 07f15b3f0..b1bc3e222 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -4085,7 +4085,7 @@ ModStorageDatabase *Server::openModStorageDatabase(const std::string &world_path warningstream << "/!\\ You are using the old mod storage files backend. " << "This backend is deprecated and may be removed in a future release /!\\" << std::endl << "Switching to SQLite3 is advised, " - << "please read http://wiki.minetest.net/Database_backends." << std::endl; + << "please read http://wiki.minetest.net/Database_backends ." << std::endl; return openModStorageDatabase(backend, world_path, world_mt); } diff --git a/src/serverenvironment.cpp b/src/serverenvironment.cpp index c54fee6c4..7e99f89d1 100644 --- a/src/serverenvironment.cpp +++ b/src/serverenvironment.cpp @@ -485,14 +485,14 @@ void ServerEnvironment::init() warningstream << "/!\\ You are using old player file backend. " << "This backend is deprecated and will be removed in a future release /!\\" << std::endl << "Switching to SQLite3 or PostgreSQL is advised, " - << "please read http://wiki.minetest.net/Database_backends." << std::endl; + << "please read http://wiki.minetest.net/Database_backends ." << std::endl; } if (auth_backend_name == "files") { warningstream << "/!\\ You are using old auth file backend. " << "This backend is deprecated and will be removed in a future release /!\\" << std::endl << "Switching to SQLite3 is advised, " - << "please read http://wiki.minetest.net/Database_backends." << std::endl; + << "please read http://wiki.minetest.net/Database_backends ." << std::endl; } m_player_database = openPlayerDatabase(player_backend_name, m_path_world, conf);