Re: [Wikitech-l] [SOLVED] Re: ResourceLoader support question: how to construct a value in CSS from PHP

2013-07-09 Thread Roan Kattouw
On Wed, Jul 3, 2013 at 3:27 PM, Thomas Gries m...@tgries.de wrote: I found the solution ( $wgExtensionAssetsPath ) Why do you need this? You shouldn't need this. Paths relative to the CSS file should be remapped automatically and should Just Work. Roan

[Wikitech-l] [SOLVED] Re: ResourceLoader support question: how to construct a value in CSS from PHP

2013-07-03 Thread Thomas Gries
I found the solution ( $wgExtensionAssetsPath ) How to contruct the background-image filename from a value in one of the OpenID PHP modules ? For a single rule, you can get away with something like: $wgHooks[ 'BeforePageDisplay' ][ ] = function ( $out, $skin ) { $out-addHeadItem(