Feature summary: I would like to be allowed to use the {{int:…}} magic word for the first level (headings) of a list in MediaWiki:Sidebar .
Use case
- Add a list of items with subitem links in MediaWiki:Sidebar:
* Example ** Page 1|Link name 1 ** Page 2|Link name 2
- Create related system messages MediaWiki:example, MediaWiki:example/fr… and use the int: magic word for labels:
* {{int:example}} ** Page 1|{{int:link-name-1}} ** Page 2|{{int:link-name-2}}
- Labels for pages are processed but not the first level of the list. Wikitext is printed: {{int:example}}.
Benefits: It should be allowed to use the int magic word for all labels in MediaWiki:Sidebar.
A solution to achieve this
Adding this line after https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/skins/Skin.php;96c301a71369f9bb16bd7367e95a9fe08740b46a$1625
$heading = $messageCache->transform( $heading, false, null, $messageTitle );