Skip to content

Commit

Permalink
Remove unused URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 authored Feb 27, 2024
1 parent 8130340 commit cbdc192
Showing 1 changed file with 14 additions and 24 deletions.
38 changes: 14 additions & 24 deletions config/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,11 @@
'useNonces' => true,
'unsafeFallback' => false,
'script-src' => [
'\'self\'',
'https://analytics.starcitizen.tools'
'\'self\''
],
'default-src' => [
'\'self\'',
'https://api.flickr.com',
'https://analytics.starcitizen.tools'
'https://api.flickr.com'
],
'style-src' => [ '\'self\'', ],
'object-src' => [ '\'none\'' ],
Expand Down Expand Up @@ -513,26 +511,18 @@
$wgTemplateStylesAllowedUrls = [
"audio" => [
"<^https://starcitizen\\.tools/>",
"<^https://media\\.starcitizen\\.tools/>",
"<^https://scwdev\\.czen\\.me/>",
"<^https://dev\\.starcitizen\\.tools/>"
"<^https://media\\.starcitizen\\.tools/>"
],
"image" => [
"<^https://starcitizen\\.tools/>",
"<^https://media\\.starcitizen\\.tools/>",
"<^https://scwdev\\.czen\\.me/>",
"<^https://dev\\.starcitizen\\.tools/>"
"<^https://media\\.starcitizen\\.tools/>"
],
"svg" => [
"<^https://starcitizen\\.tools/[^?#]*\\.svg(?:[?#]|$)>",
"<^https://media\\.starcitizen\\.tools/[^?#]*\\.svg(?:[?#]|$)>",
"<^https://scwdev\\.czen\\.me/[^?#]*\\.svg(?:[?#]|$)>",
"<^https://dev\\.starcitizen\\.tools/>"
"<^https://media\\.starcitizen\\.tools/[^?#]*\\.svg(?:[?#]|$)>"
],
"font" => [
"<^https://starcitizen\\.tools/>",
"<^https://scwdev\\.czen\\.me/>",
"<^https://dev\\.starcitizen\\.tools/>"
"<^https://starcitizen\\.tools/>"
],
"namespace" => [
"<.>"
Expand Down Expand Up @@ -982,14 +972,14 @@
],
$sk->msg( 'cookiestatement' )->text()
);
$footerlinks['analytics'] = Html::element(
'a',
[
'href' => 'https://analytics.starcitizen.tools/starcitizen.tools',
'rel' => $rel
],
$sk->msg( 'footer-analytics' )->text()
);
#$footerlinks['analytics'] = Html::element(
# 'a',
# [
# 'href' => 'https://analytics.starcitizen.tools/starcitizen.tools',
# 'rel' => $rel
# ],
# $sk->msg( 'footer-analytics' )->text()
#);
$footerlinks['statuspage'] = Html::element(
'a',
[
Expand Down

0 comments on commit cbdc192

Please sign in to comment.