wiki.techinc.nl/includes/utils
Timo Tijhof 66102bd54c resourceloader: Remove support for $algo param in FileContentsHasher
This isn't used anywhere. Theoretical code using would gracefully
fallback to 'md4' given extra params are ignored by PHP.

In terms of future roadmap, I do expect that this algo may have to
change one day based on information that might come to light around
whether MD4 will remain sufficiently fast and/or sufficiently unique.

However, I do not expect that to be so significant in difference that
we'd have to remain some callers on MD4 whilst others adopt something
else. It seems fine that, if that time comes, to simply switch it
and thus consider the algo an implementation detail.

Bug: T32956
Change-Id: Ia9e1366b802ac18f439ce0c802189ede0a2c63f0
2021-12-03 12:12:29 +00:00
..
AutoloadGenerator.php Safer autoloading with respect to file-scope code 2021-01-11 11:59:36 +11:00
BatchRowIterator.php Improve class property documentation 2020-10-30 10:38:58 +01:00
BatchRowUpdate.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
BatchRowWriter.php Improve class property documentation 2020-10-30 10:38:58 +01:00
ClassCollector.php docs: Fix nullable documentation for class properties 2021-09-24 00:54:53 +00:00
ExecutableFinder.php Update Legoktm's email address 2021-05-02 05:39:37 +00:00
FileContentsHasher.php resourceloader: Remove support for $algo param in FileContentsHasher 2021-12-03 12:12:29 +00:00
MWCryptHKDF.php
MWCryptRand.php
MWFileProps.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
MWRestrictions.php Use IPset in MWRestrictions::checkIP 2020-08-18 12:08:13 +01:00
README
RowUpdateGenerator.php Replace "@stable for implementation" with "@stable to implement" 2020-07-13 11:05:49 +02:00
UIDGenerator.php Fix even more PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 00:51:46 +01:00
ZipDirectoryReader.php Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
ZipDirectoryReaderError.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00

The classes in this directory are general utilities for use by any part of
MediaWiki. They do not favour any particular user interface and are not
constrained to serve any particular feature. This is similar to includes/libs,
except that some dependency on the MediaWiki framework (such as the use of
MWException, Status or wfDebug()) disqualifies them from use outside of
MediaWiki without modification.

Utilities should not use global configuration variables, rather they should rely
on the caller to configure their behaviour.