Commit graph

20 commits

Author SHA1 Message Date
zoranzoki21 7f1a1ff75c Fix MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
Change-Id: I671831fff70680ca67ba43063bbd620677967b14
2020-09-10 19:29:15 +02:00
Jack Phoenix b08fe9b870 Remove use of global $wgUser
Bug: T243568
Change-Id: Ib0749163e304f19f4067b8c4f997688be4d4b268
2020-02-08 15:51:46 +02:00
Jack Phoenix cfba15fde7 Run timestamps through Database#timestamp, for PostgreSQL
Bug: T87542
Change-Id: I2826fbd2c6b096ef849f972f8d25503155d42345
2020-02-05 15:43:55 +02:00
jenkins-bot 6ddd43282b Merge "PostgreSQL support" 2020-02-05 01:13:48 +00:00
Jack Phoenix 525a37a284 PostgreSQL support
Bug: T87542
Change-Id: I1089667c7228412fcb8f98702a8bad19abe76aa1
2020-02-01 07:33:08 +00:00
Ostrzyciel 949d97cdb6 Fix errors when using the DB readonly mode
AJAXPoll used to throw random DB errors when the DB is in readonly
mode, that should be fixed now. Also fixed a few minor bugs
encountered on the way.

Bug: T205219
Change-Id: I079b2876e01ab8e9916fcc8121d7f4c9a23f00a8
2020-01-29 10:57:08 +01:00
Jack Phoenix 125e943aa2 Actor support, now requires MW 1.34(+)
Bug: T227345
Change-Id: I6b3cefb37efe770f7dcb7f7c093bf71e1e8bb543
2020-01-14 16:32:56 +02:00
Jack Phoenix 71da36ea9c Don't pass variables around if you have no need for 'em
Change-Id: Id9fe08adcd1ba14477b84b469586e56ac9376025
2020-01-02 06:31:13 +02:00
Aaron Schulz b1ba4ceb39 Replace Database type hints with IDatabase
Change-Id: I0ee89a291f60ecde673386d726d6e27b87ad7ef2
2019-06-25 13:19:38 -07:00
Paladox 3cbe1779e2 Remove begin/commit from buildStats
This avoids notices like "Implicit transaction already active" and
"Explicit commit of implicit transaction" in the DBQuery log.

Bug: T198023
Change-Id: I8a91ac9f3bbb8d8042bc5f91cd5c44b3e8c92942
2018-07-04 14:49:17 +00:00
Jack Phoenix 0469665d77 Version 2.0: somewhat more properly convert the AJAX function into an API module to ensure continued post-1.30 compatibility
MW 1.30.0+ is now explicitly required; as such, dropped pre-1.17 support
from AJAXPoll#onLoadExtensionSchemaUpdates.

Also "fixed" T163625 by changing an INSERT INTO query into INSERT IGNORE
INTO, swapped some "double quotes" to 'single quotes', refactored some
stuff, etc.

Bug: T163625
Change-Id: Ifbabf3bf5da25c602fe5873539520c517573890c
2018-05-12 15:50:02 +03:00
Paladox 19b11b54d5 Move AjaxExportList to callback
Change-Id: I7f44b3ea0d5460cecfa358fe0a7f437f5d800b8b
2018-05-10 17:50:17 +00:00
Umherirrender 30940ad94e Improve some parameter docs
Change-Id: I11cdca3812a6bb6d93ffbc916a632b6589ca70b9
2018-01-19 14:09:30 +00:00
SamanthaNguyen ff8313e706 Replace deprecated Parser::disableCache() function
Deprecated in 1.28 in favor of CacheTime::updateCacheExpiry().

Change-Id: Iaffa63bb8e90e4d5853e47a59133d5b720ce89b1
2018-01-06 12:45:44 -06:00
Jack Phoenix 96537f9592 Removing my email address
Change-Id: Id1fe70f53a7622e852f2b70f2970cbaa740285fb
2017-11-11 23:51:27 +02:00
SamanthaNguyen 5e51a1e485 Replace deprecated bot permission check
Change-Id: I61905947f63bdfe1b73289105fb6bfa65e7f4683
2017-09-16 14:42:03 -05:00
jenkins-bot 21b4c94cd0 Merge "DB_SLAVE -> DB_REPLICA" 2017-09-02 00:14:08 +00:00
Max Semenik b43b07df00 DB_SLAVE -> DB_REPLICA
Change-Id: I7eeb1910cc98149aaab94f1d9f0a9562d13bf25b
2017-09-01 16:39:33 -07:00
libraryupgrader 5b44862b42 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: I5aae60568b7c9a59fabdfbdc1a262beec4a59a5c
2017-09-01 04:43:41 +00:00
SamanthaNguyen 4c4348557c Reorganize directory structure + file renaming
Bug: T160849
Change-Id: I4c7ec4d2c5e1dfcc65c4236c8b5d625c6e0e0f12
2017-07-13 15:25:45 +00:00