Textarea to add internal paths, automatically include aliases in processing links

Created on 22 September 2015, over 9 years ago
Updated 26 June 2024, 10 months ago

Hi, I thought it might be a good UI addition to add a textarea for including/excluding given internal paths, and getting extlink to automatically add base url & aliases to these paths when assembling the regex patterns to include/exclude links.

Patch is attached. It only processes if the value in the textarea changes, and saves the generated pattern to new variables extlink_exclude_internal_pattern / extlink_include_internal_pattern, which is appended to js settings in extlink_page_build().

✨ Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada bgilhome Victoria

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024