Skip to content

Commit ab20b94

Browse files
committed
MBS-13257: Show Hörspielforscher links in the sidebar
1 parent 6195993 commit ab20b94

File tree

5 files changed

+26
-0
lines changed

5 files changed

+26
-0
lines changed

lib/MusicBrainz/Server/Data/URL.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ my %URL_SPECIALIZATIONS = (
8989
'Goodreads' => qr{^https?://(?:www\.)?goodreads\.com/}i,
9090
'Gutenberg' => qr{^https?://(?:www\.)?gutenberg\.org/}i,
9191
'HMikuWiki' => qr{^https?://www5\.atwiki\.jp/hmiku/}i,
92+
'Hoerspielforscher' => qr{^https?://hoerspielforscher\.de/}i,
9293
'Hoick' => qr{^https?://(?:www\.)?hoick\.jp/}i,
9394
'IBDb' => qr{^https?://(?:www\.)?ibdb\.com/}i,
9495
'IdRef' => qr{^https?://(?:www\.)?idref\.fr/}i,
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package MusicBrainz::Server::Entity::URL::Hoerspielforscher;
2+
3+
use Moose;
4+
use utf8;
5+
6+
extends 'MusicBrainz::Server::Entity::URL';
7+
with 'MusicBrainz::Server::Entity::URL::Sidebar';
8+
9+
sub sidebar_name { 'Die Hörspielforscher' }
10+
11+
__PACKAGE__->meta->make_immutable;
12+
no Moose;
13+
1;
14+
15+
=head1 COPYRIGHT AND LICENSE
16+
17+
Copyright (C) 2025 MetaBrainz Foundation
18+
19+
This file is part of MusicBrainz, the open internet music database,
20+
and is licensed under the GPL version 2, or (at your option) any
21+
later version: http://www.gnu.org/licenses/gpl-2.0.txt
22+
23+
=cut
2.18 KB
Loading

root/static/scripts/common/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export const FAVICON_CLASSES: {
134134
'geonames.org': 'geonames',
135135
'goodreads.com': 'goodreads',
136136
'gutenberg.org': 'gutenberg',
137+
'hoerspielforscher.de': 'hoerspielforscher',
137138
'hoick.jp': 'hoick',
138139
'ibdb.com': 'ibdb',
139140
'idref.fr': 'idref',

root/static/styles/favicons.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
.favicon("goodreads", 32);
8080
.favicon("gutenberg", 32);
8181
.favicon("hmikuwiki", 32);
82+
.favicon("hoerspielforscher", 32);
8283
.favicon("hoick", 16);
8384
.favicon("ibdb");
8485
.favicon("idref", 32);

0 commit comments

Comments
 (0)