From d55a6d8be2808d12001bce5d827ff7e533780149 Mon Sep 17 00:00:00 2001 From: lens0021 Date: Wed, 16 Jun 2021 17:25:45 +0900 Subject: [PATCH] Add meta tags https://github.com/femiwiki/docker-mediawiki/issues/549 --- configs/LocalSettings.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/configs/LocalSettings.php b/configs/LocalSettings.php index 0e8b6c8a..6428c2e8 100644 --- a/configs/LocalSettings.php +++ b/configs/LocalSettings.php @@ -163,14 +163,21 @@ // Changing this will log out all existing sessions. $wgAuthenticationTokenVersion = '1'; -## For attaching licensing metadata to pages, and displaying an -## appropriate copyright notice / icon. GNU Free Documentation -## License and Creative Commons licenses are supported so far. +// For attaching licensing metadata to pages, and displaying an +// appropriate copyright notice / icon. GNU Free Documentation +// License and Creative Commons licenses are supported so far. $wgRightsPage = '페미위키:저작권'; $wgRightsUrl = 'https://creativecommons.org/licenses/by-sa/4.0/deed.ko'; $wgRightsText = '크리에이티브 커먼즈 저작자표시-동일조건변경허락 4.0 국제 라이선스'; $wgRightsIcon = "$wgResourceBasePath/resources/assets/licenses/cc-by-sa.png"; +// Open graph tags which should be added by all skins +$wgSkinMetaTags = [ + 'og:title', + 'og:type', + 'twitter:card', +]; + // Path to the GNU diff3 utility. Used for conflict resolution. $wgDiff3 = '/usr/bin/diff3';