Project page says this module depends on jQuery.

Created on 8 October 2024, 6 months ago

Problem/Motivation

I was reading the project page for this module at https://www.drupal.org/project/extlink β†’ and saw that it says this module requires jQuery.

I then searched the codebase in the most recent branch and found that it doesn't actually depend on jQuery.

Proposed resolution

Remove the jQuery requirement language on the project page.

In fact, update the project page to be more like this.

<strong>External Links</strong> is a small module used to differentiate between internal and external links. It identifies all external links on a page and adds an external icon to indicate they will take you offsite or a mail icon for mailto: links.

<strong>Configuration options:</strong>

<ul>
  <li>Apply icons to:
    <ul>
      <li>Mailto: links</li>
      <li>External links</li>
      <li>Both mailto: and external links</li>
    </ul>
  </li>
  <li>Configure external links to open in a new window.</li>
  <li>Display a confirmation message when leaving the site.</li>
  <li>Use regular expressions to include and exclude links considered external.</li>
  <li>Specify CSS selectors for inclusion and exclusion of elements for processing.</li>
  <li>Exclude specific external links based on custom criteria.</li>
  <li>Set additional CSS classes for external link icons.</li>
  <li>Allow users to specify additional classes to be used for links.</li>
  <li>Customize the external link icon.</li>
  <li>Set a custom title for external links.</li>
</ul>

This code renders as
External Links is a small module used to differentiate between internal and external links. It identifies all external links on a page and adds an external icon to indicate they will take you offsite or a mail icon for mailto: links.

Configuration options:

  • Apply icons to:
    • Mailto: links
    • External links
    • Both mailto: and external links
  • Configure external links to open in a new window.
  • Display a confirmation message when leaving the site.
  • Use regular expressions to include and exclude links considered external.
  • Specify CSS selectors for inclusion and exclusion of elements for processing.
  • Exclude specific external links based on custom criteria.
  • Set additional CSS classes for external link icons.
  • Allow users to specify additional classes to be used for links.
  • Customize the external link icon.
  • Set a custom title for external links.

Remaining tasks

  • Remove the jQuery requirement language on the project page.

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024