wiki.techinc.nl/includes/libs
Tim Starling d459add63d Introduce wfDeprecatedMsg()
Deprecating something means to say something nasty about it, or to draw
its character into question. For example, "this function is lazy and good
for nothing". Deprecatory remarks by a developer are generally taken as a
warning that violence will soon be done against the function in question.
Other developers are thus warned to avoid associating with the deprecated
function.

However, since wfDeprecated() was introduced, it has become obvious that
the targets of deprecation are not limited to functions. Developers can
deprecate literally anything: a parameter, a return value, a file
format, Mondays, the concept of being, etc. wfDeprecated() requires
every deprecatory statement to begin with "use of", leading to some
awkward sentences. For example, one might say: "Use of your mouth to
cough without it being covered by your arm is deprecated since 2020."

So, introduce wfDeprecatedMsg(), which allows deprecation messages to be
specified in plain text, with the caller description being optionally
appended. Migrate incorrect or gramatically awkward uses of wfDeprecated()
to wfDeprecatedMsg().

Change-Id: Ib3dd2fe37677d98425d0f3692db5c9e988943ae8
2020-06-22 14:34:39 +10:00
..
composer
eventrelayer
filebackend Use PHP_OS_FAMILY instead of substr(PHP_OS,0,3) for Windows checks 2020-06-13 19:44:00 +00:00
http MultiHttpClient: Reduce the default timeout from 900 to 30 2020-06-15 15:34:13 +10:00
iterators
lockmanager Use PHP_OS_FAMILY instead of substr(PHP_OS,0,3) for Windows checks 2020-06-13 19:44:00 +00:00
Message Fix some more Squiz.Scope.MethodScope.Missing 2020-05-17 01:30:25 +00:00
mime upload: Modernize callback code to make use of PHP7 syntax 2020-05-29 09:37:03 +00:00
objectcache objectcache: Split out BagOStuffTestBase class for easier subclassing 2020-06-13 20:15:23 +00:00
ParamValidator Localisation updates from https://translatewiki.net. 2020-06-08 08:47:58 +02:00
rdbms rdbms: Remove is_array check on typed argument in DatabasePostgres 2020-06-20 20:52:01 +00:00
redis Remove falsy check after new call 2020-06-18 19:41:01 +02:00
services
stats
uuid Use PHP_OS_FAMILY instead of substr(PHP_OS,0,3) for Windows checks 2020-06-13 19:44:00 +00:00
virtualrest Introduce wfDeprecatedMsg() 2020-06-22 14:34:39 +10:00
APACHE-LICENSE-2.0.txt
ArrayUtils.php
Cookie.php
CookieJar.php
CryptHKDF.php
CSSMin.php resourceloader: Cleanup CSSMin 2020-05-16 18:34:02 +00:00
DeferredStringifier.php
Deflate.php
DnsSrvDiscoverer.php
ExplodeIterator.php
GenericArrayObject.php
HashRing.php Fix more libs PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 20:13:22 +00:00
HtmlArmor.php
HttpStatus.php
JavaScriptMinifier.php Fix some Squiz.Scope.MethodScope.Missing 2020-05-16 22:18:49 +01:00
jsminplus.php
MapCacheLRU.php Fix some includes/libs PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 02:32:53 +01:00
MappedIterator.php
MemoizedCallable.php
MessageSpecifier.php
MWCryptHash.php
ProcessCacheLRU.php
README
ReplacementArray.php
ReverseArrayIterator.php
RiffExtractor.php
StaticArrayWriter.php
StatusValue.php
StringUtils.php Fix some more Squiz.Scope.MethodScope.Missing 2020-05-17 01:30:25 +00:00
Timing.php
UDPTransport.php UDPTransport: move payload size to accessible constant 2020-03-27 12:53:02 -06:00
Xhprof.php profiler: Set Xhprof::$enabled after enable attempt, not before 2020-05-07 22:52:27 +01:00
XhprofData.php

The classes in this directory ./includes/libs are considered standalone
from the remainder of the MediaWiki codebase. They do not call on any other
portions of MediaWiki code, and can be used in other projects without
dependency issues.