wiki.techinc.nl/tests/phpunit/integration/includes
Tim Starling 917f0a5996 Replace all instances of "per default" with "by default"
According to the dictionary, "per" (or more conventionally "as per")
means "according to". Refer OED "per" sense II.3.a. For example:

"No value was passed, so return null, as per default".

In this sentence, we are not specifying the default, we are referring
to the default. This correct usage of "per default" was used nowhere
in MediaWiki core as far as I can see.

Instead we have "per default" being used to mean "by default", that is,
giving the value to use when no explicit value was specified.

In OED, the phrase "by default" is blessed with its own section just
for computing usage:

"P.1.e. Computing. As an option or setting adopted automatically by a
computer program whenever an alternative is not specified by the user
or programmer. Cf. sense I.7a."

There are highly similar pre-computing usages of the same phrase,
whereas the phrase "per default" is not mentioned.

As a matter of style, I think "per default" should not be used even
when it is strictly correct, since the common incorrect usage makes it
ambiguous and misleading.

Change-Id: Ibcccc65ead864d082677b472b34ff32ff41c60ae
2024-04-29 10:47:54 +10:00
..
block tests: Migrate to IDatabase::newInsertQueryBuilder 2024-04-14 21:56:07 +02:00
cache Namespace includes/cache 2024-02-20 10:28:03 -05:00
CommentFormatter Merge "Change more uses of getDBLoadBalancerFactory() to getConnectionProvider()" 2024-01-23 17:59:21 +00:00
composer libs/composer: Namespace under Wikimedia\Composer 2024-01-13 20:10:25 +00:00
context tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
db Add 1.42 snapshot to sqlite db tests 2024-04-23 22:59:58 +02:00
diff tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
editpage/Constraint Namespace includes/context 2024-02-08 11:07:01 -05:00
export
filerepo tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
Html Html,Xml: Widen @covers tags 2024-03-30 21:48:32 +00:00
HTMLForm HTMLButtonFieldTest: Test regular HTML output 2024-04-08 16:42:58 -04:00
http tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
language tests: Add Tests to PHP namespacing 2024-02-16 19:10:11 +00:00
libs filebackend: Refactor FileBackendIntegrationTest 2024-03-14 20:27:25 +00:00
logging tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
mail test: Add integration testing for Emailer 2024-02-23 18:26:46 +00:00
page Update tests for PHPUnit 9.6 (part 1) 2024-01-16 23:36:15 +01:00
parser tests: Refactor common code out of Parser used-options tests 2024-04-25 14:13:08 +00:00
Permissions Permissions: Widen @covers tags in tests 2024-04-11 22:11:56 +01:00
poolcounter tests: Fix @covers in PoolCounterConnectionManagerTest 2024-03-23 09:57:56 +01:00
RenameUser Add integration test for RenameuserSQL 2023-11-15 09:23:06 +11:00
ResourceLoader tests: Add more use statements in namespaced classes 2024-02-18 21:31:02 +00:00
Rest/Handler Replace all instances of "per default" with "by default" 2024-04-29 10:47:54 +10:00
revisionlist tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
search tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
specials Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
Storage tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
StubObject Namespace User under \MediaWiki\User 2023-09-19 19:18:16 +00:00
user TempAccounts: Make Throttler and WebRequest required 2024-04-23 16:51:49 +00:00
utils tests: Fix @covers and @coversDefaultClass to have leading \ 2024-02-16 22:43:56 +00:00
watchlist Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
ExtensionJsonTestBase.php Clean up tests 2024-02-12 09:25:25 +01:00
ExtensionServicesTestBase.php
MediaWikiEntryPointTest.php tests: Add replacement for assertions deprecated in PHPUnit 9.6 2024-02-23 22:09:45 +01:00