Commit graph

772 commits

Author SHA1 Message Date
Kunal Mehta 9ecf62ead3 Update lint errors via the job queue
The job queue will allow us to have better flood control and rate
limiting instead of trying to do all the database writes as soon as
parsoid contacts MediaWiki.

On the downside, this means it may take longer for changes to be
reflected in the database and to users, but we already have no promise
for that, so it seems okay.

Note that if you don't have a job queue runner set up, you'll need to
run the runJobs.php script every time to have the jobs execute.

Change-Id: I25fd54734aca4dab09711e7f6aee027654931300
2016-11-15 11:31:45 -08:00
Translation updater bot 86218c9c7f Localisation updates from https://translatewiki.net.
Change-Id: I5ea53b2125a1d09e8a6ad9cc9af21b47a245a9f8
2016-11-13 22:48:33 +01:00
Translation updater bot 881f69a997 Localisation updates from https://translatewiki.net.
Change-Id: I3b98b1b74414453713ec60fd0469feec6263f4c3
2016-11-12 22:54:15 +01:00
Translation updater bot 7b3eba647a Localisation updates from https://translatewiki.net.
Change-Id: I6c1621a7b5a8a392272c73d1bd55ea5c6a7bbb41
2016-11-11 22:57:05 +01:00
Translation updater bot 73a5da149b Localisation updates from https://translatewiki.net.
Change-Id: I44004c2c838b4e7c253bbbe16c37baa270bd6d51
2016-11-10 23:31:39 +01:00
Translation updater bot ad14ea3d98 Localisation updates from https://translatewiki.net.
Change-Id: Ib2cd4e4dedd5f9c3882b53fae1dcb996977d6c6a
2016-11-09 22:43:13 +01:00
Translation updater bot d2b5387c07 Localisation updates from https://translatewiki.net.
Change-Id: I7618c308bbd9dd82ddc864c05acd1f6a26436eb4
2016-11-08 22:46:38 +01:00
Translation updater bot 3a7867e193 Localisation updates from https://translatewiki.net.
Change-Id: I7a2f1891afa1228cd5b3315fbd4818df37f8a1ab
2016-11-04 22:50:40 +01:00
jenkins-bot 56426c2b73 Merge "Add index on linter.linter_cat" 2016-11-03 22:02:54 +00:00
jenkins-bot 14677f0408 Merge "Store linter_cat names in a separate table" 2016-11-03 22:01:25 +00:00
Kunal Mehta 3d12f762e6 Add index on linter.linter_cat
For queries that list all errors of a certain type.

This patch needs to be applied manually, update.php won't work.

Change-Id: I42abded9df3ef2ff242be2b16f4c57bafc03ae39
2016-11-03 14:53:31 -07:00
Kunal Mehta ec6f4722aa Store linter_cat names in a separate table
linter_cat is now an int ID that points to a row in the new
lint_categories table.

The mapping between category names and ids is all handled in PHP, and
cached in APC.

Note that you will need to drop the `linter` table manually and re-run
update.php for this to take effect.

Change-Id: I369d9b4d8d08289b4a20d1cd29a2e327bad28ef8
2016-11-03 14:51:10 -07:00
Translation updater bot 56b95a242a Localisation updates from https://translatewiki.net.
Change-Id: Icc2e7e8ca7eac3aa2a84b506d9d57cbc93af879e
2016-11-02 22:50:24 +01:00
Translation updater bot 42592112e6 Localisation updates from https://translatewiki.net.
Change-Id: I051573f219bd788b185d554215961056762311ec
2016-11-01 22:44:45 +01:00
Translation updater bot 79b3b09a3b Localisation updates from https://translatewiki.net.
Change-Id: I4a1885ecbf347da162f466e2837a5aa238114ab3
2016-10-30 22:43:27 +01:00
Arlo Breault e75b94d226 Fix schema for sqlite
Change-Id: Iacc26fb2dc6b31914d000a186f61be8244405b47
2016-10-26 01:28:41 +00:00
Chad Horohoe a2394bbb71 Whoops, track not trace 2016-10-24 17:02:51 -07:00
Chad Horohoe 0d80ef838e Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
2016-10-24 16:37:47 -07:00
Kunal Mehta c33361e980 Show tag name for missing-end-tag too
Added in Parsoid 6d432a61f.

Change-Id: Ia716949f4fadacc3c8aab25337897c9b039f1e54
2016-10-20 14:03:25 -07:00
Kunal Mehta fa095f07c6 Adjust phpcs rules
Excluse MediaWiki.Commenting.FunctionComment.MissingReturn for now
because of a false positive

Change-Id: I0f0833f80374c70b9e40056cc83db68568ba790c
2016-10-20 14:03:25 -07:00
Kunal Mehta bce5b31616 Initial commit
This configures a MediaWiki extension to recieve Parsoid's lint errors
and expose them to users.

Change-Id: Ie0776aecf145eb1c87c2a539ddf3ea8d35a899f5
2016-10-17 16:02:53 -07:00
Kunal Mehta 44a0126f3a Add .gitreview
Change-Id: I75df24153d09c5a86b56c14497677fca94314756
2016-10-13 01:13:21 -07:00