The United Nations has confirmed that this year’s climate change talks will take place in Madrid in December, after Chile withdrew from hosting this week amid protests.