From 157404fb0c9926e4d5219257775f7e6cac921ae6 Mon Sep 17 00:00:00 2001
From: Ben Harris
Date: Fri, 17 Sep 2021 14:07:44 -0400
Subject: [PATCH] normalize webchat links
---
badges/shieldsio.php | 4 ++--
gen_stats | 2 +-
index.php | 2 +-
stats/index.php | 2 +-
wiki/pages/hamradio.md | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/badges/shieldsio.php b/badges/shieldsio.php
index b675e9a..c148092 100644
--- a/badges/shieldsio.php
+++ b/badges/shieldsio.php
@@ -1,14 +1,14 @@
[]);
foreach ($stats->channels as $key=>$channel) {
if ($channel->name==$channel_name) {
- return "https://img.shields.io/badge/dynamic/json.svg?url=https://tilde.chat/stats.json&label=~chat&query=$.channels[$key].usercount&suffix=%20online%20on%20{$name_url}&link=https:%2F%2Ftilde.chat&link=https:%2F%2Fkiwi.tilde.chat%2F{$name_link}&colorB=%2300cc00";
+ return "https://img.shields.io/badge/dynamic/json.svg?url=https://tilde.chat/stats.json&label=~chat&query=$.channels[$key].usercount&suffix=%20online%20on%20{$name_url}&link=https:%2F%2Ftilde.chat&link=https:%2F%2Ftilde.chat%2Fkiwi%2F{$name_link}&colorB=%2300cc00";
}
}
return "https://img.shields.io/badge/~chat-invalid%20channel-red.svg";
diff --git a/gen_stats b/gen_stats
index 247c53d..80a0f2b 100755
--- a/gen_stats
+++ b/gen_stats
@@ -51,7 +51,7 @@ for c in root.findall("./channellist/channel"):
name=name,
topic=unsanitize(c.find("./channeltopic/topictext"), "no topic set"),
usercount=int(c.find("usercount").text),
- webchatlink="https://kiwi.tilde.chat/" + name,
+ webchatlink="https://tilde.chat/kiwi/" + name,
)
)
diff --git a/index.php b/index.php
index 2148df8..fb51ef0 100644
--- a/index.php
+++ b/index.php
@@ -14,7 +14,7 @@
na.tilde.chat, eu.tilde.chat, and au.tilde.chat on port 6697 with ssl/tls.
plaintext on localhost port 6667 is available at a shell on tildes that run chat nodes (port 7766 on ~town)
- if you don't have a client ready to go, try using our webchat.
+ if you don't have a client ready to go, try using our webchat.
you can also connect from any xmpp client with our biboumi gateway.
it runs on tilde.team's xmpp server.
diff --git a/stats/index.php b/stats/index.php
index 311318a..e946d6b 100644
--- a/stats/index.php
+++ b/stats/index.php
@@ -13,7 +13,7 @@ include __DIR__."/../header.php";
diff --git a/wiki/pages/hamradio.md b/wiki/pages/hamradio.md
index 33b2aa6..a52f6ab 100644
--- a/wiki/pages/hamradio.md
+++ b/wiki/pages/hamradio.md
@@ -19,4 +19,4 @@ This is a list of callsigns of tildeverse members.
- [KK6GET = NoraCodes](//tilde.town/~noracodes)
- [NV0N = jjs](//jjs.tilde.team)
-A ham radio operator channel is available: [#hamradio](https://kiwi.tilde.chat/#hamradio).
+A ham radio operator channel is available: [#hamradio](https://tilde.chat/kiwi/#hamradio).