Purge Main Page: Difference between revisions

From MediaWiki-1.39
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{fullurl:Main Page|action=purge}}
{{fullurl:Main Page|action=purge}}
## Custom logos ##
## The URL paths to the logo.  Make sure you change this from the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogos = [
    '1x' => "/images/tardis-160x160.png",    // relative path to file in document root 
    'icon' => "/resources/assets/tux.png",
];
$wgLogos = [
'1x' => "/lol.png",    // relative path to file in document root
'1.5x' => "https://mywiki.org/w/resources/assets/lol.png",  // full URL to elsewhere
'2x' => "/lol.png",    // relative paths always start with a slash
//  'svg' => "",      // svg key has been deprecated
'icon' => "/lol.png",  // 50×50 SVG or 100×100 PNG (limited support)
'wordmark' =>  [
'src' => "/wordmark_sitename.png",  // image of sitename text (limited support)
'width' => 135,
'height' => 20,
],
'tagline' => [
'src' => "/tagline_subtitle.png",  // image of tagline text without sitename (limited support)
'width' => 135,
'height' => 15,
],
];

Revision as of 22:54, 21 January 2026

https://mw.eckford.ca:443/index.php?title=Main_Page&action=purge

    1. Custom logos ##


    1. The URL paths to the logo. Make sure you change this from the default,
    2. or else you'll overwrite your logo when you upgrade!

$wgLogos = [

   '1x' => "/images/tardis-160x160.png",    // relative path to file in document root  
   'icon' => "/resources/assets/tux.png",

];



$wgLogos = [ '1x' => "/lol.png", // relative path to file in document root '1.5x' => "https://mywiki.org/w/resources/assets/lol.png", // full URL to elsewhere '2x' => "/lol.png", // relative paths always start with a slash // 'svg' => "", // svg key has been deprecated 'icon' => "/lol.png", // 50×50 SVG or 100×100 PNG (limited support) 'wordmark' => [ 'src' => "/wordmark_sitename.png", // image of sitename text (limited support) 'width' => 135, 'height' => 20, ], 'tagline' => [ 'src' => "/tagline_subtitle.png", // image of tagline text without sitename (limited support) 'width' => 135, 'height' => 15, ], ];