Page MenuHomePhabricator

Less_Exception_Compiler from line 148 of "Call.php": .background-size is undefined in "pagesummary.less"
Closed, ResolvedPublic

Description

Setup

  • MediaWiki 1.33.0 (a1742c4) 15:37, 2. Jul. 2019
  • PHP 7.2.19-0ubuntu0.18.04.1 (apache2handler)
  • MariaDB 10.1.40-MariaDB-0ubuntu0.18.04.1
  • MinervaNeue – (1903d1a) 18:34, 10. Apr. 2019
  • MobileFrontend 2.1.0 (3951ffd) 16:38, 11. Jun. 2019

Issue

[5d9c9eb5bb978df5a13d383e] /w/load.php?debug=false&lang=de&modules=mobile.pagesummary.styles&skin=minerva&version=1v1xhow   Less_Exception_Compiler from line 148 of /../w/vendor/wikimedia/less.php/lib/Less/Tree/Mixin/Call.php: .background-size is undefined in /../w/extensions/MobileFrontend/resources/mobile.pagesummary.styles/pagesummary.less

Not sure if this issue is causing the headings go berserk.

Backtrace

#0 /../w/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(147): Less_Tree_Mixin_Call->compile(Less_Environment)
#1 /../w/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(88): Less_Tree_Ruleset->EvalMixinCalls(Less_Tree_Ruleset, Less_Environment, integer)
#2 /../w/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Less_Environment)
#3 /../w/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Less_Environment)
#4 /../w/vendor/wikimedia/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile(Less_Environment)
#5 /../w/includes/resourceloader/ResourceLoaderFileModule.php(1030): Less_Parser->getCss()
#6 /../w/includes/resourceloader/ResourceLoaderFileModule.php(926): ResourceLoaderFileModule->compileLessFile(string, ResourceLoaderContext)
#7 /../w/includes/resourceloader/ResourceLoaderFileModule.php(897): ResourceLoaderFileModule->readStyleFile(string, boolean, ResourceLoaderContext)
#8 /../w/includes/resourceloader/ResourceLoaderFileModule.php(432): ResourceLoaderFileModule->readStyleFiles(array, boolean, ResourceLoaderContext)
#9 /../w/includes/resourceloader/ResourceLoaderModule.php(747): ResourceLoaderFileModule->getStyles(ResourceLoaderContext)
#10 /../w/includes/resourceloader/ResourceLoaderModule.php(694): ResourceLoaderModule->buildContent(ResourceLoaderContext)
#11 /../w/includes/resourceloader/ResourceLoader.php(1068): ResourceLoaderModule->getModuleContent(ResourceLoaderContext)
#12 /../w/includes/resourceloader/ResourceLoader.php(772): ResourceLoader->makeModuleResponse(ResourceLoaderContext, array, array)
#13 /../w/load.php(46): ResourceLoader->respond(ResourceLoaderContext)
#14 {main}

Event Timeline

Kghbln created this task.Jul 2 2019, 6:33 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 2 2019, 6:33 PM
Kghbln updated the task description. (Show Details)Jul 2 2019, 6:34 PM
Jdlrobson added a subscriber: Jdlrobson.

I can't replicate this on the beta cluster or locally.
Can you confirm https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/MobileFrontend/+/519660/ is present in MobileFrontend (that's the patch that removed this!)

Kghbln closed this task as Resolved.Jul 9 2019, 7:35 AM
Kghbln assigned this task to Volker_E.

I can't replicate this on the beta cluster or locally.

Indeed after updating to the latest head a REL1_33 the issue goes away. When I reported this task the fix was not yet merged and I did not notice the patch being in the pipeline.

Karima added a subscriber: Karima.EditedSun, Aug 11, 2:54 PM

After a checkout to 1.33 of Mediawiki
I have also a problem with vendor/wikimedia/less.php/lib/Less/Tree/Mixin/Call.php

[XVArB0YbQ3Pi6y-tA-vCAAAAAAQ] /mw-config/index.php?css=1 Less_Exception_Compiler from line 148 of /var/www/mediawiki/vendor/wikimedia/less.php/lib/Less/Tree/Mixin/Call.php: .list-style-image-svg is undefined in /var/www/mediawiki/skins/Vector/components/common.less

Backtrace:


#0 /var/www/mediawiki/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(147): Less_Tree_Mixin_Call->compile(Less_Environment)
#1 /var/www/mediawiki/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(88): Less_Tree_Ruleset->EvalMixinCalls(Less_Tree_Ruleset, Less_Environment, integer)
#2 /var/www/mediawiki/vendor/wikimedia/less.php/lib/Less/Tree/Ruleset.php(94): Less_Tree_Ruleset->compile(Less_Environment)
#3 /var/www/mediawiki/vendor/wikimedia/less.php/lib/Less/Parser.php(199): Less_Tree_Ruleset->compile(Less_Environment)
#4 /var/www/mediawiki/includes/resourceloader/ResourceLoaderFileModule.php(1030): Less_Parser->getCss()
#5 /var/www/mediawiki/includes/resourceloader/ResourceLoaderFileModule.php(926): ResourceLoaderFileModule->compileLessFile(string, ResourceLoaderContext)
#6 /var/www/mediawiki/includes/resourceloader/ResourceLoaderFileModule.php(897): ResourceLoaderFileModule->readStyleFile(string, boolean, ResourceLoaderContext)
#7 /var/www/mediawiki/includes/installer/WebInstallerOutput.php(188): ResourceLoaderFileModule->readStyleFiles(array, boolean, ResourceLoaderContext)
#8 /var/www/mediawiki/includes/installer/WebInstaller.php(1227): WebInstallerOutput->getCSS()
#9 /var/www/mediawiki/includes/installer/WebInstaller.php(177): WebInstaller->outputCss()
#10 /var/www/mediawiki/mw-config/index.php(80): WebInstaller->execute(array)
#11 /var/www/mediawiki/mw-config/index.php(38): wfInstallerMain()
#12 {main}

I search a solution...

Edit : I think I will wait the version 1.33.1. ;-)