Since T94223 is probably going to be declined, we should consider more short-term solutions. (The long-term solution is theoretically T104479).
It should be relatively easy to add Citoid support to the RefToolbar gadget. It already supports look-ups for other parameters like DOI and PMID. We should just switch it to use the Citoid public API and add a URL lookup as well.
https://en.wikipedia.org/wiki/Wikipedia:RefToolbar
https://www.mediawiki.org/wiki/Citoid
The code for the RefToolbar lookup API resides at https://github.com/alexz-enwp/reftoolbar/blob/master/lookup.php.