wiki.techinc.nl/includes/utils
Ben Davis 8d590fac31 Fix for "Invalid key type: integer"
MWCryptHash::hmac requires a string, but mt_rand() returns an integer.
This issue resulted in an uncaught exception in a fresh installation
of mediawiki.

Imported from https://github.com/wikimedia/mediawiki/pull/55

Change-Id: Idccf5f230bfc2de30357b03c78c51cdad4839515
2016-08-06 01:46:49 +01:00
..
iterators
AutoloadGenerator.php Change explicit class to self in AutoloadGenerator 2016-08-05 20:04:59 +02:00
AvroValidator.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
BatchRowIterator.php Update BatchRowIterator constructor to allow multiple tables 2016-07-18 10:27:15 -07:00
BatchRowUpdate.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
BatchRowWriter.php Migrate callers to waitForReplication() 2016-01-28 03:00:08 +00:00
FileContentsHasher.php
IP.php Fix phpdoc in IP.php (ipv4&6) 2016-06-23 10:59:00 +01:00
MWCryptHash.php Throw an exception when the $key argument to hash_hmac is not a string 2016-03-24 20:54:54 +01:00
MWCryptHKDF.php Fix undefined classes 2016-06-30 15:08:35 -07:00
MWCryptRand.php Fix for "Invalid key type: integer" 2016-08-06 01:46:49 +01:00
MWGrants.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MWRestrictions.php Replace uses of join() by implode() 2016-03-08 18:24:16 +00:00
README
RowUpdateGenerator.php
UIDGenerator.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ZipDirectoryReader.php ZipDirectoryReader: Don't try to parse zero-length files 2016-03-24 10:15:10 +01: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.