https://bugzilla.wikimedia.org/show_bug.cgi?id=30772
Bawolff <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Summary|mobile wikipedia shows the |mobile wikipedia commonly |old versions of articles |uses non-canonical urls | |that don't get | |squid/varnish/whatever | |cache purged --- Comment #14 from Bawolff <[email protected]> 2011-09-27 14:16:15 UTC --- For reference, (my) current theory is: http://ru.m.wikipedia.org/w/index.php?title=%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0&mobileaction=view_normal_site is a non-canoncial url (the &mobileaction part, plus the /w/index.php instead of /wiki/pagename ), and only canoncial urls get their squid/varnish cache purged (otoh, I'm very unclear on how mobile sites get their caches purged in the first place since $wgInternalUrl seems to just be the normal url. But I did do test edits, and it does appear that normal mobile urls got their caches cleared on edit while non-canonical urls don't.) Steps to reproduce (I was doing this on enwikinews, adapt these steps as appropriate): *Viewed (in another browser that has no wikimedia cookies) http://en.m.wikinews.org/w/index.php?title=Wikinews:Sandbox&mobileaction=view_normal_site http://en.m.wikinews.org/wiki/Wikinews:Sandbox http://en.m.wikinews.org/wiki/Project:Sandbox *Edit [[n:Wikinews:Sandbox]] (in your normal browser, not the one you viewed pages during step 1) *Refresh the pages you were viewing from step 1 Actual behaviour: *Only the one with the normal canonical url ( http://en.m.wikinews.org/wiki/Wikinews:Sandbox ) is updated Expected behaviour: All 3 should show the new version of the page. HTCP purges (I assume we use those to purge mobile cache as well as normal squid) should be sent for http://en.m.wikinews.org/w/index.php?title=Wikinews:Sandbox&mobileaction=view_normal_site sine that url is advertised (Ditto for noimages version of the url), or some magic should happen on the caching end so that if the canonical page is purged, so are these variants. Url's like http://en.m.wikinews.org/wiki/Project:Sandbox should be redirected to the canoncial namespace name (so this becomes a non-issue), like we do in normal mediawiki -- 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
