Last modified: 2011-02-10 02:23:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21381, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19381 - Convert user.gif in Monobook to PNG format
Convert user.gif in Monobook to PNG format
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-24 18:14 UTC by Laurence 'GreenReaper' Parry
Modified: 2011-02-10 02:23 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
PNG version of user.gif (437 bytes, image/png)
2009-06-24 18:14 UTC, Laurence 'GreenReaper' Parry
Details
Better-compressed PNG editing toolbar buttons (5.12 KB, application/x-zip-compressed)
2009-06-26 16:52 UTC, Laurence 'GreenReaper' Parry
Details

Description Laurence 'GreenReaper' Parry 2009-06-24 18:14:07 UTC
Created attachment 6259 [details]
PNG version of user.gif

The user.gif file specified by Monobook is unnecessarily large. This PNG version is half the size. The file should be replaced and main.css updated to use it instead (a one-line change), along with any other GIFs hanging around that are larger than their PNG equivalents (this is not always the case).

It might also be a good idea for someone with commit access to look into running pngcrush on the existing PNGs in the skins directory (file icons, buttons, logos, etc). Many appear to be slightly larger than they need to be. Every little helps.

Ideally most skin images would be in a CSS sprite, but one thing at a time . . .
Comment 1 Laurence 'GreenReaper' Parry 2009-06-26 16:52:09 UTC
Created attachment 6277 [details]
Better-compressed PNG editing toolbar buttons

I ran the edit page through Google's Page Speed:
* skins/common/images/button_italic.png: saves 669 bytes (68.6% reduction)
* skins/common/images/button_bold.png: saves 666 bytes (68.1% reduction)
* skins/common/images/button_extlink.png: saves 594 bytes (54.3% reduction)
* skins/common/images/button_image.png saves 473 bytes (42.7% reduction)
* skins/common/images/button_media.png saves 242 bytes (21% reduction)
* skins/common/images/button_link.png saves 90 bytes (20.7% reduction)
* skins/common/images/button_hr.png saves 90 bytes (24.2% reduction)
* skins/common/images/button_sig.png saves 72 bytes (5.9% reduction)
Total saving: 2896 bytes
Comment 2 Laurence 'GreenReaper' Parry 2009-08-09 19:21:00 UTC
Partial fix: PNGs crushed in r54697. 72 files in 10 dirs, 25kb savings.
Comment 3 Laurence 'GreenReaper' Parry 2009-08-10 19:27:50 UTC
It would help if I could type . . . the actual revision was r54679.
Comment 4 Sam Reed (reedy) 2011-02-10 02:23:06 UTC
Just looked at this now...

Yours is 437 bytes, the user.gif is 325 bytes


All your smaller_buttons are out of date (per the crush I imagine)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links