On Tue, Jul 2, 2013 at 11:52 PM, Thomas Gries <[email protected]> wrote:

> Question:
> =========
> 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( 'oauth-provider', '<style>.oauth { color: red;
}</style>' );
return true;
};
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to