It depends on the loan agreement. The clubs can either share the players wages or the parent club can pay the wages entirely if it views the loan as a development opportunity for the loanee and doesn't need money, or the loaned club can pay the entire wage if it considers the deal really valuable.