I am writing to inform you that the SkinTemplateOutputPageBeforeExec hook will soon be soft deprecated. Your code will continue to work in 1.35 however will omit warnings if your LocalSettings.php enables $wgDeprecationWarnings = true;. Note that by 1.36 the Vector skin will not support the SkinTemplateOutputPageBeforeExec hook. Please let me know if there's any issues with this timeline. These changes will help simplify and improve the skinning architecture of MediaWiki and hopefully lead to the availability of more skins.
From a casual glance it looks like most of these hooks are adding menu items.
Alternative hooks to use are documented in:
https://www.mediawiki.org/wiki/User:Jdlrobson/Skins_for_extension_developers provides guidance on the modern method
I'm happy to help provide any guidance as necessary to help you make the required changes.
- I proposed a new hook was added to Chameleon (ChameleonSkinTemplateOutputPageBeforeExec). Using this it should be a straightforward rename of all your existing hooks (although you may want to use this opportunity to refactor in case the hook needs to change again)
- For the 2 cases where title is modified $this->template->data['title'] .= $rating->getTag(); advice is provided on mw.org
There are 4 usages of the hook:
"\\BlueSpice\\Rating\\Hook\\SkinTemplateOutputPageBeforeExec\\AddArticleRating::callback", 253 "\\BlueSpice\\Rating\\Hook\\SkinTemplateOutputPageBeforeExec\\AddArticleLikeRating::callback", 254 "\\BlueSpice\\Rating\\Hook\\SkinTemplateOutputPageBeforeExec\\AddRating::callback", 255 "\\BlueSpice\\Rating\\Hook\\SkinTemplateOutputPageBeforeExec\\AddRecommendationsGlobalAction::callback" 256 ]