Extension talk:CSS/Archive

Parser-caching problem
There's a bug which is causing the CSS to intermitently not get included in the page and I haven't been able to figure out how to fix it yet. This is why the status of the extension has been returned to "beta". There's an example of this extension in use at CSS example, if the page has big coloured spots in the background, the the css has been included properly.
 * The bug is probably related to parser caching as I didn't see any provision in your code to account for this functionality. Jean-Lou Dupont 23:50, 24 August 2007 (UTC)
 * Thanks a lot! that was the problem :-) --Nad 23:58, 24 August 2007 (UTC)

Produces Invalid HTML
The URLs generated contain ampersands which are not properly escaped, so wiki pages which use this extension are no longer valid XHTML. See the output from the W3C HTML validator on the Spots page On that page there are some other markup errors, but on some sites the only markup errors are due to this extension. This makes CSS.php unusable on sites which care about HTML validity.

Simple to fix. Add this line in magicCss: $url = str_replace("&", "&amp;amp;", $url);

At least, that does it for me. (Note that I had to double the escaping to get this patch to appear on this wiki page.) -- sandro@w3.org 13:53, 29 December 2007
 * Ok thanks, I've added that in --Nad 21:26, 30 December 2007 (UTC)

Doesn't work with Cite extension
There seems to be a bug with this extension when cite.php is also used. The style sheet referenced appears to be ignored. Could anyone point towards how this might be corrected? --Philipjoslin 10:01, 6 December 2007 (UTC)
 * Is the site you have it on public so I can have a look at what's happening? is there errors or anything? --Nad 21:34, 8 December 2007 (UTC)
 * I have Cite and CSS installed and CSS does not work. The Wiki I am using is not public, sorry. --EToreo 20:53, 19 December 2007 (UTC)