Page MenuHomePhabricator

mw-config now dosent show any styles
Closed, ResolvedPublic

Description

Hi when going to mw-config it now dosent style correctly it just shows as if it is just plain and just shows text

To reproduce

Please go to mw-config on a mediawiki 1.26 wmf24 wiki.

Actual outcome:
When on that page you notice no styles have been applied from the vector skin

expect outcome:
It should shows styles it should like it was before with the vector skin styles applied.

Please fix it.

Seems it also affects whole site not just mw-config.

Affects js too.

Event Timeline

Paladox raised the priority of this task from to Needs Triage.
Paladox updated the task description. (Show Details)
Paladox added a project: MediaWiki-General.
Paladox subscribed.
This comment was removed by Paladox.

It was probably caching problem so when I updated to the latest version of less.php the problem showed. But mw-config wont show properly since changing less.php packages.

Change 241306 had a related patch set uploaded (by Paladox):
Revert "resourceloader: Improve caching for LESS file compilation"

https://gerrit.wikimedia.org/r/241306

Change 241340 had a related patch set uploaded (by Paladox):
Revert "Backport I1ff61153d and I8e4c3d5a5"

https://gerrit.wikimedia.org/r/241340

Change 241342 had a related patch set uploaded (by Paladox):
Revert "resourceloader: Use FileContentsHasher in safeFileHash()"

https://gerrit.wikimedia.org/r/241342

Change 241340 abandoned by Paladox:
Revert "Backport I1ff61153d and I8e4c3d5a5"

https://gerrit.wikimedia.org/r/241340

Unless it is a extension which is unlikely since when the wmf1.26wmf24 was created I downloaded it and uploaded it to my site then there were a few more updates to that branch and so I downloaded it and uploaded it to my site which then broke css and js.

Js only broke if you reverted one patch. So doing the other one fixed it.

This comment was removed by Paladox.

Change 241477 had a related patch set uploaded (by Florianschmidtwelzow):
Disable hash object cache for the installer

https://gerrit.wikimedia.org/r/241477

Change 241342 abandoned by Paladox:
Revert "resourceloader: Use FileContentsHasher in safeFileHash()"

https://gerrit.wikimedia.org/r/241342

Change 241477 merged by jenkins-bot:
Add 'hash' object cache for installer

https://gerrit.wikimedia.org/r/241477

Tested it on a different site and works.

Thanks for fixing it.

@Paladox: Please check the request to the styles and what error messages you get (browser, web server, ...). And please ztry to upgrade Vector and check if this helps :)

Change 241306 abandoned by Florianschmidtwelzow:
Revert "resourceloader: Improve caching for LESS file compilation"

Reason:
Fixed in I1c1938b3fac395dda5b42dd68b

https://gerrit.wikimedia.org/r/241306

Hi it works now because I was using parts of the patches I reverted. I just uploaded a new copy of files and then add the code that fixes installer and now works. Thanks for fixing.

This can now be closed.

Florian added a subscriber: PleaseStand.

@PleaseStand mentions, that the problem isn't fixed completely, e.g. if you enable APC(u):
https://gerrit.wikimedia.org/r/#/c/241477/3/includes/installer/Installer.php

Change 241484 had a related patch set uploaded (by Florianschmidtwelzow):
Don't overwrite all available object caches

https://gerrit.wikimedia.org/r/241484

Change 241484 merged by jenkins-bot:
Don't overwrite all available object caches

https://gerrit.wikimedia.org/r/241484