rev 1596
(4 files +5-12, 21kb)
+ And it's time for this dreaded rewrite of the CSS caching code... It still needs some work (especially with the replace suffix), but it works for now, so let's get it over with. Basically, instead of checking whether files exist (index.mysuffix.css), Wedge will instead go through all of the files and decide whether they should be included, allowing you to use comma-separated lists of suffixes, which solves an AWFUL lot of problems. It was harder to implement as it sounds, if only because Wedge needs to sort all files at the end of the process, while the original implementation was naturally sorted. (Subs-Cache.php, editor.*.css, media.*.css, zoom.*.css, Wine/index.*.css, Warm/index.*.css)
+ As mentioned, added a 'replace' suffix to the list of accepted CSS suffixes. This will basically delete any prior file with the same radix (index, sections, mana...) found in the CSS file list, i.e. files from a parent skin, allowing you to create an add-type skin and still benefit from a complete rewrite of, say, sections.css. (Subs-Cache.php, Load.php)
+ Added support for m, b and c suffixes, followed by a number. 'm1' will restrict a CSS file to member #1, 'b1' to board #1 and 'c1' to category #1. And another many issues were instantly solved. (Load.php)
! Canonical URLs for category pages were pointing to the homepage. (Boards.php)
* Replaced quote tag's quote icon with dynamically generated CSS. It doesn't look exactly the same across all browsers, but it saves 150 bytes off the final gzipped CSS file. I'm all for that... (index.css, quote.png)