Page MenuHomePhabricator

REVISIONYEAR magic word returns empty result
Closed, ResolvedPublic

Description

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.

Event Timeline

Confirming for my sandbox page on mediawiki.org

First report was made ~3 hours ago (13:46 UTC) at ruwiki forum.

Tgr subscribed.

This is about the initial rendering of the page, not the substed wikitext, so definitely a different bug.

Tgr claimed this task.

The fix for T203583 injects the current timestamp before parse, this was probably fixed by that (I can't reproduce either). Please reopen if you still see it in the wild.