wiki.techinc.nl/includes/utils
Bryan Davis 5e2c34fec3 Fix AutoloadGenerator to work on MediaWiki-Vagrant (again)
The patch set from I5d502b5 re-introduced the use of realpath() within
AutoloadGenerator::readFile() as part of a set of changes to ensure that
path separators are normalized across Unix and Windows systems. As noted
previously in I4623b3d, the use of realpath() in this function will
cause fatal exceptions to be thrown when a file such as
LocalSettings.php is a symlink to a file outside to $IP.

This patch separates the path normalization functionality from
realpath() expansion and uses only the path normalization component
within AutoloadGenerator::readFile(). It also introduces a cautionary
comment in AutoloadGenerator::readFile() that will hopefully keep
realpath() from being reintroduced there.

Change-Id: I4923dfa8370a7bd6077f42ff4c437d7293fdad66
2014-12-20 21:45:43 +00:00
..
AutoloadGenerator.php Fix AutoloadGenerator to work on MediaWiki-Vagrant (again) 2014-12-20 21:45:43 +00:00
IP.php Replace wfRunHooks calls with direct Hooks::run calls 2014-12-10 12:26:59 -08:00
MWCryptHKDF.php Add missing @param to function docs 2014-08-18 16:24:59 +00:00
MWCryptRand.php Add missing @return to function docs 2014-08-23 23:14:57 +02:00
MWFunction.php Deprecate MWFunction::newObj() in favor of ObjectFactory 2014-11-06 13:41:18 -07:00
README
StringUtils.php Fixed some @params documentation (includes/utils) 2014-07-21 20:58:14 +02:00
UIDGenerator.php Fixed UID comment 2014-08-27 16:19:11 -07:00
ZipDirectoryReader.php Add missing @param to function docs 2014-08-18 16:24:59 +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.