Noé describes it well here.
The TL;DR is, make something ("Insert Quote/Attestation") similar to the Insert Media dialog, which looks for a certain word/sentence on sister projects like Wikisource, Wikiquote etc., allows to select the snippet where the word/sentence was found, and to have it added to the article as an quote/attestation of use with a link to the whole source document.
Was also suggested during Community Wishlist Survey 2017 and ends up with 32 supports vote.