Please do not restrict her water intake; this will only lead to health issues down the road.

I agree with Carrie, the poor pup is so scared and confused she can hardly think. Goodness knows what her background is, but she definitely needs to build a trust in people, and to live in a calm setting. Start potty training from scratch.

Keep a baggie of high value treats in the fridge. Cut up a hot dog ( a hot dog will make 78 training treats, but I've only ever managed to get 62. Point is, SMALL pieces) Or use cheese, or boiled boneless skinless chicken breast.

Work with the dog regularly on other skills like sit, down, shake hands. A few minutes multiple times a day. Yes, this is important to potty training! This dog needs to learn to bond with you, and to want to please you.

Outside, don't just leave her there; and don't sit there watching her. Take her for a walk. Give her a treat every 10 steps. After a bit, stop and try a sit, which ever commands she has learned. Then walk more.

When she does go outside, it is PARTY time. Jump up and down, clap and laugh, praise her lots, give her lots of treats, pet her. If your neighbors and your dog are looking at you like you are crazy, you are doing it right; anything less, you are not celebrating enough.

When she goes inside, just clean it up. Do not make eye contact with her, and do not scold her. It is OK to make noises of disgust (yuck, icky) while looking at the mess, but do not direct any of this to her. You can use baby gates, and keep her in one room -- the kitchen is usually good, as that floor is easy clean up. Have her bed in there, and her water bowl. Feed her in there if you don't already. (This is instead of crating her.) She will have to earn the right to be in other parts of the house.

She can be out with you when you can keep watch on her, and get her right out when she starts to go. Learn her "signs" - circling, sniffing to find a good place. You may find it easier to keep her collar on and a leash attached during this time, so you can get her out quickly and easily. Make sure to use a happy cheerful tone with her as you rush her out, so this is fun, not punishment. You should have the baggie in your pocket any time she is out of her restricted area, so you have it with you outdoors.

Good luck! Please don't give up on her, or leave her abandoned outdoors, she needs time to relax and be OK with you, her humans.