Skip to content

Add last edited / outdated timestamp to wiki pages#12809

Open
SisypheOvO wants to merge 2 commits intoppy:masterfrom
SisypheOvO:update-timestamp
Open

Add last edited / outdated timestamp to wiki pages#12809
SisypheOvO wants to merge 2 commits intoppy:masterfrom
SisypheOvO:update-timestamp

Conversation

@SisypheOvO
Copy link

Previews

Learn from Wikipedia for placing things at the bottom.

common original articles:
image
up-to-date translations(es):
image
outdated translations(zh Mappers' Guild):
image
Note that some articles like this can have updated time later than outdated time because of minor changes, typically among all articles or all translations for one article, without removing the outdated_since yaml front matter.

Can be part of issue #12630, but I think the issue doesn't cover all cases (typically articles with different types of notices outlined in resources\views\wiki\_notice.blade.php), like stubs, outdated original articles and needsCleanups. Imo all original/translation articles with all types of notices may have these "last edited time" added to clarify it (also I think this is what Wikipedia does)

How this works

common timestamps are based on the latest commit date. Timestamps for outdated translations are also based on their yaml front matter outdated_since.

@nanaya
Copy link
Collaborator

nanaya commented Mar 2, 2026

we've been occasionally hitting github hit rate limit and this wouldn't help. there's also plan on serving a wiki checkout somewhere else as static files so to not use github at all and this wouldn't work either...

@SisypheOvO
Copy link
Author

we've been occasionally hitting github hit rate limit and this wouldn't help. there's also plan on serving a wiki checkout somewhere else as static files so to not use github at all and this wouldn't work either...

I think yes, this will make it worse for the first problem which is sad because I didn't know that :( , but still works whether or not the second plan is implemented? The new system may still be based on version control (I suppose, maybe still github) and/so an update timestamp for each page is still wanted for many. And you can't avoid version control both for managing purpose and also for readers' experience.

What I agree is that maybe we do need a better thing (for example yaml headers) to track updated time because tiny changes that doesn't count for an "update" are still regarded as the latest updates for translation articles now.

@notbakaneko
Copy link
Collaborator

yeah, I don't see this happening unless we can get the update times in the same request as the content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants