Commit graph

3592 commits

Author SHA1 Message Date
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
jenkins-bot a6a93a9037 Merge "Disallow editing abuse filters for blocked users" 2017-04-11 18:35:19 +00:00
Matěj Suchánek 0b956a0d07 Disallow editing abuse filters for blocked users
This also changes the previous behavior - users who lost their rights
between opening and saving a filter now also get the message.

Additionally, User::matchEditToken() now doesn't use the global
$wgRequest.

Bug: T142389
Change-Id: I931068ff79a6835ad6e63a12ce9dbfcc1cb6c8b9
2017-04-11 06:29:36 +00:00
Translation updater bot a5e5e9d739 Localisation updates from https://translatewiki.net.
Change-Id: I1b55e4b1262e1e883ab7d86180cce5883d8b5bbc
2017-04-10 22:40:50 +02:00
Translation updater bot 6db53c472d Localisation updates from https://translatewiki.net.
Change-Id: I3a584fc84cac63f455cd8a9899ed416c2c078f1d
2017-04-09 22:35:46 +02:00
Translation updater bot f1c3128770 Localisation updates from https://translatewiki.net.
Change-Id: If7560e4d28387fd31badb318525e1e88c1aa4f7b
2017-04-08 22:49:14 +02:00
Translation updater bot 6453afc85a Localisation updates from https://translatewiki.net.
Change-Id: I3b5e1eaa333b2e72460984d0447ac477de0f2a3f
2017-04-06 23:35:22 +02:00
Translation updater bot 275c92325c Localisation updates from https://translatewiki.net.
Change-Id: I7b1c8244f857cd77de7beee9f4739b8281ed30d0
2017-04-04 22:30:37 +02:00
Translation updater bot 81bd94f835 Localisation updates from https://translatewiki.net.
Change-Id: Ibe5783d0a48dba6aaf6a50e0f3c2dc42bb5235c0
2017-04-02 22:25:01 +02:00
Translation updater bot f587336c1e Localisation updates from https://translatewiki.net.
Change-Id: Ifd035a35c9d0d1290707352c8b24f57d3b9609ee
2017-04-01 22:32:26 +02:00
Translation updater bot 8630e9fab9 Localisation updates from https://translatewiki.net.
Change-Id: I433cea415a882b7cc70ef97155c18070b61e1bdd
2017-03-30 22:42:16 +02:00
Translation updater bot 957a3a4e74 Localisation updates from https://translatewiki.net.
Change-Id: Ib1135f107c14cc35d8ebc0538336841bdba6cf47
2017-03-29 22:22:39 +02:00
Translation updater bot 2ec45115e1 Localisation updates from https://translatewiki.net.
Change-Id: I5431051141fe7f7194f500daf63b7b3618f94f72
2017-03-28 22:37:08 +02:00
Translation updater bot 93daeb9b24 Localisation updates from https://translatewiki.net.
Change-Id: Ic909aa466c960e568357c16f8ca533e1aea39060
2017-03-23 22:34:34 +01:00
Translation updater bot bdb6065d94 Localisation updates from https://translatewiki.net.
Change-Id: I7600a69aa9ebd3701c03833b3159185f894ccbd9
2017-03-21 22:24:52 +01:00
Translation updater bot 20c089cc6e Localisation updates from https://translatewiki.net.
Change-Id: Iabcdb1c364536017c925acc4dbdae4d722aeeba4
2017-03-19 22:16:14 +01:00
Translation updater bot 40f0ee27f7 Localisation updates from https://translatewiki.net.
Change-Id: I95cf02bb2234d9de52f7fc59bb7d4790d352902c
2017-03-18 22:33:18 +01:00
Translation updater bot ad3351e3e4 Localisation updates from https://translatewiki.net.
Change-Id: I5ae907a4eb902ca9f16dbe0201cf2fb468bbc8ac
2017-03-16 23:04:15 +01:00
Translation updater bot f5509bc9a0 Localisation updates from https://translatewiki.net.
Change-Id: I1703e7171cf6b7c4db67e5600f2c230f8cf7215a
2017-03-15 22:27:38 +01:00
Translation updater bot b6e608469d Localisation updates from https://translatewiki.net.
Change-Id: I80639c226e2f326134d70332fddbc92fbb9b495f
2017-03-14 22:26:10 +01:00
Translation updater bot 1cd27c994c Localisation updates from https://translatewiki.net.
Change-Id: Ia18abce30495e6df22d9434cf09b8a3435ec5b80
2017-03-13 22:36:09 +01:00
Translation updater bot fa11740e2c Localisation updates from https://translatewiki.net.
Change-Id: Ia2840e86ee2babd706326fb13fb3fe434b7a0bb1
2017-03-12 22:30:07 +01:00
jenkins-bot 83d56e60e9 Merge "Add GENDER support for 'abusefilter-log-linkoncontribs-text'" 2017-03-10 20:47:36 +00:00