Your Y-DNA info should propogate up your male lineage line regardless of surname. So, for example, if you were given your mother's surname at birth because she wasn't married, as long as you link to your biological father on Wikitree, your Y-DNA info will propagate to him and his paternal ancestors and their applicable male descendants. On Wikitree, your info does not propagate to others of the same name who are not linked in your male lineage group. Also, Wikitree only has the Haplogroup you entered, not your complete Y-DNA results, and does not do any searching for matching individuals. That needs to be done on FamilyTreeDNA or ySearch or similar sites.