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 |
||
|---|---|---|
| .. | ||
| composer | ||
| eventrelayer | ||
| filebackend | ||
| http | ||
| iterators | ||
| lockmanager | ||
| Message | ||
| mime | ||
| objectcache | ||
| ParamValidator | ||
| rdbms | ||
| redis | ||
| stats | ||
| uuid | ||
| virtualrest | ||
| APACHE-LICENSE-2.0.txt | ||
| ArrayUtils.php | ||
| Cookie.php | ||
| CookieJar.php | ||
| CryptHKDF.php | ||
| Deflate.php | ||
| DnsSrvDiscoverer.php | ||
| ExplodeIterator.php | ||
| GenericArrayObject.php | ||
| GhostFieldAccessTrait.php | ||
| HashRing.php | ||
| HtmlArmor.php | ||
| HttpStatus.php | ||
| jsminplus.php | ||
| MapCacheLRU.php | ||
| MappedIterator.php | ||
| MemoizedCallable.php | ||
| MessageSpecifier.php | ||
| MWCryptHash.php | ||
| NonSerializableTrait.php | ||
| README | ||
| ReplacementArray.php | ||
| ReverseArrayIterator.php | ||
| RiffExtractor.php | ||
| StaticArrayWriter.php | ||
| StatusValue.php | ||
| StringUtils.php | ||
| Timing.php | ||
| UDPTransport.php | ||
| 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.