wiki.techinc.nl/tests/phpunit/includes
Fomafix 6839b85994 Step 1 of renaming sr-ec and sr-el to sr-cyrl and sr-latn
The language codes sr-ec and sr-el are not conform to BCP 47.
BCP 47 explicit mentions sr-Latn and sr-Cyrl as examples.

This change adds support for the language codes sr-cyrl and sr-latn
as fallback languages of the language codes sr-ec and sr-el. This
allows to rename the message files and the system messages without
changing the language codes yet.

The next step is to rename the language codes in Translatewiki as
described in https://translatewiki.net/wiki/Renaming_language_codes
Also local system messages in MediaWiki:*/sr-ec and MediaWiki:*/sr-el
can moved to MediaWiki:*/sr-cyrl and MediaWiki:*/sr-latn.

The final step is the change I75da0af35a2066e7963e50c56c99daf1e07c55e6
to complete the rename of the language codes.

Bug: T117845
Change-Id: I666fbdea89ccf21aab6ca1849adf22813dec052e
2022-07-10 21:19:34 +00:00
..
actions tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
api Step 1 of renaming sr-ec and sr-el to sr-cyrl and sr-latn 2022-07-10 21:19:34 +00:00
auth PHPUnit: enable main object cache in tests 2022-07-07 16:26:03 +10:00
block tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
cache tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
changes tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
changetags Fix visibility of setUp methods in tests 2022-05-17 14:11:22 +02:00
collation IcuCollation: Remove unnecessary rtrim() and unset() 2022-05-21 02:02:39 -04:00
config
content tests: Use WikiPageFactory to create WikiPage object 2022-06-26 23:21:02 +02:00
context tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
db rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1 2022-07-06 19:35:01 +00:00
debug Tests: Fix some @covers statements 2022-06-06 01:02:39 +01:00
deferred tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
diff tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
editpage Permissions: Add strict return types and minor doc cleanup 2022-05-21 23:05:32 +01:00
exception Replace deprecated wfReadOnly/wfReadOnlyReason 2022-06-20 15:35:24 +00:00
externalstore
filebackend
filerepo Remove deprecated wfLocalFile and wfFindFile 2022-07-07 18:49:31 +00:00
GlobalFunctions Hard deprecate wfReadOnly/wfReadOnlyReason 2022-06-28 21:21:51 +02:00
HookContainer
htmlform tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
http
import tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
installer
interwiki
jobqueue tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
language
languages Use yield consistently in grammar tests 2022-06-03 14:52:53 +03:00
libs objectcache: Implement asynchronous increment in memcached BagOStuff 2022-06-30 04:14:51 +00:00
linkeddata tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
linker
logging tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
mail tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
media Do minor code cleanup 2022-06-24 13:52:42 +02:00
Message
Navigation
objectcache objectcache: Simplify SqlBagOStuff class configuration 2022-05-27 15:04:43 +00:00
page tests: Use WikiPageFactory to create WikiPage object 2022-06-26 23:21:02 +02:00
pager tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
ParamValidator/TypeDef tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
parser tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
password
Permissions Clean up line indent with mixed tabs and whitespaces 2022-07-09 22:21:53 +02:00
poolcounter Replace deprecated calls ParserOptions::newCanonical( 'canonical' ) 2022-06-16 14:22:24 +01:00
preferences Fix visibility of setUp methods in tests 2022-05-17 14:11:22 +02:00
rcfeed
registration Collect autoloader info in ExtensionProcessor 2022-06-07 17:39:00 +02:00
ResourceLoader ResourceLoader: Inject HookContainer & UserOptionsLookup to getUserDefaults 2022-07-01 00:53:37 +00:00
Rest Allow REST API handlers to require csrf-safe session providers 2022-05-20 16:52:54 +00:00
Revision Merge "tests: Remove unneeded Title::newFromLinkTarget calls" 2022-07-06 15:51:56 +00:00
search tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
session PHPUnit: introduce setMainCache 2022-07-07 16:25:59 +10:00
shell
site Tests: Cleanup some unnecessary nested function calls 2022-06-06 01:02:34 +01:00
skins tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
sparql
specialpage AbstractChangesListSpecialPageTestCase: Add abstract function for validateOptionsProvider 2022-06-06 00:41:32 +00:00
specials tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
Storage Protect against passing unsupported content models to Parsoid. 2022-06-30 14:54:42 +00:00
title Tests: Cleanup some unnecessary nested function calls 2022-06-06 01:02:34 +01:00
upload Add us-ascii to safeXmlEncodings 2022-04-27 09:59:49 +10:00
user Move rate limiting tests into RaterLimiterTest 2022-07-06 12:30:44 +02:00
utils Tests: Cleanup some unnecessary nested function calls 2022-06-06 01:02:34 +01:00
watcheditem tests: Fix types in documentation by adding use statements 2022-05-29 07:11:15 +00:00
ActorMigrationTest.php tests: Use namespaced IDatabase class 2022-05-28 00:09:55 +02:00
ActorMigrationTest.sql
AutoLoaderTest.php AutoLoader: provide methods for registering classes 2022-05-10 13:55:53 +10:00
CategoryTest.php
CommentStoreCommentTest.php
CommentStoreTest.php
CommentStoreTest.sql
ContentSecurityPolicyTest.php Get the MainConfig from MediaWikiServices instead of RequestContext 2022-05-24 21:54:21 +00:00
EditPageConstraintsTest.php
EditPageTest.php Language: Inject NamespaceInfo 2022-05-11 17:24:17 +02:00
ExportTest.php
ExtraParserTest.php
FauxRequestTest.php
GitInfoTest.php
HooksTest.php
HtmlTest.php
LinkerTest.php
LinkFilterTest.php
MagicWordFactoryTest.php
MediaWikiServicesTest.php Start catch blocks on the same line as the preceding } 2022-06-23 00:22:35 +00:00
MediaWikiTest.php
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php
MessageTest.php
MockServiceWiring.php
MovePageTest.php Remove fallback to MediaWikiServices in MovePage::__construct 2022-04-20 21:06:44 +00:00
MultiHttpClientTest.php
MWTimestampTest.php Language::getHumanTimestamp: Don't show time when timestamp in a different year 2022-07-06 22:25:30 +01:00
OutputPageTest.php Clean up line indent with mixed tabs and whitespaces 2022-07-09 22:21:53 +02:00
PagePropsTest.php
SampleTest.php
SiteStatsTest.php
StatusTest.php StatusValue: include type in toString output 2022-06-10 11:09:14 +00:00
TemplateCategoriesTest.php
TestUser.php
TestUserRegistry.php
TimeAdjustTest.php
TitleTest.php Remove Title::isNamespaceProtected 2022-06-16 19:08:34 +02:00
TitleUrlTest.php
TrackingCategoriesTest.php
WebRequestTest.php
WikiMapTest.php
XmlTest.php