Commit graph

235 commits

Author SHA1 Message Date
Translation updater bot 9526e74573 Localisation updates from https://translatewiki.net.
Change-Id: I319fb6de870b054d5276e1e1d5b05a2140d4f4d9
2017-06-13 22:34:02 +02:00
Brad Jorsch 7b170ca644 API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: I7b3abe12102fb3ef25953f6b92cd9c8047f8dfe4
2017-06-13 13:27:49 -04:00
Translation updater bot da7a8f3046 Localisation updates from https://translatewiki.net.
Change-Id: Ibe222e091bdfd3fe8d5742f5b51560dc05eed9b0
2017-06-12 22:37:05 +02:00
Translation updater bot 97087f2be3 Localisation updates from https://translatewiki.net.
Change-Id: I34d9d7bcef1769b72977389b4706bf88a8a31499
2017-06-11 00:20:02 +02:00
Translation updater bot 3e03b27e97 Localisation updates from https://translatewiki.net.
Change-Id: I7614c8055ac23a8eb6664378e58c9bc7bfd93828
2017-06-07 22:40:53 +02:00
Amir Sarabadani 3e6341f5b7 Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: Iad8e6ca32dc14b6942db64de86e217bd3ee92932
2017-06-07 14:22:42 +04:30
Translation updater bot 46a3809a42 Localisation updates from https://translatewiki.net.
Change-Id: Ib0653e9813dae65c838f8032aa750b9ca9992071
2017-06-06 22:34:11 +02:00
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
jenkins-bot ee2f0efdcf Merge "Add caching to looking up totals" 2017-06-06 09:53:27 +00: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
Kunal Mehta eebd04aa00 Add caching to looking up totals
The query itself is too expensive to be run on large Wikimedia wikis. So
put it behind WAN cache and touch the check keys for each category
whenever those have errors added or deleted from them.

If this happens to get out of sync, it will get fully refreshed
regularly when the totals are sent to statsd.

WANObjectCache's 'lockTSE' feature will help avoid cache stampedes that
made this query expensive in the past.

Change-Id: I3774103a29fa0f29d36283950f136259fa71bffe
2017-05-29 07:33:41 -07: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
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