In order to raise awareness of our projects, we need to include the project wordmark to the the print styles of articles
Where does the logo come from?
We recently added project wordmarks to mobilefrontend headers, We would like the same project wordmark to appear here.
- This is going to be a little tricky. We need to include an entry in a configurable variable ($wgMinervaCustomLogos) inside a css file.
The ResourceLoaderSkinModule.php does exactly this. Options are subclassing ResourceLoaderFileModule or registering a LESS variable inside onResourceLoaderGetLessVars (see @matmarex's super useful comments > T169826#3415344)
- Visit https://reading-web-staging.wmflabs.org (desktop skin)
- Visit any page and click browser print function (Ctrl+P)
- Expected: There should be a Wikipedia logo at the top of the page