Recently {{REVISIONYEAR}} code started to return empty values.
This leads to hundreds of broken articles in ruwiki.
This problem can be reproduced in testwiki:
https://test.wikipedia.org/wiki/User:Vort/Test
Preview works fine.
Saved article - wrong.
After ?action=purge - fine again.