Commit graph

164 commits

Author SHA1 Message Date
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
Ed Sanders 8415ede5af build: Replace jshint/jscs with eslint
Change-Id: I7ba96e9ea01dd833235caf138c3ae9a9058ea22f
2017-05-11 16:24:21 +01: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
Antoine Musso 6dc7400857 build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:01 +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
jenkins-bot f1bd022428 Merge "Support new wikitext editor for edit helper" 2017-04-25 21:50:49 +00:00
Translation updater bot 926bf3f80c Localisation updates from https://translatewiki.net.
Change-Id: Ib1b9162d15d0635837aab3523f5a7bddbf118456
2017-04-25 22:47:17 +02:00
Kunal Mehta 9c65d786e2 Support new wikitext editor for edit helper
Register a hook for when VE is finished initializing to select the error
section, just like the textbox-based editor.

Use the BeforePageDisplay hook so it runs on VE page loads too.

Bug: T160102
Change-Id: I59a7e0a3e8be32e4689cbf41c4904970902c4dff
2017-04-25 15:21:13 +01: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
L10n-bot ec6b549f05 Merge "Localisation updates from https://translatewiki.net." 2017-04-19 21:02:47 +00:00
Translation updater bot c8d56386ad Localisation updates from https://translatewiki.net.
Change-Id: I18be11bb0c97b8cacc9b690d5f0a4e8c97188347
2017-04-19 23:02:40 +02:00
Subramanya Sastry 0ac10e1f20 Change severity levels for stripped-tag & misnested-tag
* stripped-tag is harmless and should be a warning.
* misnested-tag could be changing intent of markup and should
  be an error.

Change-Id: I42fdab1c0e2f0793ca3845d28880388244b65527
2017-04-19 15:25:06 -05:00
Subramanya Sastry a866fa7c76 Add pwrap-bug-workaround linter category
Change-Id: If1ec022e5bb741f4dc825428b5a689c2f0b0c445
2017-04-19 15:19:13 -05:00
Subramanya Sastry a5e2f822f3 Show tag name for the stripped-tag category
Change-Id: I53546c11391fb2388dbcf3f70c0a21b2b1af9b09
2017-04-19 08:51:21 -04: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
Kunal Mehta f5e43ddb1a API: Add pageid/ns to list=linterrors output
Change-Id: Ia6a092e3e59412d4635b1d3fa232653c7d3a0752
2017-04-17 10:25:36 -07:00
jenkins-bot c9f45520f5 Merge "Revert "Expose category totals in API response"" 2017-04-16 12:17:18 +00:00
Translation updater bot a3cd15f3a3 Localisation updates from https://translatewiki.net.
Change-Id: I079802c9f1f762c88326a83be61eb2c606d6070e
2017-04-16 10:22:41 +02:00
jenkins-bot 49ecefa75e Merge "Separate linter-numerrors bidi from rest of the line" 2017-04-16 07:37:40 +00:00
Legoktm 379137df59 Revert "Expose category totals in API response"
API meta=siteinfo is a frequently called API query
and the category totals database query is not
sufficiently fast enough to be part of this by default.

This reverts commit 45b4bf6382.

Change-Id: Ia5bf97855d48955ce53c3679c4d138fabafae8b7
2017-04-16 07:36:32 +00:00
Ebrahim Byagowi 8302db893f Separate linter-numerrors bidi from rest of the line
Change-Id: I63a06cdd051f47b6c43ccc4f5f8ae13521b994f6
2017-04-16 07:35:29 +00: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
MarcoAurelio dea13dce1e Spanish alias for Special:LintErrors
See:
https://translatewiki.net/wiki/Thread:Portal_talk:Es/mw:Extension:Linter

Change-Id: I6d04963ed770f3c6bc917047aac47edc64cca6ec
2017-04-09 10:35:39 +00: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
Kunal Mehta eacb3c0d0d Split statsd metrics by wiki
This way we can track the progress of individual wikis in cleaning up
errors. The wiki name is at the end of the key so we can still use
e.g. "linter.category.$name.*" to see across all wikis at once.

Change-Id: I62463b9256e125d32d97396bd939334d71b46027
2017-04-06 11:21:41 -07: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