mediawiki: Add powered by freedombox logo

Signed-off-by: nbenedek <contact@nbenedek.me>
[sunil: Convert the PNG to SVG and use it for all sizes]S
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
nbenedek 2022-08-27 12:18:36 +02:00 committed by Sunil Mohan Adapa
parent 1494c3cf8b
commit 178941079e
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 232 additions and 0 deletions

View File

@ -52,3 +52,13 @@ wfLoadExtension( 'MultimediaViewer' );
wfLoadExtension( 'Renameuser' );
wfLoadExtension( 'VisualEditor' );
wfLoadExtension( 'WikiEditor' );
# Add a "Powered by FreedomBox" footer icon
$wgExtensionFunctions[] = function () {
global $wgFooterIcons, $wgResourceBasePath;
$wgFooterIcons['poweredby']['freedombox'] = [
'src' => "$wgResourceBasePath/resources/assets/freedombox/poweredby_freedombox.svg",
'url' => 'https://freedombox.org/',
'alt' => 'Powered by FreedomBox',
];
};

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 22 KiB