je chercher a rajouter une icone/licence dans le footer a droite aprés le cc/by
la seule chose que j'ai trouver est ceci : https://www.mediawiki.org/wiki/Manual:$wgFooterIcons
et j'ai essayé ceci :
Code : Tout sélectionner
$wgFooterIcons = [
"copyright" => [
"copyright" => [], // placeholder for the built in copyright icon
],
"poweredby" => [
"mediawiki" => [
// Defaults to point at
// "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
// plus srcset for 1.5x, 2x resolution variants.
"src" => null,
"url" => "https://www.mediawiki.org/",
"alt" => "Powered by MediaWiki",
]
],
];
ça n'a pas l'air d'affecter la page..
j'ai loupé un indice ?
Plus de café ?
une vitamine C ?
Edit :
Ils donnent ce code , je vais faire un essais entre temps
Code : Tout sélectionner
$wgFooterIcons['poweredby']['myicon'] = [
"src" => "/path/to/my/image.png",
// you may also use a direct path to the source, e.g. "http://example.com/my/custom/path/to/MyCustomLogo.png"
"url" => "http://example.com/",
"alt" => "Some text here...",
// For HiDPI support, you can specify paths to larger versions of the icon.
"srcset" =>
"/path/to/1.5x_version.png 1.5x, " .
"/path/to/2x_version.png 2x",
// If you have a non-default sized icon you can specify the size yourself.
"height" => "31",
"width" => "88",
];