Skip to content

Conversation

@goforthanddie
Copy link

Hi there,

I have made some changes to make the extension compatible with 1.44 and I only tested the docker image.

Thanks

Samy

@jeffw16 jeffw16 requested a review from Copilot July 17, 2025 04:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the HideSidebar extension to be compatible with version 1.44, replacing deprecated APIs and hooks with their modern equivalents.

  • Replaces deprecated Title::makeTitle() method with SpecialPage::getTitleFor() for creating special page URLs
  • Updates hook registration from deprecated SkinBuildSidebar to SidebarBeforeOutput
  • Corrects the autoload class path to include the proper directory structure

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
includes/HideSidebar.hooks.php Updates URL generation method for UserLogin special page
extension.json Updates hook registration and fixes autoload class path

},
"Hooks": {
"SkinBuildSidebar": "HideSidebarHooks::efHideSidebar"
"SidebarBeforeOutput": "HideSidebarHooks::efHideSidebar"
Copy link

Copilot AI Jul 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hook signature for SidebarBeforeOutput may differ from SkinBuildSidebar. Please verify that the efHideSidebar method parameters are compatible with the new hook's expected signature.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant