Page MenuHomePhabricator

The variant page with the same name as the content language doesn't get purged from squid
Closed, ResolvedPublic

Description

See r16967. Rainman said another maintainer should take it, so this bug is filed.

My comment in Code Review:

The line "if($vCode==$wgContLang->getCode()) continue; // we don't want default variant" doesn't work correctly on zhwiki (and other wikis with $wgLanguageCode = 'zh'), where the language code 'zh' is also used as a variant name (which means 'no conversion'; technically it's a variant). Omitting zh variant causes /zh/Page_Name urls (when $wgArticlePath = '/$2/$1') not to be purged.


Version: 1.17.x
Severity: enhancement

Details

Reference
bz24027

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:09 PM
bzimport set Reference to bz24027.

Created attachment 7496
vcode

Attached:

Simply removing that line is ok.

PhiLiP.NPC wrote:

This one has been fixed in r69085.