wiki.techinc.nl/includes/libs
daniel d0bbe78b23 RateLimiter: Fix peek mode
Why:
- Setting the increment to 0 should check the limit without bumping it.
- This was apparently broken by If3e66491306f22650.

What:
- Use LimitBatch::peek if the increment amount is 0

Bug: T381033
Change-Id: Ife76a1976a2063f051f00302e5adaebd701e6367
(cherry picked from commit e09606b3dc44711571cc6cf2d0d11bd7784d0cdd)
2025-03-01 15:51:16 +00:00
..
composer
DebugInfo Replace gettype() with get_debug_type() in debug/log/test output 2024-07-31 19:33:57 +02:00
Diff Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
eventrelayer Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
filebackend FileRepo: Add support for the new Shellbox large file feature 2024-10-29 02:50:07 +00:00
http Make MultiHttpClient free from MediaWiki URL global functions 2024-09-09 22:02:58 +03:30
iterators Use type declaration for class properties holding type hinted arguments 2024-09-11 20:08:50 +00:00
lockmanager objectcache: Move RedisConnRef.php to /libs/objectcache/ 2024-11-07 08:40:54 +00:00
Message Message: Downgrade exception on bool/null param to warning 2024-11-02 12:18:56 +00:00
mime MimeAnalyzer: detect magic number for gltf binary 2025-01-09 14:57:11 +00:00
objectcache objectcache: Remove docs about RedisConnectionPool configurable size 2024-11-07 08:43:27 +00:00
ParamValidator Localisation updates from https://translatewiki.net. 2025-01-28 06:31:37 +01:00
rdbms Merge "rdbms: clear replica snapshots in (begin|commit|rollback)PrimaryChanges()" 2024-10-22 15:25:44 +00:00
Stats Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
telemetry Introduce minimal OTEL tracing library 2024-10-09 15:55:31 +02:00
uuid GlobalIdGenerator: Update str_getcsv() call for PHP 8.4 2024-10-29 15:17:13 +00:00
WRStats RateLimiter: Fix peek mode 2025-03-01 15:51:16 +00:00
ArrayUtils.php
Cookie.php Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
CookieJar.php
Deflate.php Drop old class_aliases for before MW 1.39 that were missed 2024-03-20 12:10:42 +00:00
DnsSrvDiscoverer.php
Emptiable.php Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
ExplodeIterator.php
GhostFieldAccessTrait.php Serialization test cases: fix filename after ParserOutput namespacing 2024-05-17 17:07:47 -04:00
HashRing.php Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
HtmlArmor.php
HttpStatus.php
MapCacheLRU.php Replace gettype() with get_debug_type() in exception messages 2024-07-31 19:24:39 +02:00
MappedIterator.php libs: Add missing documentation to class properties 2024-09-13 17:24:12 +00:00
MemoizedCallable.php Replace gettype() with get_debug_type() in exception messages 2024-07-31 19:24:39 +02:00
MWCryptHash.php Replace gettype() with get_debug_type() in exception messages 2024-07-31 19:24:39 +02:00
NonSerializableTrait.php
README
ReplacementArray.php Use type declaration for class properties holding type hinted arguments 2024-09-11 20:08:50 +00:00
ReverseArrayIterator.php
RiffExtractor.php
StaticArrayWriter.php
StatusValue.php Make Message and MessageValue compatible 2024-10-19 15:00:07 +02:00
StringUtils.php Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
Timing.php
UDPTransport.php Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
UnpackFailedException.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.