brilliant move on everyone's part
by signing this deal, everyone wins, even though he is still going to leave.
man utd can now demand a much higher transfer free, because they have him under contract for so much longer and will want the buyer to pay up for some of that.
rooney himself can demand higher wages, by showing what he's now making, and wanting more.
In the end, utd will be paying a fair bit of money in wages, but all of it will be made up and them some when his transfer fee comes in. And rooney will make a shitload at utd, before going off and making even more elsewhere.
the fact is, you don't claim a club lacks ambition, and devote yourself to leaving, then sign a new 5 year contract and claim to be extremely happy 2 days later.