mediawiki-bootstrap icon indicating copy to clipboard operation
mediawiki-bootstrap copied to clipboard

Lost the header navbar

Open tripslip38 opened this issue 11 years ago • 9 comments

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.

tripslip38 avatar Mar 12 '13 20:03 tripslip38

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.

mtyeh411 avatar Mar 13 '13 12:03 mtyeh411

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.

tripslip38 avatar Mar 15 '13 22:03 tripslip38

Any ideas?

tripslip38 avatar Mar 24 '13 18:03 tripslip38

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!

mtyeh411 avatar Mar 26 '13 15:03 mtyeh411

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.

tripslip38 avatar Mar 27 '13 06:03 tripslip38

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!

mtyeh411 avatar Mar 27 '13 21:03 mtyeh411

What is the fix for this? I have a fresh install of mediawiki added this project and the navbar is missing.

bobjunior avatar Jun 21 '13 22:06 bobjunior

Same, missing the top nav

jnor avatar Jun 27 '13 21:06 jnor

Any updates on this issue?

AytanLeibowitz avatar Jul 08 '13 19:07 AytanLeibowitz