Commit graph

2994 commits

Author SHA1 Message Date
Siebrand Mazeland ce1396aea7 Add support for PHP CodeSniffer checks
Also fix any remaining errors and warnings.

Change-Id: Ie49c6172e6bbf8040e5524d33d2f719e96784745
2016-01-06 09:59:47 -08:00
Translation updater bot 05d82e476a Localisation updates from https://translatewiki.net.
Change-Id: Ice52b15da5c9e26a96467647ce3300d8f2e6cab9
2016-01-05 22:26:27 +01:00
Kunal Mehta de43758132 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I5cefc144e29548d4a4730d4ed074d80b4b843fb9
2016-01-05 10:28:45 -08:00
Translation updater bot a25a771795 Localisation updates from https://translatewiki.net.
Change-Id: I7e16677261a5895bab7bdfc8a14ea2e1023fa372
2016-01-01 19:59:28 +01:00
Translation updater bot b9f8c6fedf Localisation updates from https://translatewiki.net.
Change-Id: I931e51436e6cfb83e73edd6d2013c8a70aabc7dc
2015-12-30 21:39:34 +01:00
Translation updater bot d230ce5691 Localisation updates from https://translatewiki.net.
Change-Id: I2ba3be334f3356773a609dc312284572a2acbc02
2015-12-23 22:02:52 +01:00
jenkins-bot 591896f8bf Merge "Simplify "load-recent-authors" query" 2015-12-23 19:35:36 +00:00
Translation updater bot a4a0d68de2 Localisation updates from https://translatewiki.net.
Change-Id: Ibf1e1bf500be9396dfc1095217009addcfeb00b0
2015-12-22 22:07:35 +01:00
Aaron Schulz 3427f75802 Simplify "load-recent-authors" query
This might avoid confusing the query planner for pages edited
mostly by the same bot user many times.

Bug: T116557
Change-Id: Ife87695a4f16d549e8a46780aca4219b28310343
2015-12-22 12:37:35 -08:00
Translation updater bot bed1ed1f10 Localisation updates from https://translatewiki.net.
Change-Id: I02305f59cdb9b73a01cedefdff617188a7e976df
2015-12-20 22:31:56 +01:00
Translation updater bot ccb5113612 Localisation updates from https://translatewiki.net.
Change-Id: Iea87bae8401d5e42938db3d66bdd2767fec7cfb4
2015-12-18 23:34:04 +01:00
Translation updater bot 67de10788e Localisation updates from https://translatewiki.net.
Change-Id: I9dcbf983e676ababf306dcc62c13ef2ef78eec90
2015-12-17 22:41:09 +01:00
Translation updater bot 1cc30861c5 Localisation updates from https://translatewiki.net.
Change-Id: I3176c8df340f5bcdf987ac4a79196b4d1e6b6ace
2015-12-14 22:00:24 +01:00
Translation updater bot 5eea5631c5 Localisation updates from https://translatewiki.net.
Change-Id: I5ed41f95b8534a12fd3fcec662366ee3f6c09969
2015-12-13 22:14:00 +01:00
Translation updater bot e396cd383b Localisation updates from https://translatewiki.net.
Change-Id: Ie2517f5b4dcf40dd7a8b1a74082e8d87bb0ce4d7
2015-12-10 22:50:39 +01:00
Translation updater bot c5d385ecb3 Localisation updates from https://translatewiki.net.
Change-Id: I863e7c5b07905cd1501fb3fa54d928ad14be498f
2015-12-05 23:08:03 +01:00
Translation updater bot 535f2d28cb Localisation updates from https://translatewiki.net.
Change-Id: If8868588a08af226e452d16d4af4c4084759021f
2015-12-03 23:12:31 +01:00
Translation updater bot c724918686 Localisation updates from https://translatewiki.net.
Change-Id: I73a1bf0e6f166c8a8377aa892a094e1e3bbc0c02
2015-12-02 21:53:04 +01:00
Translation updater bot 9b3c107fde Localisation updates from https://translatewiki.net.
Change-Id: I071b60f8572f8b3c4332198f496ee337c8c94f61
2015-11-30 21:31:45 +01:00
Translation updater bot dc2d839a81 Localisation updates from https://translatewiki.net.
Change-Id: I8f5bcb3f915fa5aecaa82d245bbe390ee780c817
2015-11-28 21:41:40 +01:00
Reedy 50736dbfcb Replace wfBaseConvert with Wikimedia\base_convert
Change-Id: Id31638973bff5c8e6a8b5910e31bdedc9bf11134
2015-11-26 23:28:43 +00:00
Niklas Laxström 0f9529e894 Remove unnecessary getPageTitle methods from special pages
This extension already requires 1.23+

Change-Id: Ia3c50360a56586d349f6181077b680b630507441
2015-11-23 11:17:42 +01:00
Niklas Laxström 1399ca02be Remove unnecessary checks for MW_SUPPORTS_CONTENTHANDLER
This extensions already requires 1.23+

Change-Id: Ib8c718915a8568c0461e0a386ac0cdb7e56bbf51
2015-11-23 11:17:40 +01:00
Niklas Laxström b4748f25ad Remove unnecessary check for MW_SUPPORTS_CONTENTHANDLER
This extension already requires 1.23+

Change-Id: Id9f0c44cdd55ec024eb9cacb4d5b6e02546aea07
2015-11-23 11:17:39 +01:00
Niklas Laxström 622be7f9de Remove unnecessary check for MW_SUPPORTS_CONTENTHANDLER
This extension already requires 1.23+

Change-Id: Ie23339ffeaf6d6a9613b1b9c3929db0bccae65c8
2015-11-23 11:17:37 +01:00
Niklas Laxström df6cde026c Remove EditFilterMerged BC code
This extension already requires 1.23+

Change-Id: Ie56d701c1663a280372caaf71560dfdca7500619
2015-11-23 11:17:34 +01:00
Niklas Laxström 6354f6047a Fix typo in comment and remove unnecessary BC
This extensions already requires 1.23+

Change-Id: Iecb8067d43a38b531b46802ea53abfde20f66cef
2015-11-23 11:17:32 +01:00
Translation updater bot e156cb3484 Localisation updates from https://translatewiki.net.
Change-Id: I40fbfc3807cad199641d8ef4b86ed01a70302f91
2015-11-22 20:40:51 +01:00
Translation updater bot 209840715c Localisation updates from https://translatewiki.net.
Change-Id: I778abb6888f8e92c6ee2ad5722ad9102b6f54f4d
2015-11-20 22:53:09 +01:00
Translation updater bot 314b670f11 Localisation updates from https://translatewiki.net.
Change-Id: I37f8fb92a9d9981167542f34dd675a6426c6004d
2015-11-19 21:32:41 +01:00
Translation updater bot bf9f9c7782 Localisation updates from https://translatewiki.net.
Change-Id: I1584749117719fdb8c8bd634a441afcfad5a9b9e
2015-11-16 22:13:22 +01:00
Translation updater bot 7822124997 Localisation updates from https://translatewiki.net.
Change-Id: I10b3910aecce012d7c5d9ee29e5832a6406b74ad
2015-11-15 22:13:06 +01:00
Translation updater bot 5249bb4aa8 Localisation updates from https://translatewiki.net.
Change-Id: I563bd173d39411e5df8e4c65f410f57d2868d3a5
2015-11-12 22:56:17 +01:00
Translation updater bot a4c4ab7c59 Localisation updates from https://translatewiki.net.
Change-Id: Ibea2d0f7e760c10c3af6e5e7fb673d36e4384ebc
2015-11-11 21:51:15 +01:00
Translation updater bot 99b1943226 Localisation updates from https://translatewiki.net.
Change-Id: Iec0f25b86f9f2ff4098b0d7f43e47fc7ea543100
2015-11-10 22:33:01 +01:00
Translation updater bot 0c583bd572 Localisation updates from https://translatewiki.net.
Change-Id: Idee84f04e1d0ca6999e5f681d3b5810b28c74456
2015-11-06 22:23:49 +01:00
Translation updater bot 33895898c8 Localisation updates from https://translatewiki.net.
Change-Id: I57fd1ac2bf7d0e39234369f1464429d1fdc66118
2015-11-04 21:17:49 +01:00
Translation updater bot c0fa746ca4 Localisation updates from https://translatewiki.net.
Change-Id: Ic7ff9204adef646bc66f3907e2a5e0d8cf9c8b22
2015-11-03 21:48:14 +01:00
Translation updater bot e46bf17b1c Localisation updates from https://translatewiki.net.
Change-Id: I89d5abcce276b170e2f9c8b4d9bd777b8d0c4a01
2015-11-01 21:38:29 +01:00
Translation updater bot f0c3fccabc Localisation updates from https://translatewiki.net.
Change-Id: If38619fd73e9cafce44e29be14d2638280b43165
2015-10-30 21:46:22 +01:00
Translation updater bot c0298a5e6d Localisation updates from https://translatewiki.net.
Change-Id: I300d4c48e84b4ab06bd300e777a8664d92a8f67f
2015-10-29 21:22:10 +01:00
Aaron Schulz 4e83dcea4f Avoid pointless range scan for 'load-recent-authors'
This was just set the present time anyway and this
code is called from EditFilterMergedContent, before
the edit in question was saved either.

Bug: T116557
Change-Id: I2f84cff0ad4f65b6c2572a89a267cf42d4a96f94
2015-10-26 13:34:30 -07:00
Ori Livneh 907de9a26c Increase AbuseFilterTokenizer cache TTL from 10m to 1d
AbuseFilterTokenizer is referentially transparent -- the mapping of input to
outputs does not vary on nonlocal state. So the cache TTL can be much longer.

Change-Id: I9e6ec4347dbb940c3d73538d550a0f045706264c
2015-10-24 10:30:24 -07:00
jenkins-bot 55fe95e066 Merge "Don't add a log entry if the block wasn't inserted" 2015-10-23 07:15:02 +00:00
Ori Livneh ecbd159ce5 Track tokenizer cache hits / misses
Change-Id: I65d4c6064c37e9957b6f0aca4d3032f26bdf9bde
2015-10-22 13:30:16 -07:00
Translation updater bot ec66d99d9d Localisation updates from https://translatewiki.net.
Change-Id: Id052582089c1988afb987a4af42f51bdce7cfcb9
2015-10-22 21:57:01 +02:00
Ori Livneh f3472dfdd0 Use isset() to check array element exists rather than relying on @ operator
Change-Id: I0ecdcdd1426b2e76a326bc50b6ea0ca1cbad3d22
2015-10-21 23:58:00 +00:00
Ori Livneh d80a737921 AbuseFilter: don't install custom error handler
Scrap the AFPRegexErrorHandler custom error handler clusterfuck and replace it
with a simple try-catch that accomplishes the same thing.

Change-Id: Ice1b6da433b892d9871780a9753c098aa639bf6c
2015-10-21 23:56:53 +00:00
Glaisher 8f2029b1ea Don't add a log entry if the block wasn't inserted
$block->insert() would fail if there was an existing block
so these are not really inserted.
See for example:
https://www.mediawiki.org/w/index.php?title=Special:Log/block&page=User%3ARohitverma1

Change-Id: If2c4b34a97a0de9d9efc8b650881f04306c74915
2015-10-20 22:45:50 +05:00
jenkins-bot 2b2ebc2c10 Merge "Include global filters in defined and active tags lists" 2015-10-20 17:20:08 +00:00