Hello Alan
I thought to track your Maggie back from 1901, looking for her parents. You could access the images to verify if it is your lady at
www.scotlandspeople.gov.uk (pay to view). Unfortunately, it appears she was born just a year too late for the registration index to be on the IGI (free). You can also check the indexes and birth certificate images also at SP.
This is what I found - it seems the closest match, but could be incorrect
1901
Living at 6 West Cambell St Paisley
Joseph Gilogley 26 born Glasgow - general labourer head
Maggie Gilogley 25 born Paisley - Bleacher - wife
Terence do 10 born Paisley - scholar - brother
John do 1 born Paisley - son
1891 Maggie is a 15 year old boarder with Gavin and Catherine Turner
4 Cross Street Paisley. She is a Thread Mill Worker
The closest I can find in 1881 is
Margaret McQueen listed as adopted daughter born Paisley
The address given is 10 Maxwelton Paisley - there appear to be 100s of residents indicating "poor house" or equivalent (or the transcription is incorrect)
so looking at the image would be the only way to determine who may be the "parents"
Gavin and Catherine Turner - aged 19 and 17 and their mother Mary are on the list as residents, so this may be the same folks as per 1891. Mary may be the "adoptive" mother. She is listed as HOF (which I think is head of family)
I can find no mention of James and Ann. There is no sign of a marriage on the IGI or SP in Renfrewshire & I tried a few options for spelling. 1872-1876 there are 21 marriages for James McQueen in all of Scotland - none to a Taylor (or Ta*r to allow for other spelling).
1871 the only James McQueen I can find is 10years old, living with his parents, born Glasgow.
I then looked on ScotlandsPeople for a birth for Maggie. There are 6 M* M*Queens born in Renfrew 1874-1877. The best option for a Paisley Maggie was Margaret, born in Abbey Burgh. I used a few of my free credits from SP

and as I thought, this lass was illegitimate, her mother being Margaret. There is a note on the side of the image, saying paternity was found & the details are in the register of corrected entries - which I believe will shortly be available on SP.
I cannot guarantee that this is your Maggie - but I haven't found another. Adding deceased "parent" names to a marriage certificate, was not, I believe unusual when the parents were not known, or the child did not want to tell a partner the circumstances.
Hope this helps - you may have to search further to prove/disprove if this is your Maggie
Trish