Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.0] Adding joomla/language dependency #40432

Merged
merged 8 commits into from
Jun 8, 2023
Merged

Conversation

Hackwar
Copy link
Member

@Hackwar Hackwar commented Apr 20, 2023

Summary of Changes

This PR adds the Joomla framework language package as a dependency. This is a preparation for using the Filter package of the framework instead of the CMS, which again is a preparation to using the Input package of the framework instead of the CMS one. Overall, we want to reduce duplicate code. I see the irony, that this introduces a big block of duplicated code for now.

Yes, the classes in the CMS are currently sometimes further ahead than the framework ones, containing additional features, however the framework classes generally have higher quality code, better code coverage and have been properly capsulated. That is the reason why we should switch over to those framework packages.

While this PR allows us to deprecate the Filter CMS classes and Input CMS classes, and switch core code over to the framework classes, we still will have to synchronize the language framework package and the CMS language classes.

This also deprecates the methods in the Language class which are related to com_search.

Testing Instructions

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org: Commit

  • No documentation changes for manual.joomla.org needed

@Hackwar Hackwar marked this pull request as ready for review May 3, 2023 21:15
@HLeithner
Copy link
Member

I would like to merge it but the deprecation message is not possible (deprecate in 5 remove in 6, if it should be removed in 6 you have to deprecate it in 4.4) and I miss the manual.joomla.org pr

@HLeithner HLeithner added Feature Removal Removes functionality labels Jun 3, 2023
@Hackwar
Copy link
Member Author

Hackwar commented Jun 5, 2023

The deprecations will be handled in #40727.

@HLeithner HLeithner merged commit c76e39f into joomla:5.0-dev Jun 8, 2023
3 checks passed
@HLeithner
Copy link
Member

Thanks

Documentation: joomla/Manual@dc9587a

@Hackwar Hackwar deleted the 5.0-language branch March 22, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants