Commit graph

13 commits

Author SHA1 Message Date
Ebrahim Byagowi
14b4269d83 Add namespace and deprecation alias to Xml and XmlSelect
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
2024-05-16 15:23:14 +03:30
Reedy
29b4540718 Namespace WebInstaller classes
Change-Id: Iac081a08681048c56b20c7789c5efb50a756d167
2024-01-11 23:29:14 +00:00
Amir Sarabadani
bccdfd85da Redesign the installer with Codex
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
2023-12-13 14:25:38 +01:00
Amir Sarabadani
7d8768e931 Reorg: Move HTML-related classes out of includes/ to Html/
Bug: T321882
Change-Id: I5dc1f7e9c303cd3f5b9dd7010d6bb470d8400a18
2023-02-16 20:40:01 +01:00
Umherirrender
57dc0b6e9f installer: Use WebRequest::getIntOrNull to get integer
Found by phan strict checks

Change-Id: I5325fb586a0fa628afbe37119046a54d25df74bc
2022-03-02 22:51:38 +01:00
Alexander Vorwerk
3aa5b6643b Use LanguageNameUtils constants instead of strings
Change-Id: I8521d00675008da0d7c8c768ab75352212653c66
2021-12-05 22:13:34 +01:00
Petr Pchelko
204fa7e509 Remove usages of deprecated Language methods
Change-Id: Iad3375b141b1d87c890baec6ecd16ed92f93e699
2020-02-16 00:45:48 +00:00
Timo Tijhof
b118bddc15 installer: Rename Doxygen group from "Deployment" to "Installer"
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
2019-11-25 23:26:20 +00:00
Niklas Laxström
4cc7dea1d5 Only use languages with localisation in the installer
To match recent change to Special:Preferences, only allow languages
with localisation as interface or content language.

Bug: T188030
Change-Id: I8acae47ee70feb98bcde982d9b0e3637daf96ffb
2018-06-20 16:21:08 +02:00
Fomafix
384dc90874 Avoid sorting the language array twice
Language::fetchLanguageNames returns already a sorted array. An
additional ksort is only needed when inserting a new value.

Change-Id: If8c7b16fa6e7dfe1545f72ac9c742a2f43eaee57
2018-05-22 23:02:34 -07:00
Fomafix
c28563471f Replace deprecated $wgDummyLanguageCodes in WebInstallerLanguage.php
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
2017-06-09 15:39:56 +02:00
Ricordisamoa
c9f5332696 Remove excess newlines at the end of files
All of them added with commit 6d55397e7c

Change-Id: I09822b8c2a32832b1875028739091dd893900783
2016-01-09 09:13:37 +01:00
Tim Hollmann
6d55397e7c Split the classes in WebInstallerPage.php into multiple files
Bug: T122634
Change-Id: If6606a0e1c2a5ec5651cc7f83cf7342ff8c6c765
2016-01-07 19:03:30 +00:00