Commit graph

4407 commits

Author SHA1 Message Date
Daimona Eaytoy e60dacbbea Fix code comments
Fixed some comments adding explanations, fixing syntax, and parameter types
for docblocks. Also fixed some whitespace mess, and added a missing use
statement.

Change-Id: I3547c90bdaa2cab5443e8bf0c63b217fe6ba663f
2018-10-03 16:45:03 +02:00
jenkins-bot 3efc69960c Merge "Fix database schema for PostgreSQL" 2018-10-01 15:43:29 +00:00
Umherirrender 45e6fa932d Fix caller name in AbuseFilterHooks::fetchAllTags
Seeing {closure} in the logs as caller is not helpful

Change-Id: Id3bf5c7fd810d48dc04a167692b336b3ccba2eb4
2018-09-30 14:08:06 +02:00
Umherirrender 4fdd1bbf20 Fix caller name in AFComputedVariable::getLastPageAuthors
Seeing {closure} in the logs as caller is not helpful

Change-Id: I23ee52609510f8efefba8c1ee466d491f468f494
2018-09-30 14:06:04 +02:00
Matěj Suchánek db50bef21e Fix database schema for PostgreSQL
Bug: T62639
Change-Id: I5ddb781a2971677410f4cb96e5fc5964e53c862a
2018-09-29 12:12:52 +02:00
Translation updater bot 237f5170c1 Localisation updates from https://translatewiki.net.
Change-Id: Ic6a3879e7fe507e0c29d3c1791e4120271c33014
2018-09-26 13:45:01 +02:00
Translation updater bot db432e0c02 Localisation updates from https://translatewiki.net.
Change-Id: Id2f0238963331438cbcd79302b3a0d9f9f186a07
2018-09-24 09:17:39 +02:00
Translation updater bot be68b60614 Localisation updates from https://translatewiki.net.
Change-Id: I66e0abeaf5018ecfe44d54b7a7c5f95ac4906fbe
2018-09-23 10:26:28 +02:00
Translation updater bot 347d51bf61 Localisation updates from https://translatewiki.net.
Change-Id: I08b1770a7be62f4ced1962e4373eafebf0cf65cf
2018-09-22 10:02:58 +02:00
jenkins-bot 70eebbce11 Merge "Move all apihelp translatable messages to separate files" 2018-09-22 00:01:29 +00:00
Translation updater bot 7574a291d1 Localisation updates from https://translatewiki.net.
Change-Id: I19f05fab02359140df9e519eef468d265c7bf2de
2018-09-21 10:34:43 +02:00
Jayprakash12345 8ad2203ce0 Move all apihelp translatable messages to separate files
Should be merged along with
Ib66f4614285411e5fd971dc0cb4291ea8113418c

Bug: T189982
Change-Id: Id9beb08ee34e6861543cf59d80abfac616bf9238
2018-09-21 08:21:38 +00:00
jenkins-bot eae59db542 Merge "Fix the block options on ViewEdit" 2018-09-20 11:25:00 +00:00
jenkins-bot d091865878 Merge "Remove unused parameter" 2018-09-20 10:48:12 +00:00
Translation updater bot f73843e721 Localisation updates from https://translatewiki.net.
Change-Id: If3840ab3ffe0e0143383194a33f288ed16091c31
2018-09-20 09:58:26 +02:00
Daimona Eaytoy 9144dbf4a1 Remove unused parameter
Nothing uses it, plus it wouldn't work anyway: AbuseFilterParser
constructor only uses $vars if it's instanceof
AbuseFilterVariableHolder.

Change-Id: Idbf53f6058148e9f0e73beb949e1c028a81663ce
2018-09-19 19:58:30 +02:00
Translation updater bot f7596ccd98 Localisation updates from https://translatewiki.net.
Change-Id: I6e14550f34023f29ddf759cafc8337f6f7eb6efe
2018-09-19 10:00:10 +02:00
Translation updater bot a3d15e039f Localisation updates from https://translatewiki.net.
Change-Id: I9f9a8cdbafde91cc9cbcf2cda7111055ce37d63f
2018-09-18 09:51:46 +02:00
Translation updater bot 91eb5efa90 Localisation updates from https://translatewiki.net.
Change-Id: I29593134ad5a2a573c12ac056c60f80d9f31f0fe
2018-09-17 10:16:41 +02:00
jenkins-bot a813140e44 Merge "Unbreak /examine for old log entries" 2018-09-16 12:00:34 +00:00
jenkins-bot 3902b35a0d Merge "Allow testing account autocreation" 2018-09-16 11:57:41 +00:00
Translation updater bot a88fe64d49 Localisation updates from https://translatewiki.net.
Change-Id: Id5d085d26d56c79551eb2869cb43ac0ddf70b7bd
2018-09-15 09:53:34 +02:00
Daimona Eaytoy fc867a1c5c Allow testing account autocreation
Bug: T204231
Change-Id: If566cfdeb4cdbb78833077da09aeef33754f88d3
2018-09-14 13:09:07 +02:00
Daimona Eaytoy 31729b044e Unbreak /examine for old log entries
For the moment, this is a simple workaround to get them back working.
Ideally we'd also need a maintenance script to update var dumps as I
wrote in the task, but it needs more thinking (see Phab).

Bug: T204236
Change-Id: Ia20a2eb495557f46f789467a96e654ec6cd3f355
2018-09-13 18:42:47 +02:00
Matěj Suchánek 6eb5d9766b Use correct variable in AbuseFilter::addLogEntries
The data was inserted to the foreign database, so the id needs
to be fetch from that one.

Change-Id: I8eef8d74fc924829447e31f4445154b01b92aa7a
2018-09-13 11:57:55 +02:00
Translation updater bot 3016f32e3a Localisation updates from https://translatewiki.net.
Change-Id: I7c4bae9aeb5d4cd400036ee2c387329d97cc29d4
2018-09-13 10:15:08 +02:00
Translation updater bot 576d7e88d6 Localisation updates from https://translatewiki.net.
Change-Id: I943e6f99161d5cf7d9b6b8b01198d988c8e84d8c
2018-09-12 09:18:20 +02:00
Translation updater bot e3fb7dba0e Localisation updates from https://translatewiki.net.
Change-Id: I264760102dfb8df4fe3266c4483ff8e3dff888de
2018-09-11 10:24:01 +02:00
Translation updater bot 7877a7a472 Localisation updates from https://translatewiki.net.
Change-Id: I91dfe818335762ab64213736dedfb3536ea3b261
2018-09-10 09:31:20 +02:00
jenkins-bot a0a4755c59 Merge "Remove unused method from parser" 2018-09-09 12:32:56 +00:00
jenkins-bot 121df619da Merge "Improve coverage for AbuseFilterTokenizer" 2018-09-09 12:30:49 +00:00
jenkins-bot 151b1f6779 Merge "Make searched filters highlighting multibyte safe" 2018-09-09 12:25:17 +00:00
jenkins-bot dee934cd5a Merge "Partly unbreak throttle action" 2018-09-09 12:03:40 +00:00
jenkins-bot e4f986a661 Merge "Add full tests for deprecated variables" 2018-09-09 11:55:03 +00:00
jenkins-bot fb864408e3 Merge "Replace wfDebug and wfDebugLog with logger" 2018-09-09 11:55:02 +00:00
Translation updater bot 2933534a61 Localisation updates from https://translatewiki.net.
Change-Id: I1dcecd6265fcd04248f147a2aae34bdffe1520e9
2018-09-09 10:35:39 +02:00
Daimona Eaytoy 8885a5983e Partly unbreak throttle action
This action have ALWAYS had this problem: when creating a new filter,
the temporary ID is 'new', and the throttle ID is then 'new'.
This is used when creating/checking throttle keys to determine if the
user should be throttled. However, the 'new' key is not unique and
(although it's not the only part of the key), it may lead to
unpredictable behaviours. I'm not sure if this solves the task below,
but can probably help.
Also added a FIXME that we should handle shortly.

Bug: T195699
Change-Id: Id3b0ff524c52fb57fdd72f9608f758f8383e4320
2018-09-09 07:09:14 +00:00
Translation updater bot ca444f1df3 Localisation updates from https://translatewiki.net.
Change-Id: Iaea77329cb32bbc737b9353049b25bc6985a6024
2018-09-08 10:37:54 +02:00
L10n-bot 73983110f1 Merge "Localisation updates from https://translatewiki.net." 2018-09-07 07:04:10 +00:00
Translation updater bot 0eb5cedda2 Localisation updates from https://translatewiki.net.
Change-Id: I9b71f77923f6ac04a9b3a7bdda7d17fd531c5200
2018-09-07 09:02:12 +02:00
libraryupgrader 8913080a6b build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I0a070fd297aa28995462bc1a34a2681498f40cee
2018-09-07 06:41:55 +00:00
Translation updater bot 1fa52a1c67 Localisation updates from https://translatewiki.net.
Change-Id: I8919d27ddc376a50886a57e174907e18ec92685c
2018-09-06 09:00:23 +02:00
jenkins-bot 9cd7886f73 Merge "Change events used with the Ace editor" 2018-09-05 17:28:15 +00:00
jenkins-bot a3882d8c4a Merge "Only select needed columns in queries" 2018-09-05 17:11:42 +00:00
jenkins-bot a9f9742b28 Merge "Remove the last PHPCS exclusion" 2018-09-05 17:07:51 +00:00
MarcoAurelio 5b401328ac Use pinned npm dev dependency versions
To avoid upstream breaking stuff.

Change-Id: Ide83b44a4bc6af603e3844d0b66c22f3182ed482
2018-09-04 22:16:32 +00:00
Translation updater bot 16d656d293 Localisation updates from https://translatewiki.net.
Change-Id: Ib74dd3ece376ce5733f5a6680c534df42a7b2dce
2018-09-04 22:19:20 +02:00
Translation updater bot b6fcca555f Localisation updates from https://translatewiki.net.
Change-Id: Ied96eeccbd9915eaeb42d4286197b5c398457d9d
2018-09-03 22:14:45 +02:00
jenkins-bot 19853f6131 Merge "build: Update npm dev dependencies to latests versions" 2018-09-03 17:13:09 +00:00
jenkins-bot 317260a1ea Merge "Break long lines in JS code" 2018-09-03 17:13:07 +00:00