mediawiki-bootstrap
mediawiki-bootstrap copied to clipboard
Lost the header navbar
Just grabbed a fresh clone. Most stuff is working fine, but the header navbar has disappeared. Browser console reports nothing, Apache error log reports nothing relevant. I can see the comment in the inspector but nothing is being rendered.
Check that you have XSLT enabled for PHP (it's usually enabled by default). Latest version of skin is using XSL stylesheets. I have tagged the old non-XSLT version, so you can check out if needed. Let me know if that helps.
XSL is definitely enabled and shows up in my phpinfo(). I'm not seeing any log entries in the apache error log.
Edit: XSLprocessor class init goes fine. .xsl file paths are good.
Did some rough debugging of the $output var in the renderNavbar() function and it doesn't look like it's being set.
$renderer->renderSidebar(); works fine.
$renderer->renderNavbar(); does not.
Any ideas?
Sorry for not getting back to you. So, it's only creating the top navbar if MediaWiki:Navbar exists...I would have to say that this SHOULD NOT be how it ought to behave. Since there are important user & page functions contained in the header bar, that should be there always regardless of if header navigation links are defined. I'll fix it upon next commit soon.
Thanks for pointing this out!
Well, it would be nice to have some options for moving the stuff that's in the header bar to another location. Is it supposed to be stored in Mediawiki:Navbar? Or is it supposed to be hard coded? I may get rid of the current navbar altogether in lieu of putting those elements in a sidebar, so whatever works to make that easy.
Thanks for you work.
No. It (meaning the login & page functions) are hard-coded. I will definitely consider this and address it in the very near future. Thanks for the suggestion!
What is the fix for this? I have a fresh install of mediawiki added this project and the navbar is missing.
Same, missing the top nav
Any updates on this issue?