HomePhabricator

Disallow qqq as interface language

Description

Disallow qqq as interface language

Any page on translatewiki with param setlang=qqq times out. All messages
get parsed recursively until parser-template-loop-warning is reached.
uselang=qqq is already ignored, see RequestContext::sanitizeLangCode.

There is a counterpart to this patch in ULS, where it is changed
to use Language::isSupportedLanguage.

Bug: T104987
Change-Id: Ie77fe18681dfd5f9089fbaa8090dd9cc1c206da4

Details

Provenance
NikerabbitAuthored on
Amire80Committed on Jul 22 2015, 9:06 PM
Parents
rMW458e7b287c01: Merge "Use feature test rather than version check"
Branches
Unknown
Tags
Unknown
ChangeId
Ie77fe18681dfd5f9089fbaa8090dd9cc1c206da4