You know you have to click the Mk4 faceplate back in each time before testing it upstairs, right?!
When you say it didn't work, you mean the router or did you try just the normal phone in the extension first?
Try a phone and see what happens.
Is it because the A and B signal coming from the back of the faceplate is filtered?
Would I have to connect it to an RJ11/RJ45 data socket instead of the standard phone socket that's currently there?
Can you test for volts DC across pins 2 & 5 upstairs? You should see about 48 volts.
Are there any safety precautions I need to take (disconnect anything, turn anything off, not touch anything with the probes)?
And do I just hold the probes to the 2 and 5 pins? Does it matter which way round they are?
Yes, just press your probes against the metal contacts on the back where the wires are. It doesn't really matter which way, it'll either read +48 or minus 48v if there is voltage present.
It seems to mostly go up and down between about 15V and 25V
Not sure what that means?
Would removing the ring wire (the green wire in terminal 3 I think?) make a difference
Do you have a krone tool and some offcuts of wire to experiment with? (cw1308 or cat5e wire, solid not stranded)
It would be very worthwhile bringing the extension socket downstairs and connecting it to "A & B" using a short piece of test wire.
This will bypass your 'odd' extension wiring, so if this works with the router in the extension socket, then you know the wiring from down to upstairs is the problem (despite you getting 50.8v upstairs, and despite it previously working, there could still be other factors at play here)
If you try this and it still doesn't work, then replace the Mk4 faceplate. There is an extremely tiny possibility that the 5C master could be the problem, but all signs are pointing toward the Mk4 at the moment.

One additional point, I'd be a bit concerned by the corrosion on the pins inside the extension socket...
View attachment 45467
Not saying it's related to your issue, because your phone worked up there and measuring the fluctuating voltage was done in the IDC slots, not touching these.
BUT...
When you get the router working upstairs, if you get poor download speeds compared to before, or a connection that drops out now and then, it would certainly be worth swapping it for a new one. As you can see, it's pins 2 and 5 that are the worst and they're the only two that it uses! That could easily cause a high resistance joint and cause speed issues.