Строка 102: |
Строка 102: |
| <!-- /table --> | | <!-- /table --> |
| |} | | |} |
− | $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",
| |
− | ];
| |