After pulling down the latest changes from MW core, I got some error with
my css/less not loading on the page.
The issue looks like this:

Less_Exception_Compiler: error evaluating function `unit` The first
argument to unit must be a number. Have you forgotten parenthesis? index:
69 in stickyHeader.less on line 2, column 1
1| @spacing-search-title-divider: 30px;
2| @font-size-sticky-header-links: unit( 14 / @font-size-browser, em ); //
Equals `0.875em`.
3| @import '../skins.vector.styles/variables.less';
4|
5| .vector-sticky-header-container {
6|     position: fixed;


I have already run composer update and the relevant maintenance scripts
(update.php, etc.), but the issue persists.

These are the versions I'm using (same as my colleague, for whom it works
fine):
MediaWiki    1.44.0-alpha (4c93914) 07:06, 28 April 2025
PHP    8.3.14 (fpm-fcgi)
ICU    72.1
MariaDB    11.4.4-MariaDB


Any ideas on what could be happening?

*Viktoria Hillerud*
*Developer*
Wikimedia Sverige (WMSE)
_______________________________________________
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to