aboutsummaryrefslogtreecommitdiffstats
path: root/includes/htmlform/fields/HTMLSelectLanguageField.php
Commit message (Collapse)AuthorAgeFilesLines
* Standardise all our class alias deprecation comments for ease of greppingJames D. Forrester2024-03-191-1/+1
| | | | Change-Id: I7f85d931d3b79da23e87b4e5692b2e14be8fcaa0
* Namespace HTMLForm and friendsJames D. Forrester2024-02-141-0/+6
| | | | | Bug: T353458 Change-Id: I09e66c3223018ec47e0549ee7f6a590b676f4eef
* Replace a few array_key_exists with the ??= syntaxthiemowmde2024-01-081-3/+1
| | | | | | | | Or just remove it. It's not needed when the structure is already an array. PHP will happily initialize multi-dimentional arrays when needed. Change-Id: I93845e8d6f870d147bd55cfe3827bc94b375d0ba
* Use MainConfigNames instead of string literals, #3Aryeh Gregor2022-04-261-2/+4
| | | | | | | | | | | | | This edition brought to you by: grep -ERIn $(grep -o "'[A-Za-z0-9_]*'" includes/MainConfigNames.php | tr "\n" '|' | sed 's/|$/\n/') includes/ I only corrected a fraction of the results provided by that command. I'm submitting the partial patch now so it doesn't bitrot. Bug: T305805 Change-Id: If1918c0b3d88cdf90403921e4310740e206d6962
* Refactor global variables to use MediaWikiServices insteadTChin2022-01-101-2/+1
| | | | | | | | | | | | Automatically refactors wg prefixed globals to use MediaWikiServices config using Rector. Doesn't include files that set globals or files that fail CI. Rector Gist: https://gist.github.com/tchin25/7cc54f6d23aedef010b22e4dfbead228 * This patch uses a modified source code rector library for our specific use case and the rector will have different effects without it. A writeup for future reference is here: https://meta.wikimedia.org/wiki/User:TChin_(WMF)/Using_Rector_On_MediaWiki Change-Id: I1a691f01cd82e60bf41207d32501edb4b9835e37
* Use LanguageNameUtils constants instead of stringsAlexander Vorwerk2021-12-051-1/+1
| | | | Change-Id: I8521d00675008da0d7c8c768ab75352212653c66
* Fix broken PHPDoc comments that don't start with /**Thiemo Kreuz2020-07-231-1/+2
| | | | Change-Id: I8db56ff0f73873864dde260e51adcd729aa74e94
* HTML Classes stability annotationsNikki Nikkhoui2020-07-131-0/+6
| | | | | | | Add stability annotations for HTML classes. Bug: T247862 Change-Id: I4dad7b98213ceceb8c04b24e5d52e6fecadb3538
* Remove usages of deprecated Language methodsPetr Pchelko2020-02-161-1/+5
| | | | Change-Id: Iad3375b141b1d87c890baec6ecd16ed92f93e699
* htmlform: Move HTMLSelectLanguageField into includes/htmlform/fieldsSamanthaNguyen2019-01-221-0/+36
This was originally directly under includes/htmlform. This is a specific type of field, so it should go here instead. Follows-up d0c31ac988888764. Change-Id: Iac196068ce2cbca063948bc78d21913482717d9a