Commit graph

10 commits

Author SHA1 Message Date
Amir Sarabadani
ba3a2b0c40 Use the new mediawiki logos
These logos are approved as part of a community decision making in https://w.wiki/33kx
(Long URL [1]). The rights have been transferred to WMF now.

License: CC-BY-SA 4.0
Author: https://commons.wikimedia.org/wiki/User:Serhio_Magpie
Source: https://commons.wikimedia.org/wiki/Category:MediaWiki_logo_(2020)
[1]: https://www.mediawiki.org/wiki/Project:Proposal_for_changing_logo_of_MediaWiki,_2020

Bug: T268230
Change-Id: Ia588ca79a721f4796e7fe688dd7e538a009f706d
2021-04-01 01:22:33 +02:00
James D. Forrester
fe30f37e6d Update you-should-set-a-logo reminder to point to $wgLogos, not $wgLogo
Bug: T232140
Change-Id: I7264d71aa27b971076e1be6d3fd5b167551f6f45
2020-02-24 18:52:07 +00:00
Cormac Parle
bc13d69637 Added file icon for mp3 files
Bug: T182139
Change-Id: Ib834ef5b0bb15b3981288b2e711107830dcb5af8
2017-12-06 16:13:27 +00:00
Timo Tijhof
72306c9d53 installer: Update assets README to mention public-domain.png.
Follows-up be0b28d4. This way it'll be found when searching for the file.

Change-Id: I57fafa0b3e6a63a61f7c67e3279ee875eae2a344
2016-08-17 15:56:17 -07:00
Kunal Mehta
be0b28d475 installer: Remove "public domain" option in favor of CC-0
Some people don't consider "public domain" to be a valid license
statement, so for new wikis it's better to avoid it entirely. CC-0 works
around all of those issues, so we should be encouraging that instead.

Also it's confusing to have two "public domain" options right next to
each other.

The asset needs to stay so existing wikis that picked "public domain"
don't break.

Bug: T122916
Change-Id: I3c380f79a4f27d4793b84602002f3db5c399ac32
2016-08-17 13:31:31 +10:00
Ori Livneh
9fe0c54a79 Compress PNGs with zopflipng
Zopfli is the most efficient DEFLATE compression algorithm, trading run-time
performance for file sizes that are typically 3-8% smaller than those produced
by zlib with the maximum compression setting. Its output is Deflate-compatible,
so no specialized decoder is needed.

This change was created by running zopflipng against all the PNG files in this
repository. The exact invocation was:

  git ls-files --exclude-per-directory=.gitignore -- '*.png' \|
    parallel zopflipng -m -y {} {} \;

Files which zopflipng was not able to compress more efficiently were left unmodified.

Bug: T127608
Change-Id: Ia9c70cf35da489985af39df1f8b58469eb4813fd
2016-02-21 19:15:23 +00:00
Brion Vibber
f0f2435db2 Add HiDPI PNG variants for 'Powered by MediaWiki' footer icon
Added 1.5x and 2x-density variants of the 'Powered by MediaWiki' footer
icon, built from this SVG version on Commons:

  https://commons.wikimedia.org/wiki/File:Powered_by_MediaWiki.svg

Note the SVG version is too large to use directly right now as it
contains a huge amount of detail; the PNGs are only a few KiB.

Renderings from Commons taken and run through pngcrush.

Note that adding 'srcset' attributes to footer icons appears to work
just fine here, so can be done for others.

Bug: T65872
Change-Id: I785d21add456eeddb6ed1ee36a1906d178323e63
2015-01-23 21:27:24 +00:00
Ricordisamoa
12dec5d85d Fix some stuttering in comments and documentation
Change-Id: I9c0088b9aab37335203cad45a1d6fa8ac3f43321
2014-12-17 19:44:10 +00:00
Bartosz Dziewoński
96b3dd0ae3 Move default logo to resources/assets/ directory
The problem here is that the path to 'wiki.png' is saved in users'
LocalSettings.

We likely should not remap the path, like we did for footer license
icons in Ic7c32e56:

* It's likely that users changed their logo image by overwriting the
  file in skins/common/.
* If the normal upgrade process is followed (overwrite-uploading new
  files), the old file will still be there with the skins/common/
  directory.
* If it does cause problems, they'll be rather easy to notice and fix.

On the other hand, maybe we should?

* This is going to be annoying for git users.
* It will bite anyone who deletes all MediaWiki files when upgrading
  via tarball, which is more likely with the recent skin system
  changes encouraging users to remove old cruft from skins/ directory.

Bug: 69277
Change-Id: I175fe57048ebf9d348fb2fe67bf62cf5df389003
2014-09-20 20:45:50 +00:00
Bartosz Dziewoński
1cf5a6e9d3 Move assets/ to resources/assets/
While it's "semantically" incorrect (these files are not
ResourceLoader resources), putting them in that subdirectory is a lot
less hassle than introducing a new toplevel directory.

Follow-up to 2b4b9a3f. Discussion that resulted in the toplevel
assets/ took place on I6268d663 (now abandoned).

Change-Id: Iedbfd802457fe35803899e3479540177760ec30b
2014-09-17 21:39:03 +02:00