When deploying the new print styles, I noticed that the logo was not showing.
When deploying there was a spike in errors:
https://logstash.wikimedia.org/app/kibana#/dashboard/1c3a4d80-35c2-11e7-b186-d1bc9cbdde4c?_g=h@ba40421&_a=h@69a9b14
The index notices have been fixed, but it looks like there are some other errors we will need to investigate:
Developer notes
During deployment we saw:
exception.message PHP Warning: No such file or directory t exception.trace #0 /srv/mediawiki/php-1.31.0-wmf.2/includes/libs/CSSMin.php(124): MWExceptionHandler::handleError(integer, string, string, integer, array, array) #1 /srv/mediawiki/php-1.31.0-wmf.2/skins/Vector/ResourceLoaderLessModule.php(47): CSSMin::encodeImageAsDataURI(string) #2 /srv/mediawiki/php-1.31.0-wmf.2/includes/resourceloader/ResourceLoaderFileModule.php(584): Vector\ResourceLoaderLessModule->getLessVars(DerivativeResourceLoaderContext) #3 /srv/mediawiki/php-1.31.0-wmf.2/includes/resourceloader/ResourceLoaderModule.php(844): ResourceLoaderFileModule->getDefinitionSummary(DerivativeResourceLoaderContext) #4 /srv/mediawiki/php-1.31.0-wmf.2/includes/resourceloader/ResourceLoader.php(667): ResourceLoaderModule->getVersionHash(DerivativeResourceLoaderContext) #5 [internal function]: Closure$ResourceLoader::getCombinedVersion(string) #6 /srv/mediawiki/php-1.31.0-wmf.2/includes/resourceloader/ResourceLoader.php(680): array_map(Closure$ResourceLoader::getCombinedVersion;426, array) #7 /srv/mediawiki/php-1.31.0-wmf.2/includes/resourceloader/ResourceLoaderStartUpModule.php(434): ResourceLoader->getCombinedVersion(DerivativeResourceLoaderContext, array) #8 /srv/mediawiki/php-1.31.0-wmf.2/includes/resourceloader/ResourceLoaderStartUpModule.php(407): ResourceLoaderStartUpModule->getAllModuleHashes(DerivativeResourceLoaderContext) #9 /srv/mediawiki/php-1.31.0-wmf.2/includes/resourceloader/ResourceLoaderModule.php(844): ResourceLoaderStartUpModule->getDefinitionSummary(DerivativeResourceLoaderContext) #10 /srv/mediawiki/php-1.31.0-wmf.2/includes/resourceloader/ResourceLoader.php(667): ResourceLoaderModule->getVersionHash(DerivativeResourceLoaderContext) #11 [internal function]: Closure$ResourceLoader::getCombinedVersion(string) #12 /srv/mediawiki/php-1.31.0-wmf.2/includes/resourceloader/ResourceLoader.php(680): array_map(Closure$ResourceLoader::getCombinedVersion;426, array) #13 /srv/mediawiki/php-1.31.0-wmf.2/includes/resourceloader/ResourceLoader.php(760): ResourceLoader->getCombinedVersion(ResourceLoaderContext, array) #14 /srv/mediawiki/php-1.31.0-wmf.2/load.php(53): ResourceLoader->respond(ResourceLoaderContext) #15 /srv/mediawiki/w/load.php(3): include(string) #16 {main}
To help debug the change I had the styles instead deployed to test wiki:
https://test.wikipedia.org/wiki/Planet
The CSS file shows that the CSS relating to the pseudo element is not applying.
https://test.wikipedia.org/w/load.php?modules=skins.vector.styles.experimental.print&only=styles&debug=true
This should only happen when VectorPrintLogo is not defined.
The background image of the pseudo element at the top of the page resolves to "url(data:image/svg+xml;base64,)"