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

           Summary: Category and image description pages not purged from
                    file cache or squid cache on link update
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page editing
        AssignedTo: [email protected]
        ReportedBy: [email protected]


When someone adds or removes a category from a page, the relevant category page
changes. And when someone adds or removes an image from a page, the relevant
image description page changes, due to the list of file links. 

Cache updates for these changes are handled by LinksUpdate::invalidatePages().
However, this function does not update the HTML file cache (i.e.
$wgUseFileCache=true), and it does not purge Squid. Thus, anonymous users see
the old versions of categories and image description pages after an edit is
made.

The fix is made more complicated by the fact that neither of these updates
should be done in the same transaction as the main link update. The link update
transaction locks a lot of rows, and needs to be closed off as soon as
possible.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to