Topic on Extension talk:LiquidThreads

LQT nor formatting properly after changing web host

10
LB3000 (talkcontribs)

I've recently moved a mediawiki installation (mw: 1.23.3, lqt: 2.1 alpha) to a new web host and as a result liquid threads no longer formats properly. On the page responses to threads do not appear in ordered grey boxes but rather appear in plain list down the page without any formatting, as though no CSS is being picked up.

Any idea what the cause might be?

Ciencia Al Poder (talkcontribs)

Open the web developer tools of your browser (hit F12), switch to the console view, and reload the page where you have LQT.

Look on the console view if you see any JavaScript error or if some HTTP request receive HTTP 5XX/4XX responses.

LB3000 (talkcontribs)

Thanks, I don't get those errors. I get the following:

  • Error in parsing value for 'display'. Declaration dropped. load.php:1
  • Unknown property 'zoom'. Declaration dropped. load.php:1
  • Expected declaration but found '*'. Skipped to next declaration. load.php:1
  • Expected 'important' but found 'ie'. Expected ';' or '}' to terminate declaration but found 'ie'. Declaration dropped. load.php:1
  • Error in parsing value for 'background-image'. Declaration dropped. load.php:1
  • Unknown property 'user-select'. Declaration dropped. load.php:1
  • Unknown pseudo-class or pseudo-element '-ms-input-placeholder'. Ruleset ignored due to bad selector. load.php:1
  • Unknown pseudo-class or pseudo-element '-webkit-search-decoration'. Ruleset ignored due to bad selector. load.php:1

and:

  • "Use of "delayedBind" is deprecated. Use the jquery.throttle-debounce module instead" load.php:148
Ciencia Al Poder (talkcontribs)

Those are just CSS errors/warnings, but they're normal.

Did you found any 5XX/4XX HTTP errors?

Is your wiki public so you can post a link to it here?

LB3000 (talkcontribs)

No, only a few HTTP/1.1 304 Not Modified messages. The wiki is private sadly. The only thing that changed to stop it working is the web host, any ideas what the difference could be?

Ciencia Al Poder (talkcontribs)

No idea. The only thing I can suggest is to append ?debug=true to the URL (or &debug=true if the URL already contains a question mark), that way every JavaScript and CSS file will be downloaded separately and you could track if one of them of LQT doesn't load in your wiki, comparing to here. But apart from that, there's nothing more we can do...

LB3000 (talkcontribs)

Strangely when I append &debug=true the page loads correctly! Does that give you a clue?

There's a whole load of new errors in the console, but given that the page works I'm not sure if that'll help diagnose why the regular URL doesn't work?

Ciencia Al Poder (talkcontribs)

As a workaround for you, you can set $wgResourceLoaderDebug to true, which sould do the same as appending debug=true to the URL

LB3000 (talkcontribs)

Great, I realsied it isn't actually working entirely correctly, for replies the 'History', 'edit' and 'Link to' etc links appear in a list rather than under the more option, but this is a workable solution for now. Thanks again.

Nemo bis (talkcontribs)
Reply to "LQT nor formatting properly after changing web host"