mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
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:
parent
1494c3cf8b
commit
178941079e
@ -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 |
Loading…
x
Reference in New Issue
Block a user