Commit graph

3714 commits

Author SHA1 Message Date
Umherirrender d4b50be650 Update mediawiki/codesniffer to 0.7.2
Also move --ignore to phpcs.xml for use by phpcbf
Short array syntax will be used in follow ups
to keep this patch set small

Change-Id: Ib91f3768cc7cdccdc26a4d5200178ceb8e61e098
2017-06-13 11:59:10 +02:00
Translation updater bot 17b1b15b8f Localisation updates from https://translatewiki.net.
Change-Id: I95609429c3e2c57d60b70f5935d7353001872df4
2017-06-12 22:24:41 +02:00
Translation updater bot 42f08c6772 Localisation updates from https://translatewiki.net.
Change-Id: I855657e95d79ea4669f937d0cd12934958426e7b
2017-06-11 22:12:52 +02:00
Translation updater bot ce20810fa9 Localisation updates from https://translatewiki.net.
Change-Id: I140ac8cf8aff93939c5c72775572a2585986f884
2017-06-11 00:03:34 +02:00
Translation updater bot 63296abbfb Localisation updates from https://translatewiki.net.
Change-Id: I7c5c3b88bd02edf20a8f9798a5a38a5516cdf3d2
2017-06-09 22:32:15 +02:00
Translation updater bot 7548b10ceb Localisation updates from https://translatewiki.net.
Change-Id: Ic5045dc865898018e30df60a796c21eb986754fd
2017-06-07 22:27:52 +02:00
Amir Sarabadani 2f44537c6c Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: I87383711c472280a55b6e4dbaa898fd47d30b8e8
2017-06-07 08:28:35 +04:30
Translation updater bot c7491fc951 Localisation updates from https://translatewiki.net.
Change-Id: I6f82944702ba58bca3c05b31df3fceb514931cd6
2017-06-04 23:08:41 +02:00
Translation updater bot 98587f2cac Localisation updates from https://translatewiki.net.
Change-Id: I5721ad092860eb8d5fa03cefd2653a8cba7f0160
2017-06-03 22:22:12 +02:00
Translation updater bot 92faf08f45 Localisation updates from https://translatewiki.net.
Change-Id: Id2cb29ec5815daf8ac459f8c40252b23941c2377
2017-06-02 22:21:53 +02:00
Translation updater bot f0b04ed1d1 Localisation updates from https://translatewiki.net.
Change-Id: I8741fd41c8753c57398b6183d316d8b59dd12e3a
2017-06-01 22:46:32 +02:00
Matěj Suchánek eb8541eab5 Use mw.Api.parse() for previewing warnings
And add the filter id as the second parameter to the message.

Bug: T68351
Change-Id: Iee8ac20d3cc9c0f6340ec6f339b0e51d7c88f976
2017-05-31 09:06:31 +02:00
Translation updater bot 88b8d0b241 Localisation updates from https://translatewiki.net.
Change-Id: Idd3f9265e52a1f9534b1317f247cb346c8f546e2
2017-05-29 23:04:19 +02:00
Translation updater bot 27192dee49 Localisation updates from https://translatewiki.net.
Change-Id: I1b7fb8871994ceb4e67e20c0fcf9967b892d482f
2017-05-28 22:11:25 +02:00
Translation updater bot 48c1f93f3a Localisation updates from https://translatewiki.net.
Change-Id: I077bb805190f8e1fed0a53af54a808a9a71738a0
2017-05-24 22:35:49 +02:00
Translation updater bot 1518636dc9 Localisation updates from https://translatewiki.net.
Change-Id: I6c80070350ad2b7880c368ef5ae8c462c49c376f
2017-05-23 22:39:08 +02:00
Translation updater bot 1274cca650 Localisation updates from https://translatewiki.net.
Change-Id: I8d521fa63f723b006ec3f8b03b412f1b113050a4
2017-05-21 22:30:19 +02:00
Translation updater bot f752f167e9 Localisation updates from https://translatewiki.net.
Change-Id: I6c8e7d0084e6a0a6a7da44815358a46606a2545d
2017-05-20 22:22:21 +02:00
Translation updater bot f905174883 Localisation updates from https://translatewiki.net.
Change-Id: I13337af9e2b02e862917dd352978b96a3c1782a6
2017-05-18 22:27:10 +02:00
Translation updater bot 060ea0a059 Localisation updates from https://translatewiki.net.
Change-Id: I5384b48547415841ecfb51e123752232baaae40b
2017-05-14 22:16:08 +02:00
Translation updater bot febc8fa812 Localisation updates from https://translatewiki.net.
Change-Id: I73c229c9b823bb95fd3ddf36698f9d2fb86c7e5c
2017-05-12 22:46:42 +02:00
jenkins-bot 45952a5894 Merge "Fix usage of $db->nextSequenceValue()" 2017-05-11 21:19:13 +00:00
Translation updater bot 8fc2b273c2 Localisation updates from https://translatewiki.net.
Change-Id: Idebaba4e09caaa64b36a0965187cb90e690db767
2017-05-11 22:59:12 +02:00
Tim Starling 525b6c064c Fix usage of $db->nextSequenceValue()
The return value from the method is only suitable for passing to
$db->insert(). To get the inserted ID, you need to call $db->insertId()
even if $db->nextSequenceValue() returned non-null.

Change-Id: Id5a0df17c77445e9f29564a55fb850c3ecad2630
2017-05-11 10:03:49 +10:00
jenkins-bot 6b70225281 Merge "Only add 'sysop' group to filter user if not in it" 2017-05-09 16:46:08 +00:00
TTO bc2c6ebd81 Revert "Check tags with ChangeTags::canCreateTag"
This reverts commit 5e2e4849b3.

Change-Id: Ic581537972801b68636dffc1962848f78128701c
2017-05-09 12:09:39 +00:00
Matthew Flaschen 5e2e4849b3 Check tags with ChangeTags::canCreateTag
These are also user-provided tag names, so should be checked with
ChangeTags::canCreateTag, which is intended for that purpose.

This check also applies on edits.

Bug: T164133
Change-Id: Iaf161d538f225a86c7abf8a8a347de9169d781bf
2017-05-08 20:31:58 -04:00
L10n-bot 0aaae3eec3 Merge "Localisation updates from https://translatewiki.net." 2017-05-05 20:26:27 +00:00
Translation updater bot f519ac0881 Localisation updates from https://translatewiki.net.
Change-Id: Id89d20d3ace6159059974da10557c2d9e08fec39
2017-05-05 22:26:05 +02:00
Antoine Musso e37c969cad build: add jakub-onderka/php-console-highlighter
Highlight PHP code when parallel-lint fails

Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:00 +02:00
Translation updater bot ab939057ee Localisation updates from https://translatewiki.net.
Change-Id: Idacbdfdd6c3f2c6f950d8a2e0888921baba1ded2
2017-05-04 22:37:44 +02:00
Translation updater bot dc2814695a Localisation updates from https://translatewiki.net.
Change-Id: If82041ad1fadbc2c2598b4814dea87fe3896de5f
2017-05-02 22:40:29 +02:00
Translation updater bot 0a6f4dcbe9 Localisation updates from https://translatewiki.net.
Change-Id: I94ec07bb3a2f48bc2df5f279ec27348766567c6d
2017-04-29 22:57:01 +02:00
jenkins-bot 7f02b8f0cc Merge "Remove usage of RequestContext::getStats()" 2017-04-26 20:51:14 +00:00
Florian Schmidt 0c663b50e9 Remove usage of RequestContext::getStats()
Bug: T156810
Change-Id: I795080cf431d396337a1ba6fa42e82ffb1b9c145
2017-04-26 20:38:21 +00:00
Translation updater bot 49e956917e Localisation updates from https://translatewiki.net.
Change-Id: I1551931e683912f563d861808b018283b753c261
2017-04-25 22:34:26 +02:00
Jcrespo 848a9ff6f5 Add FORCE INDEX to AFComputedVariable::{closure}
We add FORCE INDEX to revision because probably we have hit a MariaDB
bug that can potentially create an outage on pages with thousands of
revisions due to extreme resource usage by this query when using the
wrong index page_user_timestamp, instead of page_timestamp.

This is considered to be a hack, and once we are in the clear, I promise
to review this an try to get a saner execution path (both in MySQL and
in PHP.

Bug: T116557
Change-Id: I41853da5c0e1a15efad5594eff0cee62be1ad9a4
2017-04-24 19:34:41 +00:00
Translation updater bot 501b9f9388 Localisation updates from https://translatewiki.net.
Change-Id: Ide194ecb2fd180a78cc1b9fe50f349875e4e55ab
2017-04-22 22:37:04 +02:00
Translation updater bot 4973f21b61 Localisation updates from https://translatewiki.net.
Change-Id: Ie8756db31b240f3d110a35a2cd1849e3f92092ba
2017-04-21 22:39:52 +02:00
Translation updater bot f136b2ae1b Localisation updates from https://translatewiki.net.
Change-Id: I98fd1171d92b7c4ad1f85d8520c6d5ff1e9ff393
2017-04-19 22:47:46 +02:00
jenkins-bot 3ee05d3a6f Merge "Add stylelint for css files" 2017-04-17 21:52:51 +00:00
Translation updater bot 6dc51e1414 Localisation updates from https://translatewiki.net.
Change-Id: I15ef97df41f4daa913054c7fc1593e616b289ede
2017-04-17 22:16:53 +02:00
jenkins-bot 134d88d5d5 Merge "Fix warning string" 2017-04-17 18:31:38 +00:00
Kunal Mehta 1392aa05d6 Only add 'sysop' group to filter user if not in it
This should avoid repeated, unnecessary calls to User::addGroup().

Bug: T163032
Change-Id: I010e6eb45c4fbf984a3b5e5df2671117ca4e0136
2017-04-17 10:34:47 -07:00
Umherirrender fcfdb9a6b6 Add stylelint for css files
Fixed the following rules:
color-hex-length
function-parentheses-space-inside
selector-list-comma-newline-after

Change-Id: Ib30aaeb6179617caa693219d434237e950ef5270
2017-04-16 20:21:40 +02:00
Translation updater bot e8e42e40c9 Localisation updates from https://translatewiki.net.
Change-Id: I7383751af3d3e5b2c34a7321fdb92e82b0e20f5e
2017-04-16 10:06:36 +02:00
Matěj Suchánek c5c6e77c63 Fix warning string
Bug: T137330
Change-Id: I4b0a11e35285d0a47f3dc52832f22bba208cf7c2
2017-04-15 16:37:04 +00:00
Translation updater bot 32f7679e31 Localisation updates from https://translatewiki.net.
Change-Id: I0a2b8173eee57f5b8db760021125c3706cea5987
2017-04-15 10:38:41 +02:00
Translation updater bot b931dbcb07 Localisation updates from https://translatewiki.net.
Change-Id: Iac32e3709c7dcff6d473d74a8dfe74400941d63d
2017-04-12 22:22:56 +02:00
Translation updater bot f6c5cb26fe Localisation updates from https://translatewiki.net.
Change-Id: I074e5725851a9fa879f1aaa13b99ff02b73b8bef
2017-04-11 22:41:50 +02:00