https://bugzilla.wikimedia.org/show_bug.cgi?id=67849

Brad Jorsch <bjor...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |bjor...@wikimedia.org
     Ever confirmed|0                           |1

--- Comment #2 from Brad Jorsch <bjor...@wikimedia.org> ---
The cause of the problem is simple enough: when MediaWiki follows a redirect,
it uses the page_touched timestamp of the target page.[1]

A simple change to fix this bug would be to adjust Article::view() to use the
maximum of the target page's page_touched or the redirect's page_touched when
calling OutputPage::checkLastModified().


 [1]: @bianjiang: MediaWiki stores a "touched" timestamp for each page, which
is updated when the page is edited, when a template transcluded on the page is
edited, and in other cases too. The current page_touched timestamp for the SSH
article is 2014-06-26T11:22:21Z,[2] which matches what you're seeing.
 [2]:
https://en.wikipedia.org/w/api.php?format=jsonfm&action=query&prop=info&titles=SSH

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to