« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/content/dependencies/linkExternal.js5
-rw-r--r--src/strings-default.json2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/content/dependencies/linkExternal.js b/src/content/dependencies/linkExternal.js
index 73c656e3..c6e4d3ba 100644
--- a/src/content/dependencies/linkExternal.js
+++ b/src/content/dependencies/linkExternal.js
@@ -56,6 +56,11 @@ export default {
             : language.$('misc.external.youtube.fullAlbum')
           : language.$('misc.external.youtube')
 
+    : domain.includes('fandom.com')
+        ? domain.includes('mspaintadventures.')
+          ? language.$('misc.external.fandom.mspaintadventures')
+          : language.$('misc.external.fandom')
+
     : domain.includes('soundcloud')
         ? language.$('misc.external.soundcloud')
 
diff --git a/src/strings-default.json b/src/strings-default.json
index 3d662657..00177554 100644
--- a/src/strings-default.json
+++ b/src/strings-default.json
@@ -179,6 +179,8 @@
   "misc.external.bandcamp": "Bandcamp",
   "misc.external.bandcamp.domain": "Bandcamp ({DOMAIN})",
   "misc.external.deviantart": "DeviantArt",
+  "misc.external.fandom": "Fandom",
+  "misc.external.fandom.mspaintadventures": "MSPA Wiki",
   "misc.external.instagram": "Instagram",
   "misc.external.mastodon": "Mastodon",
   "misc.external.mastodon.domain": "Mastodon ({DOMAIN})",