Last modified: 2012-10-02 18:02:48 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 T19899, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17899 - Combine CSS/JS and load from a script
Combine CSS/JS and load from a script
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-09 23:35 UTC by Mike.lifeguard
Modified: 2012-10-02 18:02 UTC (History)
4 users (show)

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


Attachments

Description Mike.lifeguard 2009-03-09 23:35:48 UTC
Per bug 15154 comment 4, please create a script which combines css/js files so we're making fewer requests to get everything. In addition, this script might minify js, and accept a ?deminify=yes parameter for debugging.

This has been bandied about in circles for a while, so anyone wishing to implement this would do well to review the discussion on wikitech-l (or maybe mediawiki-l?) if they're not already familiar with it.
Comment 1 Bryan Baron 2009-09-24 21:57:10 UTC
[[mw:Extension:Minify]]?
Comment 2 David 2010-04-13 13:24:09 UTC
(In reply to comment #1)
> [[mw:Extension:Minify]]?

This extension only shrinks the JS and CSS served by a PHP script. It doesn't touch JS and CSS from static .js and .css files, and more importantly doesn't combine all of them into one single JS and one single CSS file.
Comment 3 db [inactive,noenotif] 2012-10-02 17:57:04 UTC
Done as part of the ResourceLoader?

http://www.mediawiki.org/wiki/ResourceLoader
Comment 4 Krinkle 2012-10-02 18:02:48 UTC
Indeed, obsolete.

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


Navigation
Links