Page MenuHomePhabricator

{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} is not automatically updated in mobile, but updated in dekstop view
Open, Needs TriagePublicBUG REPORT

Assigned To
None
Authored By
Bennylin
Sep 18 2025, 6:21 AM
Referenced Files
F66055923: image.png
Sep 18 2025, 5:08 PM
F66030265: image.png
Sep 18 2025, 6:42 AM
F66030214: image.png
Sep 18 2025, 6:42 AM
F66029839: image.png
Sep 18 2025, 6:42 AM
F66029837: image.png
Sep 18 2025, 6:42 AM
F66029832: image.png
Sep 18 2025, 6:42 AM
F66030175: image.png
Sep 18 2025, 6:42 AM
F66029789: image.png
Sep 18 2025, 6:21 AM

Description

Steps to replicate the issue (include links if applicable):

  • Open https://mad.wiktionary.org and/or https://mad.wikipedia.org via mobile
  • See current date in the top right corner is not 18 September 2025, but (as of today) 9 September (mad.wikipedia) or 16 September (mad.wikt)
  • If I open in my PC, the date is correct (18 September).

image.png (567×1,280 px, 384 KB)

image.png (567×1,280 px, 372 KB)

What happens?:

Two days ago, one of the Madurese admin contacted me about the incorrect date in their mad.wikt homepage. I went and purge the wiktionary main page (twice) via mobile.

Today I found out the problem still persist in mobile, but not in desktop view. I think this is weird. (The code of the two main pages are similar, so I consider this one bug).

The code is: {{ucfirst:{{CURRENTDAYNAME}}}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} · {{LOCALTIME}}

I tested in mobile using FIrefox browser, logged in, and incognito mode (logged out). Both showing wrong date. I tested in desktop using Firefox browser, logged in.

The solution should not be the admin purging the main page everyday.

What should have happened instead?:

The magic words should display the correct date and time anytime without the need of (twice) manual purging in both website (and any other wiki that have the same problem).

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Screenshot above was taken a couple minutes ago (today is 18 September 2025). The first word before the date is the local name for the day of the week ({{CURRENTDAYNAME}}).

For comparison, the date should be like the desktop version below:

image.png (957×429 px, 247 KB)

Time: 12.05

and with a simple refresh F5 should display the correct time

image.png (952×467 px, 255 KB)

Time: 13.13

Event Timeline

Pppery subscribed.

MediaWiki-extensions-Variables is a third-party extension not used on Wikimedia wikis. {{CURRENTDAY}} is a core parser function, not part of any extension.

I can reproduce this on Desktop too, if I visit while logged out.

I did some more tests on different websites (I visited via mobile, did a refresh once):

  1. ban.wikipedia

image.png (567×1,280 px, 277 KB)

date: correct, time: ~30 minutes behind.

  1. bjn.wikipedia

image.png (567×1,280 px, 403 KB)

date: correct, time: correct

  1. bug.wikipedia

image.png (567×1,280 px, 413 KB)

date: incorrect, time: incorrect

  1. gor.wikipedia

image.png (567×1,280 px, 430 KB)

date: correct, time: ~30 minutes behind.

  1. su.wikipedia

image.png (567×1,280 px, 324 KB)

date: correct, time: ~30 minutes behind.

In T404941#11192617, @Pppery wrote:

I can reproduce this on Desktop too, if I visit while logged out.

I wonder if that makes this T351573: Main Page offers yesterday's content for logged out users (or similar to it)?

As far as I can see, I can reproduce this when I’m logged-out, but not when I’m logged-in. @Bennylin, please can you double-check whether you’re logged-out or logged-in to a given wiki when this happens to you on mobile, and whether or not you’re logged in when this doesn’t happen to you (e.g. on your desktop)?

As far as I can see, I can reproduce this when I’m logged-out, but not when I’m logged-in. @Bennylin, please can you double-check whether you’re logged-out or logged-in to a given wiki when this happens to you on mobile, and whether or not you’re logged in when this doesn’t happen to you (e.g. on your desktop)?

The error happened on my mobile while I was logged in (and logged out). Another friend also confirmed this.

On desktop, when I logged in, the time is correct. When I logged out (i.e. private browsing), the time is wrong. Another friend also confirmed this.

Hrm… on its surface I'd say that this was probably the same as T351573, if it wasn't for the report of this bug being present on mobile while logged in. I'll comment over in that task with a link to this one, in case anyone subscribed over there thinks they're similar.

Either way, thanks for the bug report & for the info :)

PS: I just remembered last month I helped bjn.wiktionary with the same request. So this problem is at least one month old.

https://bjn.wiktionary.org/wiki/Pamandiran_Pamakai:Bennylin

As of now (past midnight, 19 September), their mainpage https://bjn.wiktionary.org/wiki/Laman_Tatambaian still showing 14 September)

image.png (390×288 px, 6 KB)