Manual talk:Hooks/SkinBuildSidebar
Add topicAppearance
Latest comment: 7 months ago by Srapoj in topic HTML in sidebar no longer works
HTML in sidebar no longer works
[edit]It appears, as noted here, that this hook no longer supports HTML (and images?) to be added to the sidebar. Is there any workaround for this? Derf Jagged (talk) 04:48, 13 September 2023 (UTC)
- Came up with a solution and added my own example here:
- https://www.mediawiki.org/wiki/Manual:Hooks/SkinAfterPortlet Derf Jagged (talk) 05:09, 29 September 2023 (UTC)
- I feel that the note added in Special:Diff/6128066 is too vague. It does not say what mechanism of injecting HTML fails in 1.39.
- Doing a quick phabricator search gives me this: task T262134 comment 6438231. Not sure if this is the issue you met, but that page says it's related to the new Mustache template engine introduced in 1.35 (see Manual:How to make a MediaWiki skin), and support for "old behaviour" was dropped in 1.36. However no references to relevant code changes are provided there. Maybe someone has to dig into release notes or previous PHP code to see what changed. Srapoj (talk) 18:50, 25 April 2024 (UTC)