MediaWiki displays twice the standard content of navigation in the sidebar but only when profile is both administrator and bureaucrat. Below the source that appears when issuing a domaine_name/wiki/index.php/MediaWiki:Sidebar (just showing navigation here below):

* navigation
** mainpage|mainpage-description
** recentchanges-url|recentchanges
** randompage-url|randompage
** helppage|help-mediawiki

Any other combination between bot, administrator, interface administrator, and bureaucrat does not cause the problem, only when a user is both administrator and bureaucrat. Checking or editing the sidebar whilst the navigation sidebar is doubled does not show twice the code...

Any ideas on what causes that or, at least, on how to solve the issue?

Technical details:

  • MediaWiki: 1.34.0-alpha (95b9bef) 2019-05-20T06:46:02
  • PHP 7.2.18 (apache2handler)
  • MySQL 5.6.43-log
  • ICU 62.1
  • Elasticsearch 6.7.0
  • Sidebar rendering is not in any way related to your user groups. Do you have some extension installed that might interfere with skin or message rendering?
    – Tgr
    Jul 4, 2019 at 8:12
  • @Tgr: thank for your comment. Yes, indeed there are extensions installed that interfere/modify at least the sidebar (I did not get what you mean with "message rendering" though). There is CollapsibleVector that tinkers with the sidebar, however I commented it out and it did not change anything. The issue appears whatever the skin (Vector, MonoBook, or Timeless). I also disabled extension JSBreadCrumbs, to no avail…
    – pdeli
    Jul 8, 2019 at 8:29
  • Pretty much everything that's stored in MediaWiki: namespace pages is a message and can be influenced by extensions which subscribe to message hooks such as MessageCache::get.
    – Tgr
    Jul 14, 2019 at 9:34
  • Probably best to disable all extensions and see if the problem persists. The other thing to check is whether it is skin-independent.
    – Tgr
    Jul 14, 2019 at 9:35


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.