wiki.techinc.nl/includes/libs
Aaron Schulz cbc700e186 rbms: optimize and rename truncateTable() to truncate()
Allow truncation of multiple tables. This also provides for
a way to avoid risky keywords like CASCADE for Postgres.

For Postgres, use RESTART IDENTITY, which has been supported
since Postgres 8.4.

Avoid TRUNCATE/DELETE queries for empty temp tables, which is
useful for integrations tests that frequently call this method.

Reorganize and tweak the regexes in Database::getTempWrites().
It now recognizes multi-table DROP/TRUNCATE (Postgres-style).

Change-Id: Idd49f118b20ea5a0f7a3e8c00369aabcd45dd44e
2020-04-21 01:26:18 -07:00
..
composer Fix new phan errors, part 2 2019-10-12 10:35:09 +00:00
eventrelayer Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
filebackend Replace isset() in if() conditions with ?? if possible 2020-03-23 09:28:07 +01:00
http Upgrade phan to 0.9.1 2020-01-25 10:53:26 +00:00
iterators
lockmanager build: Upgrade mediawiki-phan-config to 0.9.2 2020-02-21 22:05:24 +00:00
Message libs/Message: Fix value of ParamType::DURATION_SHORT 2019-11-25 18:23:43 +00:00
mime Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
objectcache objectcache: improve documentation for BagOStuff::setNewPreparedValues() 2020-04-18 21:47:41 +00:00
ParamValidator Localisation updates from https://translatewiki.net. 2020-04-20 08:39:32 +02:00
rdbms rbms: optimize and rename truncateTable() to truncate() 2020-04-21 01:26:18 -07:00
redis Upgrade phan to 0.9.1 2020-01-25 10:53:26 +00:00
services Remove 1.33 aliases from libs/services 2020-01-09 21:37:29 +00:00
stats Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
uuid uuid: explicitly cast floor() parameter to a float in GlobalIdGenerator 2020-04-09 00:53:17 +00:00
virtualrest ParsoidVirtualRESTService: Enable /page/lint/... endpoints 2020-04-15 20:11:14 +02:00
APACHE-LICENSE-2.0.txt
ArrayUtils.php
Cookie.php Set method visibility for various constructors 2019-12-03 20:17:30 +01:00
CookieJar.php
CryptHKDF.php Set visibility on php magic functions __destruct/sleep/wakeup/get/call 2019-12-05 18:52:55 +01:00
CSSMin.php Improve param docs 2019-11-28 19:08:59 +01:00
DeferredStringifier.php
Deflate.php Move deflate method to MW util and deprecate EasyDeflate module 2019-10-30 15:03:41 +00:00
DnsSrvDiscoverer.php Fix new phan errors, part 6 2019-10-20 17:53:48 +00:00
ExplodeIterator.php Globally unsuppress phan issues with low count 2019-08-30 09:40:47 +00:00
GenericArrayObject.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
HashRing.php Add some libketama comments and remove unused constant in HashRing 2019-12-04 02:37:09 +00:00
HtmlArmor.php
HttpStatus.php
JavaScriptMinifier.php
jsminplus.php Minor cleanups 2019-11-03 17:10:23 -08:00
MapCacheLRU.php objectcache: Add regression test for MapCacheLRU serialization 2020-04-16 17:55:17 +01:00
MappedIterator.php Upgrade phan config to 0.7.1 2019-09-04 08:20:53 +00:00
MemoizedCallable.php libs: Declare dynamic properties and improve doc types 2019-09-12 10:57:26 +00:00
MessageSpecifier.php
MWCryptHash.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
ProcessCacheLRU.php
README
ReplacementArray.php
ReverseArrayIterator.php Remove duplicate variable name from class property PHPDocs 2019-12-02 12:58:29 +00:00
RiffExtractor.php
StaticArrayWriter.php
StatusValue.php StatusValue: Fix __toString() to not choke on special parameters 2020-02-14 16:51:31 -05:00
StringUtils.php Remove unused StringUtils::explodeMarkup() 2020-02-24 17:34:54 +01:00
Timing.php
UDPTransport.php UDPTransport: move payload size to accessible constant 2020-03-27 12:53:02 -06:00
Xhprof.php doxygen: Changed Doxygen tags causing warnings during documentation generation 2020-04-14 03:25:19 +00:00
XhprofData.php Remove duplicate variable name from class property PHPDocs 2019-12-02 12:58:29 +00:00

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.