You realize that before the Magnificat prayer got into St. Luke's gospel, St. Luke had to find out from somebody what did the prayer say?
Further, that the Magnificat and the fact that Mary adopted John, and a few others, are in the scripture does not mean that the only thing Sts Luke and John knew about her is wholly contained in the scriptures that they wrote. St. John, in fact, writes that he did not write down everything Chirst did -- what makes you think in the case of Mary all he knew were the Wedding at Cana?
Then you know of some writings of Mary or Luke or John that are NOT contained in the Scriptures?
John 21:25 says there were many things Jesus did that were not written down. Or have you found a source of unknown Scriptures?
Mary adopted who? John? John was not a little child, was he? and who else did Mary adopt?
“You realize that before the Magnificat prayer got into St. Luke’s gospel, St. Luke had to find out from somebody what did the prayer say?”
I should think she likely told a number of people that Luke could’ve consulted.