MK Dons have completed the loan signing of Sheffield Wednesday midfielder Chris Lines for the remainder of the season.