Ask an Immigration Solicitor. Get an Answer ASAP.
Unfortunately, your partner cannot get married while in the UK on a visit visa. If she wishes to get married in the UK and remain in the UK, she must apply for a fiancee visa from her home country.
If you have any follow up questions, I am here to help and happy to respond. If you feel I have given you 5-star service, please rate me 5 -stars at the top of the page.