Page MenuHomePhabricator

Mediawiki:Sidebar ignores html comment markups
Closed, ResolvedPublic

Description

Author: mariusads

Description:
Sorry if it's not an actual bug - my knowledge about mediawiki internals is very poor - but I noticed this issue while trying to edit the sidebar entries.

I've used the html comment tags <!-- and --> to temporarily remove some of the entries and these were ignored. When I deleted the lines the sidebar updated and showed the entries correctly.

Ex:

  • navigation
  • navigation
    • mainpage|mainpage-description
    • mainpage|mainpage-description

<!--

  • portal-url|portal
  • currentevents-url|currentevents

-->

  • recentchanges-url|recentchanges
  • recentchanges-url|recentchanges
  • randompage-url|randompage
  • randompage-url|randompage

The Portal and Current events were still shown.


Version: unspecified
Severity: enhancement

Details

Reference
bz21146

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:57 PM
bzimport set Reference to bz21146.
bzimport added a subscriber: Unknown Object (MLST).

MediaWiki:Sidebar has its own syntax (as some other pages in the MediaWiki namespace) and thus ignores html comments. Changed severity to enhancement accordingly.

  • This bug has been marked as a duplicate of bug 5198 ***