thaider / Tweeki

MediaWiki skin based on Twitter's Bootstrap
http://tweeki.kollabor.at
Other
128 stars 31 forks source link

[2.0.1] Top bar missing after update from 1.2.6 #230

Open tuxmaster5000 opened 2 years ago

tuxmaster5000 commented 2 years ago

After the update the top bar is missing, Roll-back to 1.2.6 will show it again. 2.0.1 after 1.2.6 before Not errors will logged on the browser console.

thaider commented 2 years ago

Thanks for reporting. Could you please provide more information about the version of MediaWiki you're using?

tuxmaster5000 commented 2 years ago

Hi, I use mediawiki 1.35.6 on PHP 7.4

rebastion commented 2 years ago

@tuxmaster5000 I would definitely recommend upgrading MW just to be on the safer side, or wait until November for the next LTS release. I just went thru a few upgrades and test installs with Tweeki and the smoothest option was to work with the latest MW

tuxmaster5000 commented 2 years ago

We can only use the LTS versions of MW. So I think it will be an nice way to split the Tweeki in to 2 versions. One for the TLS tree of MW and on for the no LTS tree to get an stable LTS support.

thaider commented 1 year ago

Sorry for the late response. Are you still having the problem? If so, is your wiki publicly accessible so I can investigate the problem?

tuxmaster5000 commented 1 year ago

Yes the problem still exists in the next LTS version 1.39.4. The site is public, but I can't activate the theme at any time, because it will breaks the site completely. So I can activate it only in the maintenance window.

thaider commented 1 year ago

Could you post the link to your wiki? And do you use any of Tweeki's configuration options in LocalSettings.php?

tuxmaster5000 commented 1 year ago

Today I tested it with 2.0.2, but the same result. Here are the Tweeki settings:

$wgTweekiSkinHideable = array('firstHeading', 'sidebar-right' ); $wgTweekiSkinUseBootstrapTheme = true; $wgTweekiSkinUseTooltips = true; $wgTweekiSkinHideNonAdvanced['EDIT-EXT-special'] = false; $wgTweekiSkinHideAnon = array( 'navbar' ) wfLoadSkin('Tweeki'); $wgDefaultSkin = 'tweeki';

The URL will be https://pouletpedia.mdc-berlin.de But I can only activate the skin in the maintenance window.

thaider commented 1 year ago

This is really strange. What's the content of your MediaWiki:Tweeki-navbar-xxx system messages? And you don't use {{#tweekihide:}} anywhere, right?

tuxmaster5000 commented 1 year ago

Sorry for the question, but where can I found this? I only manage the server not the content.

thaider commented 1 year ago

It's strange your LocalSettings.php actually works because you're missing a semicolon after the line

$wgTweekiSkinHideAnon = array( 'navbar' )

What happens if you delete this line?

Also note, that you should rather write $wgTweekiSkinHideAnon['navbar'] = true; nowadays, if you wanted to set the configuration option.

tuxmaster5000 commented 1 year ago

The semicolon was only missing by c&p. Because without it, the whole site will be broken. But $wgTweekiSkinHideAnon['navbar'] = true; will result in the same. :(

thaider commented 1 year ago

What happens if you delete this line?

Have you tried it? I guess the line should not be there at all. Or is the navbar also hidden for logged in users?

tuxmaster5000 commented 1 year ago

The navbar is also hidden when I'am logged in. When I switch to the mobile view, that an part of it are show. But the log out and user preferences are complete missing.