Hutchy68 / pivot

A MediaWiki mobile skin which "Pivots" seamlessly to any size display.
https://pivot.wikiproject.net
BSD 2-Clause "Simplified" License
37 stars 18 forks source link

Pages go white/blank on access #51

Closed kmeyn closed 6 years ago

kmeyn commented 6 years ago

Setup

Issue

Pages goes blank. Happens everywhere, front page, categories , articles. NB! not an issue in Firefox 58.0.1/58.0.2 64bit

What happens: trying to open a front page, a category or article with any of the browsers Page shows for a second, then goes blank.

I've commented out out line 4 in Pivot.js as per tips in this forum. No impact on this symptom.

Due to lack of (previously) working Fontawersome I temporarily put in Fontawesome in Pivot.skin-php

This does not appear to make any difference re. the issue reported. I've commented it out, no difference, pages still go blank.
kmeyn commented 6 years ago

Temp solution? Added $wgUseSiteJs= false; to LocalSettings.php

tested OK

Hutchy68 commented 6 years ago

You are probably seeing a mix of multiple issues. First, caching of CSS and JS. That would break things as you update files with clearing the cache of your browser and/or HTML files if you are using file caching. $wgUseSiteJS = false would mean stop loading MediaWiki:Common.js which would be cached and continue to load even if you commented it out and didn't clear everything.

I've created a develop branch and as soon as @Tealk PR's #50 to it, I will merge it in and you can download and test the fixes which would include your original #47.

kmeyn commented 6 years ago

Thanks (sorry for late response on this)

Hutchy68 commented 6 years ago

Closing, solved in develop branch. Releasing v2.0 soon