b/c break PR-7.0-dev Architecture Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
10 Jun 2026
  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Removes the deprecated global Joomla.JText Javascript property. Use Joomla.Text instead.

Testing Instructions

Code review only as it is not used in core since ages.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org: joomla/Manual#660

  • No documentation changes for manual.joomla.org needed

avatar laoneo laoneo - open - 10 Jun 2026
avatar laoneo laoneo - change - 10 Jun 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jun 2026
Category JavaScript
avatar laoneo laoneo - change - 10 Jun 2026
The description was changed
avatar laoneo laoneo - edited - 10 Jun 2026
avatar brianteeman
brianteeman - comment - 10 Jun 2026

is this not something that can go in a b/c/plugin?

avatar laoneo
laoneo - comment - 10 Jun 2026

It would require to load a file or have it inline for just one line of code on all pages then.

avatar brianteeman
brianteeman - comment - 10 Jun 2026

ah - ok

I just fear that this specific deprecation/removal will be like isSite/isAdmin

avatar laoneo
laoneo - comment - 10 Jun 2026

I don't think so. Perhaps we can do something when this gets accepted and load it as part of the core loading. But honestly I don't see such an urgency as it is on the JS side only.

avatar laoneo laoneo - change - 10 Jun 2026
Labels Added: b/c break PR-7.0-dev
avatar joomdonation
joomdonation - comment - 10 Jun 2026

Can we keep this? Keep this one line of code almost keep us nothing but removing it might make our users have trouble with their template overrides.

avatar joomdonation
joomdonation - comment - 10 Jun 2026

Can we keep this? Keep this one line of code almost cost us nothing but removing it might make our users have trouble with their template overrides.

avatar laoneo
laoneo - comment - 10 Jun 2026

This is Javascript and not PHP, so I doubt this code was ever used in a template override as we never had this in template files (as far as I know). If people added Javascript in template overrides, then they will be able to fix it. And if it is in a template override, then the site still leads, with a Javascript error, but no crash.

avatar joomdonation
joomdonation - comment - 10 Jun 2026

In the old days, we are using inline JS, so the JS code could be in template overrides. Yes, site still load, but the functionality of certain features could be broken. Developer can fix this, Yes, but it will cost site owner some fees. The point here is this is just one line of JS code, so there should be no problem if we keep it.

avatar laoneo
laoneo - comment - 10 Jun 2026

How long do you want to keep it?

avatar joomdonation
joomdonation - comment - 10 Jun 2026

I don't really know, maybe J8. I put it to meeting document for maintainers to decide.

avatar rdeutz rdeutz - change - 19 Jun 2026
Labels Added: Architecture
avatar rdeutz rdeutz - change - 19 Jun 2026
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-06-19 08:16:00
Closed_By rdeutz
avatar rdeutz rdeutz - close - 19 Jun 2026
avatar rdeutz rdeutz - merge - 19 Jun 2026

Add a Comment

Login with GitHub to post a comment