contributed financially to the mortgage but never put name on mortgage.
My guess is that any judge looking at this would assume that had she not contributed to the mortgage; she would've had to pay rent... hence any contribution would probably be viewed as in leui of accomodation and contribution to bills.
Even in short-term marriage; there'd be little claim.
What she gets if anything depends on what agreement they came to when she started paying a contribution to the mortgage. If the joint intention was that she was paying part of the mortgage to assume a share of the property, she will have an action under one of the trust avenues.