PR-7.0-dev Pending

User tests: Successful: Unsuccessful:

avatar bembelimen
bembelimen
5 Sep 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

This PR moves the deprecated Joomla\CMS\Document methods to compatibility plugin mode only. It's a draft to hear some opinions first.

Testing Instructions

  • Apply patch
  • call the methods in your template index.php like Joomla\CMS\Document::getInstance();
  • Enable/Disable compat7 plugin

Actual result BEFORE applying this Pull Request

Always works

Expected result AFTER applying this Pull Request

The calls do not work when the plugin is diabled.

ToDos

  • Test needs to be corrected
  • When maintainer decides to go this way, needs proper documentation
avatar bembelimen bembelimen - open - 5 Sep 2026
avatar bembelimen bembelimen - change - 5 Sep 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Sep 2026
Category Libraries
avatar bembelimen bembelimen - change - 5 Sep 2026
Labels Added: PR-7.0-dev
avatar chmst
chmst - comment - 5 Sep 2026

Works as describen with compat plugin

avatar chmst
chmst - comment - 5 Sep 2026

Works as described with compat plugin

avatar bembelimen bembelimen - change - 5 Sep 2026
The description was changed
avatar bembelimen bembelimen - edited - 5 Sep 2026

Add a Comment

Login with GitHub to post a comment