Page MenuHomePhabricator

Translate should use the SidebarBeforeOutput hook
Closed, ResolvedPublic

Description

Translate extension should use the SidebarBeforeOutput hook (instead of BaseTemplateToolbox hook) to add sidebar element to the toolbox section.

Event Timeline

@Ammarpad: If this is about the Translate extension code then it should be tagged as such?

Mainframe98 subscribed.

Note that the Translate extension is part of the MediaWiki Language Extension Bundle, and has a strict compatibility policy. The extension must stay compatible with 1.33.

@Ammarpad: If this is about the Translate extension code then it should be tagged as such?

Yes, it should. Thanks for correcting it.

Change 601654 had a related patch set uploaded (by Mainframe98; owner: Mainframe98):
[mediawiki/extensions/Translate@master] Use SidebarBeforeOutput hook to add toolbox items

https://gerrit.wikimedia.org/r/601654

Change 601654 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Use SidebarBeforeOutput hook to add toolbox items

https://gerrit.wikimedia.org/r/601654