Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • 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.

This change was created with the help of AI (Claude Code).

Summary of Changes

The service providers of plg_system_weblinks and plg_finder_weblinks don't call setApplication(), and the plugins use the global Factory::getApplication() / Factory::getLanguage() instead (Factory::getLanguage() is deprecated since 4.3). The core plugins (e.g. plg_finder_contacts) set the application in their provider and use $this->getApplication().

This PR

  • calls $plugin->setApplication(Factory::getApplication()) in both providers
  • replaces the Factory calls in the plugins with $this->getApplication() (and ->getLanguage())

The webservices plugin is not changed in this PR.

Testing Instructions

  • Backend: open the weblinks list, the weblinks categories and the weblinks options and click Help (system plugin rewrites the help URL).
  • Run php cli/joomla.php finder:index and search for a weblink with Smart Search.

Expected result

Help pages and Smart Search indexing work as before.

Actual result

Same; global Factory access and deprecated Factory::getLanguage().

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment