Commit graph

262 commits

Author SHA1 Message Date
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