To quote from T130506: Automatically convert referer links copied from Google search results into actual/proper URLs:
In dewiki (and enwiki) many users try copy urls from their google searches directly into an article. Unfortunately those google urls, e.g.,
which acutally leads to https://www.mouser.com/pdfdocs/AND8424-D.PDF
- are tracking our user's browsing behaviour,
- could be used to cirvumvent the spam-blacklist, see T34159
- are ugly
That's why
\bgoogle\..*?\/url\?.*is blocked globally at https://meta.wikimedia.org/wiki/Spam_blacklist.
This block at meta irritates normal users (e.g. w:de:WP:FzW (german)). The edit filter (extension AbuseFilter) would not help here.
A better solution would be that the mediawiki software itself would convert such google-urls to the original urls automatically. So If somebody adds an url like ...google.de/url... it will be replaced by ...www.example.org/original_url...
These converted urls could also be easier checked against the spam-blacklist (T34159).
The link insertion widget in VE seems to be a good place to do this conversion. While this obviously only works for editors using VE and thus doesn't solve the original task, it seems to be easy to do the conversion there, and especially on wikis where VE is the default editor many (and many unexperienced) users are likely to benefit from the conversion there.