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 frontend submission/edit layout (tmpl/form/edit.php) renders $this->form->getInput('contenthistory') when versions are enabled and an existing weblink is edited. The site form (components/com_weblinks/forms/weblink.xml) has no contenthistory field, so nothing is rendered and the Versions button is missing on the frontend.

This PR adds the field, defined like in the core com_content site form, with data-typeAlias="com_weblinks.weblink".

Testing Instructions

  • Enable Enable Versions in the weblinks options.
  • On the frontend, edit an existing weblink (as a user with edit rights).

Expected result

A Versions button is shown next to Save/Cancel and opens the version history.

Actual result

No Versions button.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment