wiki.techinc.nl/includes/utils
thiemowmde f5cd1ba7ca Improve performance of trivial encoding/decoding regexes
Instead of replacing 1 character at a time the functions used here
can replace sequences of any length. This can dramatically reduce the
function call overhead.

Also make use of the `fn ()` syntax because we can.

Change-Id: I2dbc2271aa7847d9b687703f837cb0d850596ef0
2023-10-04 11:09:44 +02:00
..
AutoloadGenerator.php
BatchRowIterator.php
BatchRowUpdate.php
BatchRowWriter.php Migrate more usages of Database::update() to UpdateQueryBuilder 2023-06-09 13:36:04 +00:00
ClassCollector.php
ExecutableFinder.php
ExtensionInfo.php Follow-up c822159: Add in-code comment on alias for when it was added 2023-08-29 01:29:22 +00:00
FileContentsHasher.php
GitInfo.php Follow-up cb73518: Add in-code comment on alias for when it was added 2023-08-29 01:29:38 +00:00
MWCryptHKDF.php
MWCryptRand.php
MWFileProps.php
MWRestrictions.php Reorg: Move WebRequest to includes\Request 2023-09-11 21:44:34 +01:00
MWTimestamp.php Namespace User under \MediaWiki\User 2023-09-19 19:18:16 +00:00
README
RowUpdateGenerator.php
UIDGenerator.php
UrlUtils.php Improve performance of trivial encoding/decoding regexes 2023-10-04 11:09:44 +02:00
ZipDirectoryReader.php Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
ZipDirectoryReaderError.php

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.