Use absolute links in Atom feeds by consolidating helper use

What does this MR do and why?

There are Atom feeds that use markdown_field, which as of Remove AtomPipeline, add helper in its stead (!248649), can use atom_markdown_field. This ensures any Atom/feed-specific changes are made uniformly and that they all stay in sync.

The one noticeable difference from this MR is that URLs will be presented as absolute URLs. Right now, these sites give them as relative URLs, which can produce broken links on feed setups that don't have a correct base URL set; they have nothing to resolve the URL against.

See AtomPipeline mixes parse- and render-time conce... (#594691) which this is kinda a part of.

Screenshots or screen recordings

Following the validation steps, we see the URLs become absolute:

Before After
image image

How to set up and validate locally

  1. Put a GLFM reference in an issue description (e.g. #1, assuming there's a work item number 1 to link to): image
  2. Navigate to the project's issues feed:
    image
  3. Observe the <content> for the issue contains a relative link:
    image
  4. Check this branch out.
  5. Refresh the feed.
  6. Observe the link is now absolute:
    image
  7. Rejoice

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Asherah Connor

Merge request reports

Loading