Requested feature overview description.
Follow-up to topic #34356.
When saving Twitter image URLs in the source field, these URLs may differ between the old and new formats. Detect the old Twitter image URL format and convert it to the new format on upload or when changes to a post are saved.
For instance, if the user adds the following URL format variants:
https://pbs.twimg.com/media/FN_2RQPXEAEbL6R.jpg:orig
https://pbs.twimg.com/media/FN_2RQPXEAEbL6R.jpg?name=orig
Automatically convert them to:
https://pbs.twimg.com/media/FN_2RQPXEAEbL6R?format=jpg&name=orig
Why would it be useful?
Converting the old format to the new format improves consistency across source fields and futureproofs these sources in the event that the old format is eventually deprecated. It also saves users the time and effort of manually changing these URLs to the new format.
What part(s) of the site page(s) are affected?
The upload page, post pages, and the post replacement page.