Tweeki icon indicating copy to clipboard operation
Tweeki copied to clipboard

[2.0.1] Top bar missing after update from 1.2.6

Open tuxmaster5000 opened this issue 2 years ago • 14 comments

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.

tuxmaster5000 avatar Apr 11 '22 05:04 tuxmaster5000

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

thaider avatar Jun 13 '22 20:06 thaider

Hi, I use mediawiki 1.35.6 on PHP 7.4

tuxmaster5000 avatar Jun 14 '22 04:06 tuxmaster5000

@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

rebastion avatar Jul 27 '22 18:07 rebastion

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.

tuxmaster5000 avatar Jul 28 '22 09:07 tuxmaster5000

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

thaider avatar Jul 16 '23 19:07 thaider

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.

tuxmaster5000 avatar Jul 17 '23 04:07 tuxmaster5000

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

thaider avatar Jul 17 '23 06:07 thaider

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.

tuxmaster5000 avatar Jul 19 '23 05:07 tuxmaster5000

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

thaider avatar Jul 19 '23 09:07 thaider

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

tuxmaster5000 avatar Jul 24 '23 09:07 tuxmaster5000

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.

thaider avatar Sep 07 '23 18:09 thaider

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. :(

tuxmaster5000 avatar Sep 11 '23 05:09 tuxmaster5000

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?

thaider avatar Sep 11 '23 07:09 thaider

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.

tuxmaster5000 avatar Sep 12 '23 11:09 tuxmaster5000