From fdb97832cfcf333fa811b3d4613f40c319b89b34 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Wed, 25 Dec 2019 16:49:56 -0500 Subject: [PATCH 1/3] Fixed broken link from contact button --- includes/CitizenTemplate.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/CitizenTemplate.php b/includes/CitizenTemplate.php index b722e7f9..84f2ff97 100644 --- a/includes/CitizenTemplate.php +++ b/includes/CitizenTemplate.php @@ -96,9 +96,9 @@ class CitizenTemplate extends BaseTemplate { */ protected function getBottomBar() { - $linkDiscord = 'https://discord.gg/3kjftWK'; - $titleDiscord = 'Contact Us on Discord'; - $textDiscord = 'Discord'; + $linkButton = 'https://discord.gg/3kjftWK'; + $titleButton = 'Contact Us on Discord'; + $textButton = 'Discord'; /* $linkButton = $this->getConfig()->get( 'CitizenButtonLink' ); From bfa10edab92790ca756ffe83f28fe5df07332b96 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Wed, 25 Dec 2019 17:10:19 -0500 Subject: [PATCH 2/3] Attempt to fix image class --- includes/CitizenHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/CitizenHooks.php b/includes/CitizenHooks.php index 2390977d..37fa7015 100644 --- a/includes/CitizenHooks.php +++ b/includes/CitizenHooks.php @@ -65,7 +65,7 @@ class CitizenHooks { if (isset($wgTitle) && $wgTitle->getNamespace() === NS_FILE) return true; // Set lazy class for the img - $attribs['class'] = 'lazy'; + $attribs['class'] .= 'lazy'; // Native API $attribs['loading'] = 'lazy'; From 94d15bb48360e179b79911253862f390cc83eae1 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Wed, 25 Dec 2019 17:33:52 -0500 Subject: [PATCH 3/3] Attempt to fix image class #2 --- includes/CitizenHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/CitizenHooks.php b/includes/CitizenHooks.php index 37fa7015..397c1ff5 100644 --- a/includes/CitizenHooks.php +++ b/includes/CitizenHooks.php @@ -65,7 +65,7 @@ class CitizenHooks { if (isset($wgTitle) && $wgTitle->getNamespace() === NS_FILE) return true; // Set lazy class for the img - $attribs['class'] .= 'lazy'; + $attribs['class'] .= ' lazy'; // Native API $attribs['loading'] = 'lazy';