Commit graph

716 commits

Author SHA1 Message Date
jenkins-bot 2a242f9fce Merge "Add API meta=linterstats module" 2017-06-06 17:26:01 +00:00
Kunal Mehta 35a2ba9a6c Add API meta=linterstats module
This module just exposes the number of lint errors in each category for
tools that want to collect statistics and stuff. It's currently under a
'totals' key to give us more flexibility if we want to add other
information in the future.

Change-Id: Iad5136a6a5989ce5bcb1a00a4f82f49a397e0170
2017-06-06 10:02:49 -07:00
Translation updater bot 863e67c095 Localisation updates from https://translatewiki.net.
Change-Id: I8ef150b1f42537676adef5944e492aa2398648b7
2017-05-30 22:32:40 +02:00
Translation updater bot 6596ceed06 Localisation updates from https://translatewiki.net.
Change-Id: Ib9b1bd8898b950dfbca0834d3bf30c6a25196852
2017-05-29 23:19:05 +02:00
Translation updater bot 1db0fa7ac3 Localisation updates from https://translatewiki.net.
Change-Id: I0b10af415be672e00be48c1d93dcdd957762f8bc
2017-05-28 22:25:32 +02:00
Translation updater bot f5c9257022 Localisation updates from https://translatewiki.net.
Change-Id: Ib7273ba45ab71deb2a3157ca39dc5db3cb9230c3
2017-05-25 22:40:59 +02:00
Translation updater bot adf6b0d1f1 Localisation updates from https://translatewiki.net.
Change-Id: Ib6d52e5e84a206452369039757a7325437c374bb
2017-05-23 22:52:59 +02:00
Translation updater bot a3b0580e52 Localisation updates from https://translatewiki.net.
Change-Id: I09f13774570d32181eb42ae36da3121cd7dde357
2017-05-21 22:43:53 +02:00
Translation updater bot 6cc9553ef2 Localisation updates from https://translatewiki.net.
Change-Id: If29872ccdd07b48d7bd7d24444395692919fa041
2017-05-20 22:39:18 +02:00
Translation updater bot c9a578884d Localisation updates from https://translatewiki.net.
Change-Id: I2516b250f15b9f5ba72cbc4483cead530f333056
2017-05-18 22:44:07 +02:00
Translation updater bot a4c3785b4d Localisation updates from https://translatewiki.net.
Change-Id: Id2f2f2b19499000d3b15e332867447e954a33240
2017-05-14 22:30:50 +02:00
Translation updater bot 55e8f9aee0 Localisation updates from https://translatewiki.net.
Change-Id: I106580fda0b59546863ce014d8f18331a20e13c6
2017-05-13 22:31:24 +02:00
Translation updater bot 5681b279de Localisation updates from https://translatewiki.net.
Change-Id: I6c7bd12c7cc50dc9f23497f61052274b55dca0a6
2017-05-12 23:01:50 +02:00
Translation updater bot 534eeb719f Localisation updates from https://translatewiki.net.
Change-Id: Ibf22f85f0aad02447764c0e018f098962443932a
2017-05-11 23:16:37 +02:00
jenkins-bot 96a5dc2822 Merge "Handle multi-part-template-block output from Parsoid's linter" 2017-05-10 14:55:12 +00:00
Translation updater bot a317d6cfb2 Localisation updates from https://translatewiki.net.
Change-Id: I3a2e2292d9e49c7eb9178a0111aa8ffa5fd5be7e
2017-05-09 22:53:34 +02:00
Subramanya Sastry 3eea8ed824 Handle multi-part-template-block output from Parsoid's linter
The messaging is a bit tricky. In some cases, the flag is set
because the output involves a single template and some top-level
content -- not multiple templates always.

Ex: '{{1x|<div>}}foo</span>'

In this case, the entire content is considered template-affected
because of DOM structuring reasons. This wikitext will generate
lint errors with multi-part-template-block template info.

In production usage, however, the probability is quite high that
multiple templates will be involved. This is usually because of
tables that are constructed with multiple templates, for example.

So, if we want to fudge and hand-wave a bit, the i18n message can
say that the output came from multiple templates.

Bug: T162920
Change-Id: I35cee6787800b03724856775fdf53991ae8e8125
2017-05-08 23:01:32 -05:00
Translation updater bot 21dad2b852 Localisation updates from https://translatewiki.net.
Change-Id: Ibc66550c05c3f90e17bc2ab3298e9d99ce0d4683
2017-05-08 22:46:16 +02:00
Translation updater bot 12e7ebac66 Localisation updates from https://translatewiki.net.
Change-Id: I7b0735de9b97d0449d0154ea6d4f72740a49bc96
2017-05-07 23:03:37 +02:00
Translation updater bot b63b34390a Localisation updates from https://translatewiki.net.
Change-Id: I3e6059d596ce247f420057efa57db8bb7051b634
2017-05-06 22:48:30 +02:00
Translation updater bot 5ff72d4607 Localisation updates from https://translatewiki.net.
Change-Id: Ia73640872c314b32d90affc6dca4e9ff898305ea
2017-05-05 22:39:34 +02:00
Translation updater bot de59f9bb3b Localisation updates from https://translatewiki.net.
Change-Id: I35852091b4847d9c1da567a8d333b462a9ffabb0
2017-05-04 22:52:31 +02:00
Translation updater bot f635b5d46d Localisation updates from https://translatewiki.net.
Change-Id: Ia08e4b24c39fe909d9a5b6e76a7700e4ee867239
2017-05-02 22:59:34 +02:00
Translation updater bot 8e149e590e Localisation updates from https://translatewiki.net.
Change-Id: I7bf3d053880a12a3ccef03392c0ae118e7ef5048
2017-04-29 23:14:39 +02:00
Translation updater bot bc8d2d9a5d Localisation updates from https://translatewiki.net.
Change-Id: Ibb664438c20bcdf29e0a37a83f8c1231786e9e10
2017-04-28 23:52:55 +02:00
jenkins-bot 1b0e984625 Merge "Organize lint categories by priority" 2017-04-28 18:42:38 +00:00
Subramanya Sastry 0f3c66418a Organize lint categories by priority
Displaying categories by priority provides editors with better
guidance about what to spend time on. The Linter help page provides
more information about why the specific priorities have been chosen.

Change-Id: If6f28570189e24a67b4380f666f4cd64a2296989
2017-04-28 10:42:47 -05:00
Translation updater bot 864b7bc1a6 Localisation updates from https://translatewiki.net.
Change-Id: I41dea1edf6412cb87aa1c93df9d4006c8aea12fa
2017-04-27 22:42:50 +02:00
Translation updater bot 926bf3f80c Localisation updates from https://translatewiki.net.
Change-Id: Ib1b9162d15d0635837aab3523f5a7bddbf118456
2017-04-25 22:47:17 +02:00
Translation updater bot f5fa3d3c37 Localisation updates from https://translatewiki.net.
Change-Id: I300ae6d24475dd52aff265af0db047f4a3adf278
2017-04-24 22:45:58 +02:00
Translation updater bot 73e4513745 Localisation updates from https://translatewiki.net.
Change-Id: I036605262e97076c659b28fca6e32d738f46d413
2017-04-23 22:37:17 +02:00
Translation updater bot ee669efbc4 Localisation updates from https://translatewiki.net.
Change-Id: I556a4bc98660498c14de4884778254ebb9d1e69c
2017-04-21 22:52:07 +02:00
Translation updater bot 66c1f6af00 Localisation updates from https://translatewiki.net.
Change-Id: I517782f0287ae6fbaaabd6ab463817cb7dc78f9e
2017-04-20 23:01:24 +02:00
Translation updater bot c8d56386ad Localisation updates from https://translatewiki.net.
Change-Id: I18be11bb0c97b8cacc9b690d5f0a4e8c97188347
2017-04-19 23:02:40 +02:00
Subramanya Sastry a866fa7c76 Add pwrap-bug-workaround linter category
Change-Id: If1ec022e5bb741f4dc825428b5a689c2f0b0c445
2017-04-19 15:19:13 -05:00
Translation updater bot 9fa710334c Localisation updates from https://translatewiki.net.
Change-Id: I40ebfae18eb07b268aa3d60282cb5d87c0683442
2017-04-18 22:34:50 +02:00
Translation updater bot aba8b0f130 Localisation updates from https://translatewiki.net.
Change-Id: I7f97f5f025ff66bcc2da94b9fd744e871056f064
2017-04-17 22:33:15 +02:00
Translation updater bot a3cd15f3a3 Localisation updates from https://translatewiki.net.
Change-Id: I079802c9f1f762c88326a83be61eb2c606d6070e
2017-04-16 10:22:41 +02:00
Kunal Mehta fbff1cffff Add namespace filter to Special:LintErrors
Bug: T162918
Change-Id: Id41faeafb9af161d32d5c273094fb2e6d8a8a64b
2017-04-13 20:49:21 -07:00
Translation updater bot 944ff09038 Localisation updates from https://translatewiki.net.
Change-Id: Ia01d349b76c6c2f8592b8cc74c20338a6bea0f7d
2017-04-12 22:38:41 +02:00
Translation updater bot 1320f3a736 Localisation updates from https://translatewiki.net.
Change-Id: I0e875243c2abc4096dbaee4ac314e7f4109640a8
2017-04-11 22:56:15 +02:00
Subramanya Sastry 0d230e722f Add misnested-tag linter category
Change-Id: I3508c68272940d21be6a5c9b78ee34c845debc74
2017-04-10 17:28:36 -05:00
Translation updater bot dc0463cee3 Localisation updates from https://translatewiki.net.
Change-Id: I1a4e84020746c1acd71d017e353589ae0138f795
2017-04-10 22:53:46 +02:00
Translation updater bot e3b2e8a2e0 Localisation updates from https://translatewiki.net.
Change-Id: I6a61c994295a6f8ec0e47b317cf74390aa576c8d
2017-04-09 22:48:56 +02:00
Translation updater bot a58d98d88d Localisation updates from https://translatewiki.net.
Change-Id: I32353997f1878ebc1ba5c8ebe238bf625aa1d89e
2017-04-07 22:39:15 +02:00
Translation updater bot c293124b6c Localisation updates from https://translatewiki.net.
Change-Id: I333efffdd8c9988dd54ba1943ae22f23d8577745
2017-04-06 23:47:50 +02:00
Subramanya Sastry 619ddc8677 Add deletable-table-tag linter category
Change-Id: I48000170a74363872edbce8f78780bccf160600c
2017-04-06 12:47:51 -05:00
Translation updater bot 1944b6f4fb Localisation updates from https://translatewiki.net.
Change-Id: I1365463f1bda7cb6708e8ee93634bee8ec3704b9
2017-04-04 22:45:46 +02:00
Translation updater bot ed954dba49 Localisation updates from https://translatewiki.net.
Change-Id: I4e843d8dc61ad793fd979b7e4f5cec983246b3e5
2017-04-02 22:40:41 +02:00
Translation updater bot 229fbcbd77 Localisation updates from https://translatewiki.net.
Change-Id: I6cdb18a76a1002066a77df69ff37667b02da04a0
2017-04-01 22:50:06 +02:00
Translation updater bot ca0763def6 Localisation updates from https://translatewiki.net.
Change-Id: I60dc386218280cfb7a5dccee54832546f1220d82
2017-03-30 23:00:08 +02:00
Translation updater bot 72e7fb4ac0 Localisation updates from https://translatewiki.net.
Change-Id: Ib4d9f010afdac8f0a86b3233738b56c844962844
2017-03-29 22:34:48 +02:00
Translation updater bot 30e725413c Localisation updates from https://translatewiki.net.
Change-Id: I8c6d24b3ff381287ba987baa6a2f54e1a9870912
2017-03-28 22:48:53 +02:00
Translation updater bot e427fbfd37 Localisation updates from https://translatewiki.net.
Change-Id: Ib593076028ec0cc6c217439b14f0f87ff12745f5
2017-03-26 22:32:56 +02:00
Translation updater bot 3d50e10dc5 Localisation updates from https://translatewiki.net.
Change-Id: I6c99e51f69274ec3de63dbe21b9e5443305592c0
2017-03-24 22:47:53 +01:00
Translation updater bot 6562c670b4 Localisation updates from https://translatewiki.net.
Change-Id: Ib34982bb8c37eefa5a283fb0f85c33175a35c9d1
2017-03-23 22:48:22 +01:00
jenkins-bot 29af8c6403 Merge "Fix qqq for linker-page-edit" 2017-03-23 02:25:23 +00:00
jenkins-bot d3c295f1fa Merge "Add link to history on Special:LintErrors" 2017-03-23 02:25:07 +00:00
Translation updater bot 1c233f5298 Localisation updates from https://translatewiki.net.
Change-Id: Id5aa739232710430fc95941c88a247dcf6a922be
2017-03-22 22:53:56 +01:00
Kunal Mehta 3854d54f16 Fix qqq for linker-page-edit
The 'linker-page-title-edit-template' message no longer exists.

Change-Id: I8ca588a81ca9e3728f8bbce4c4b33c5b2b2d8814
2017-03-22 13:28:41 -07:00
Kunal Mehta 7f17abe393 Add link to history on Special:LintErrors
Bug: T160607
Change-Id: Ifd2ef33dd7477722691c8f2e570b7ac1af206135
2017-03-22 13:28:33 -07:00
Translation updater bot 617e086d66 Localisation updates from https://translatewiki.net.
Change-Id: If8bf5233c900f126c180d881732700cc6b150be3
2017-03-21 22:38:35 +01:00
Translation updater bot 21dcccfbb6 Localisation updates from https://translatewiki.net.
Change-Id: Ib7e9f6ab19412fa1278b7ec3b6932311a4292c2e
2017-03-19 22:30:24 +01:00
Translation updater bot 1c7f50796b Localisation updates from https://translatewiki.net.
Change-Id: I58d072d88668991b1a937f68be735e63764d9220
2017-03-18 22:46:55 +01:00
Translation updater bot 1b2bb374d7 Localisation updates from https://translatewiki.net.
Change-Id: I448d5490196d4e1f561325405d10645af0877b54
2017-03-16 23:18:22 +01:00
Translation updater bot 24c47253bc Localisation updates from https://translatewiki.net.
Change-Id: I7b77e3d79221db4a2f5a7d5bc7dc5efe67b0aed6
2017-03-13 22:48:07 +01:00
Translation updater bot 05435d437c Localisation updates from https://translatewiki.net.
Change-Id: I5599bfa9e24bdcfe728426e8c9115a1c288a271d
2017-03-12 22:44:42 +01:00
Translation updater bot f54e65b6c7 Localisation updates from https://translatewiki.net.
Change-Id: I400e2a9fd0d37a7e007da6ceee67fe14695c8c6c
2017-03-09 23:20:52 +01:00
Translation updater bot f1505a1870 Localisation updates from https://translatewiki.net.
Change-Id: Iaf16d848474a9fe2be580049a2eb8f5936943125
2017-03-08 22:31:33 +01:00
Translation updater bot 22baa7612c Localisation updates from https://translatewiki.net.
Change-Id: If93853d311b0e4803666a144c6132ed2f845b0f1
2017-02-17 22:38:36 +01:00
Translation updater bot 00bbf25963 Localisation updates from https://translatewiki.net.
Change-Id: I107d5de6b632a7a1ee304b03a01c63de597a7f07
2017-01-29 22:22:20 +01:00
Translation updater bot 0b57945954 Localisation updates from https://translatewiki.net.
Change-Id: I87ed7cbce5b052e92da06a01dc18d0cd37d97a13
2017-01-28 22:40:59 +01:00
Translation updater bot 2826588c68 Localisation updates from https://translatewiki.net.
Change-Id: I88757cc06d4a04d68f0c308ff31319bfd644d922
2017-01-27 14:43:08 +01:00
jenkins-bot c0d37c3c69 Merge "Display count of lint errors on ?action=info" 2017-01-25 18:47:29 +00:00
Translation updater bot 58e7e246c5 Localisation updates from https://translatewiki.net.
Change-Id: I9cc05fd7e4e006cde08a511f689d2d35b5f3f850
2017-01-23 22:34:37 +01:00
Kunal Mehta 5c606fca03 Display count of lint errors on ?action=info
Change-Id: Ifcdfcb365e5ff6106b521d58a06df8c006772473
2017-01-20 11:26:44 -08:00
Translation updater bot 154c3816e3 Localisation updates from https://translatewiki.net.
Change-Id: Ia03e833c353c48dcdaf0cd33fbd58b7133370797
2017-01-11 23:15:54 +01:00
Translation updater bot dad9b1da1a Localisation updates from https://translatewiki.net.
Change-Id: Iac3239d80c74df475f3daeb5ef98ec09de910086
2017-01-09 15:52:14 +01:00
Translation updater bot 5abfb06577 Localisation updates from https://translatewiki.net.
Change-Id: I17536b780563e07b61c2e9be06e50fa2b8d70ac0
2017-01-01 10:01:48 +01:00
Translation updater bot 2100f52998 Localisation updates from https://translatewiki.net.
Change-Id: I7435d419c3bfed1665118658e7af44e834da24ce
2016-12-26 22:39:11 +01:00
Translation updater bot b4296e99c2 Localisation updates from https://translatewiki.net.
Change-Id: Iae2491d90ec948fb91f772e51dafdfd70dbdbdcb
2016-12-23 22:31:27 +01:00
Translation updater bot 8e9e01608d Localisation updates from https://translatewiki.net.
Change-Id: I4bcf8d126dcd0ef8ee111f065ca7104a4210c87f
2016-12-22 22:54:23 +01:00
jenkins-bot 2f179e3851 Merge "Add severity for error categories" 2016-12-20 01:11:13 +00:00
Translation updater bot 31c5953ea1 Localisation updates from https://translatewiki.net.
Change-Id: I347c44b3b76434a48dcb85252cec58fb8cfaf6fe
2016-12-19 22:46:06 +01:00
Translation updater bot 5a01511443 Localisation updates from https://translatewiki.net.
Change-Id: Ifac80c16c783610f14b8660d3e27455934b554a7
2016-12-18 22:15:46 +01:00
Translation updater bot cbc3b9005c Localisation updates from https://translatewiki.net.
Change-Id: I872d2b62b1c5ed4b8dfed646acd93b2887f96f63
2016-12-16 22:15:30 +01:00
Kunal Mehta f3778856f2 Add severity for error categories
Categories can now have a severity level of "error" or "warning"
designated, which places them in a different heading on
Special:LintErrors.

Bug: T152822
Change-Id: I1276b9502d90765e88dcb8ea78569dee910c5d88
2016-12-14 17:07:40 -08:00
Translation updater bot 3ae0ff7c29 Localisation updates from https://translatewiki.net.
Change-Id: I61769ce3d3960e4efe1379ed2458ab3e50e291b2
2016-12-14 22:24:20 +01:00
Translation updater bot 152546d274 Localisation updates from https://translatewiki.net.
Change-Id: Iba1733ad1b050716f0c93d9592d7e3bc4b9a9e35
2016-12-13 22:43:25 +01:00
Translation updater bot 4dcbc5b639 Localisation updates from https://translatewiki.net.
Change-Id: Ie5cdfb74e69456f1e911e7890abf4637aa170fbf
2016-12-12 22:30:34 +01:00
Kunal Mehta 782313088d Show error counts on Special:LintErrors
Change-Id: Ib49f2e391ca4b9d1eef5443c011d54a42921ce4e
2016-12-08 16:52:31 -08:00
Translation updater bot ca7a3e85c1 Localisation updates from https://translatewiki.net.
Change-Id: Ib5d48d20a2d5c02df1a42e45d6724a531a1fb450
2016-12-06 22:44:49 +01:00
Translation updater bot 65cdec486c Localisation updates from https://translatewiki.net.
Change-Id: Idc28e0c6c5380c3bd421036d16574c85becd8da8
2016-11-27 22:29:17 +01:00
Translation updater bot ad6efbb7b1 Localisation updates from https://translatewiki.net.
Change-Id: Ie2bcb5ff42bb1947966a30e265d87824831d497d
2016-11-25 22:51:26 +01:00
Translation updater bot 8756b0d573 Localisation updates from https://translatewiki.net.
Change-Id: I3a1690d156832b4b8629b6ac97b0948d0271bb9c
2016-11-24 22:20:23 +01:00
Translation updater bot 66c9a0ca2c Localisation updates from https://translatewiki.net.
Change-Id: I3784c6c60a22796ab73ed05b78c58e26f56e7c46
2016-11-23 22:37:53 +01:00
jenkins-bot 5db0873adc Merge "API: Fix lntcategories parameter" 2016-11-23 02:41:52 +00:00
Kunal Mehta 06671d2034 API: Fix lntcategories parameter
* Treat it as an array in all cases
* Make the default value all categories
* Rename from category to categories

Bug: T151288
Change-Id: I5c0c341112894c5a7ec3aaebb6ac9085353f55bd
2016-11-22 18:31:21 -08:00
Translation updater bot 03be9d61c0 Localisation updates from https://translatewiki.net.
Change-Id: Ife6b67db3375c586d9ad769d76162a4141637d32
2016-11-22 23:25:00 +01:00
Translation updater bot 83b1003e6e Localisation updates from https://translatewiki.net.
Change-Id: Id6348fde3f5f397c2cc1c86d1b40f9c0426d629f
2016-11-20 22:19:03 +01:00
Translation updater bot d204de99e7 Localisation updates from https://translatewiki.net.
Change-Id: Ice589f18f39c9e540860e7b9fadda5e4e640fbff
2016-11-19 22:07:09 +01:00
Translation updater bot 18f9409dac Localisation updates from https://translatewiki.net.
Change-Id: I3b494371a68e9188f7850138b95f2ed812e18707
2016-11-18 22:15:18 +01:00
Translation updater bot 95f599ffd4 Localisation updates from https://translatewiki.net.
Change-Id: I7e316101614cf356b2ef2f207a0f7cd59eb92650
2016-11-17 22:53:42 +01:00
Arlo Breault 958623f0fb Display self-closed tags
Change-Id: I6c084a6c72114b57a21cd367d398c673c5c4d991
2016-11-17 12:32:46 -08:00
Translation updater bot 7e4bd54edb Localisation updates from https://translatewiki.net.
Change-Id: I15e06c49f1842cad48113d00e291848a8f51ce5c
2016-11-16 22:48:03 +01: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
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
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