wiki.techinc.nl/includes/libs
Aaron Schulz dd97395104 objectcache: make BagOStuff::lock/unlock easier to override
Avoid the duplication of the reentrant lock logic in subclasses.

Move "lock already expired" logic from getScopedLock() to unlock()
so that it applies more generally. Warn when unlock() is called on
a key that is not even locked as well.

Also:
* Rename lock() $expiry argument to $exptime for consistency
* Fix return types for serialize()/unserialize()

Bug: T274174
Change-Id: I211536e616cf7f1cc60181c378bbf9b35ffa40a4
2021-07-19 19:40:17 +00:00
..
composer
eventrelayer
filebackend Remove some more comments that literally repeat the code 2021-06-18 21:23:56 +00:00
http MultiHttpClient: Replace PHP version check with defined() 2021-06-23 01:47:59 +01:00
iterators
lockmanager
Message Fix a bunch of random typos 2021-06-29 11:32:04 +00:00
mime
objectcache objectcache: make BagOStuff::lock/unlock easier to override 2021-07-19 19:40:17 +00:00
ParamValidator Localisation updates from https://translatewiki.net. 2021-06-21 14:00:53 +02:00
rdbms rdbms: track the acquisition timestamps of named locks in Database 2021-07-19 12:10:48 -07:00
redis Remove some more comments that literally repeat the code 2021-06-18 21:23:56 +00:00
stats
uuid uuid: Simplify GlobalIdGenerator by removing QUICK_VOLATILE flag 2021-04-14 21:40:35 +00:00
virtualrest
APACHE-LICENSE-2.0.txt
ArrayUtils.php
Cookie.php Use some more neutral language 2021-04-18 16:49:36 +01:00
CookieJar.php
CryptHKDF.php
Deflate.php
DnsSrvDiscoverer.php
ExplodeIterator.php Remove some more comments that literally repeat the code 2021-06-18 21:23:56 +00:00
GenericArrayObject.php
GhostFieldAccessTrait.php
HashRing.php
HtmlArmor.php Update Legoktm's email address 2021-05-02 05:39:37 +00:00
HttpStatus.php
jsminplus.php
MapCacheLRU.php
MappedIterator.php
MemoizedCallable.php
MessageSpecifier.php
MWCryptHash.php
NonSerializableTrait.php
README
ReplacementArray.php Remove unused default values from class properties 2021-05-12 13:44:28 +02:00
ReverseArrayIterator.php
RiffExtractor.php
StaticArrayWriter.php
StatusValue.php
StringUtils.php
Timing.php
UDPTransport.php Use IEC prefixes instead of SI prefixes for byte sizes (docs+backend) 2021-06-28 11:59:09 +01:00
Xhprof.php
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.