wiki.techinc.nl/includes/content
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
..
Hook Namespace includes/context 2024-02-08 11:07:01 -05:00
Renderer Tighten up phan type for ContentRenderer::getParserOutput() 2024-02-28 13:27:29 -05:00
Transform
AbstractContent.php Remove deprecated methods from Content interface 2023-11-21 12:40:11 +01:00
CodeContentHandler.php content,maintenance: Use class-string<ClassName> in doc blocks 2023-07-31 17:14:09 +00:00
Content.php Remove deprecated methods from Content interface 2023-11-21 12:40:11 +01:00
ContentHandler.php Replace all instances of "per default" with "by default" 2024-04-29 10:47:54 +10:00
ContentHandlerFactory.php Replace some more usages of deprecated MWException 2023-06-09 02:07:08 +02:00
ContentModelChange.php Namespace includes/context 2024-02-08 11:07:01 -05:00
CssContent.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
CssContentHandler.php [ParserOutput] Rename $mText to $mRawText and ::setText() to ::setRawText() 2024-02-20 17:13:28 +00:00
FallbackContent.php Fix documentation on FallbackContent[Handler]. New in 1.36 not 1.34 2023-05-09 17:30:36 +00:00
FallbackContentHandler.php [ParserOutput] Rename $mText to $mRawText and ::setText() to ::setRawText() 2024-02-20 17:13:28 +00:00
FileContentHandler.php Namespace ParserOutput 2023-12-14 14:57:34 -05:00
IContentHandlerFactory.php Replace deprecated MWException 2024-01-16 21:04:33 +01:00
JavaScriptContent.php content: Stop encoding & in JavaScript redirect content 2023-11-01 00:37:22 +00:00
JavaScriptContentHandler.php [ParserOutput] Rename $mText to $mRawText and ::setText() to ::setRawText() 2024-02-20 17:13:28 +00:00
JsonContent.php Indent JsonContent using tabs 2024-01-02 23:14:34 +02:00
JsonContentHandler.php [ParserOutput] Rename $mText to $mRawText and ::setText() to ::setRawText() 2024-02-20 17:13:28 +00:00
MessageContent.php
TextContent.php Move DiffEngine and helpers to includes/libs/Diff and put them in a namespace 2023-06-20 15:15:13 +10:00
TextContentHandler.php [ParserOutput] Rename $mText to $mRawText and ::setText() to ::setRawText() 2024-02-20 17:13:28 +00:00
ValidationParams.php
WikitextContent.php Namespace includes/context 2024-02-08 11:07:01 -05:00
WikitextContentHandler.php Merge "ParserOutputAccess: only use PoolCounter if the caller asks for it." 2024-03-01 19:00:43 +00:00
WikiTextStructure.php WikiTextStructure: Use raw text from ParserOutput 2024-03-08 00:24:43 +01:00