This patch introduces a new namespace declaration,
MediaWiki\Xml and adds Xml and XmlSelect to it
and establishes class aliases marked as deprecated
since version 1.43.
Bug: T353458
Change-Id: I45cccd540b6e15f267d3ab588a064fbeb719d921
It is not perfect, but it's a major improvement compared the existing
one. We need to clean up a lot more once it has landed but it's a good
start.
Bug: T337435
Change-Id: I1f85110e754546c797d3325b8dd6878093790266
Also improve the description a bit and explain at a high level
how this code is used, and which classes back those entry points.
Change-Id: Ia69531858e714d0b43a29a7d5b6dcc5c7edd8240
To match recent change to Special:Preferences, only allow languages
with localisation as interface or content language.
Bug: T188030
Change-Id: I8acae47ee70feb98bcde982d9b0e3637daf96ffb
Language::fetchLanguageNames returns already a sorted array. An
additional ksort is only needed when inserting a new value.
Change-Id: If8c7b16fa6e7dfe1545f72ac9c742a2f43eaee57
The internal language codes of the reserved for local use area 'qqq' and 'qqx'
are not in Language::fetchLanguageNames().
The check for deprecated language codes can removed, when they are removed
from Language::fetchLanguageNames().
Change-Id: I5d67ac3f9fbf341ee6bd84094fb671e97e512dd4