Commit graph

247 commits

Author SHA1 Message Date
Translation updater bot 94b8d7a945 Localisation updates from https://translatewiki.net.
Change-Id: Ib5669c0c115b6ddcba6b56b5b887a0cb55b63705
2017-06-24 22:43:21 +02:00
Translation updater bot 8672834084 Localisation updates from https://translatewiki.net.
Change-Id: Ib61e39b31be3001af6c5b976d5747c375fa7c61e
2017-06-23 22:37:36 +02:00
Translation updater bot 37b17fbfe1 Localisation updates from https://translatewiki.net.
Change-Id: I75e7f984081153c8f946606ac10f07c663503fb0
2017-06-22 22:54:59 +02:00
Kunal Mehta 629e811d2b phpcs: Remove some rules that no longer fail
Change-Id: I8ff6a9e6608df10bd58f52fb99f4be61a50c6a8e
2017-06-22 01:08:20 -07:00
Translation updater bot e0fabc4a6e Localisation updates from https://translatewiki.net.
Change-Id: Ibf6488b13d94da60515e97db83fad5d2d1855566
2017-06-21 22:46:13 +02:00
Kunal Mehta 472ac093aa Add other primary authors
Change-Id: I8a96898f979c68912188f42e5b9a968656c1a2bf
2017-06-20 14:21:46 -07:00
Translation updater bot 2a421d80d3 Localisation updates from https://translatewiki.net.
Change-Id: Idef8fe39f3cb2a9f843dd4fcfc1d035a36d018ee
2017-06-20 22:48:19 +02:00
Kunal Mehta f2a516582d build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.FunctionComment.Missing.Protected
* MediaWiki.FunctionComment.Missing.Public

Change-Id: I96e32df48d13040893bfd1be6d90d0db4f7c7d0a
2017-06-20 00:10:41 -07:00
Umherirrender 71c1d15860 Remove @codingStandardsIgnoreFile from alias file
Change-Id: Ib227fdbb561ae121902896a9d0f2d8f89c75cae4
2017-06-18 00:03:23 +02:00
Translation updater bot e2cfd550dc Localisation updates from https://translatewiki.net.
Change-Id: Ia738376ea621eaf9c5e04d1cc7f3b8fb39c4f489
2017-06-17 22:31:25 +02:00
Translation updater bot 5cc483f3aa Localisation updates from https://translatewiki.net.
Change-Id: I43c258744c29e33392ab5b02172f33f130cf0486
2017-06-15 23:00:14 +02:00
jenkins-bot 104be58401 Merge "API: Split description messages into summary + additional text" 2017-06-14 02:24:50 +00:00
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