Page MenuHomePhabricator

Time of "last modified ..." footer should refer to last edit in the translated page, not in translatable page
Closed, InvalidPublic

Description

Translatable pages having a footer "This page was last modified on …" display a date/time unrelated to the translated content.

Better show the date/time of the last change of the most recently edited
component of a translated page rather than that of the (normally much older)
base page. I believe, users would interpret "latest change" pertaining to the translated text.


Version: REL1_18-branch
Severity: enhancement
URL: http://translatewiki.net/wiki/Thread:Support/Page_last modified

Details

Reference
bz27394

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:16 PM
bzimport set Reference to bz27394.
bzimport added a subscriber: Unknown Object (MLST).

Changing component and summary.
This message is loaded in the "content language" by the core, not by the extension.
This affects multi-lingual wikis such as Commons as well.

The message is "MediaWiki:Lastmodifiedat" and, if there are no other problems, could simple be gotten got 'user language' instead of msgForContent.

Adding keyword easy, but needs review because of possible parser cache consequences.

@ Krinkle: I think, you completely misunderstood the bug report. Reposting the
original as bug 27422
@ Siebrand: that's the reason why I did not try to solve the original issue -
I do not know enough of the workings of the parser cache to be sure, not to
screw it somehow.

sumanah wrote:

Removing the "need-review" keyword because that is for bugs that have code patches that need review, and I do not see one attached. Adding "parser" per comment 3 -- I might be wrong there.

(In reply to Krinkle from comment #2)

http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Credits.
php?view=markup#l91
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Skin.
php?view=markup#l1116

For contributors (as there is the "easy" keyword): Skin.php is nowadays in git.wikimedia.org under mediawiki/core/includes. Credits.php might be mediawiki/core/includes/actions/CreditsAction.php nowadays.

Nemo_bis claimed this task.

Cannot reproduce., https://www.mediawiki.org/w/index.php?title=Help:VisualEditor/User_guide/lv&oldid=1656478 footer correctly reports the last change to the page (today), while the source page has been touched last time a week ago.

Proof archived at https://web.archive.org/web/20150524122135/https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide/lv