Commit graph

4596 commits

Author SHA1 Message Date
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
Translation updater bot 0457adf0fd Localisation updates from https://translatewiki.net.
Change-Id: I9f4660acf1207a2b5aa67515a6612c78defd8117
2015-10-19 22:13:34 +02:00
Translation updater bot bc7c982b10 Localisation updates from https://translatewiki.net.
Change-Id: Ia7c5eea858d16ca75c3566f4b155ed8a04590d51
2015-10-18 21:52:54 +02:00
jenkins-bot 07f95f4a33 Merge "Update getWithSetCallback() callers to the newer signature" 2015-10-17 22:40:35 +00:00
Aaron Schulz b90296d3a5 Update getWithSetCallback() callers to the newer signature
Change-Id: If97c1a7c25e1e28aaca9a105d50ed8e1bf2ef7ff
2015-10-16 23:48:20 -07:00
Translation updater bot ca713b6dff Localisation updates from https://translatewiki.net.
Change-Id: I75e1eecb0eb6f69eade54ea451406a8c85da0ebb
2015-10-15 21:30:27 +02:00
Translation updater bot efa62f98fc Localisation updates from https://translatewiki.net.
Change-Id: Iebdb1422429d4fb44caef595ae4197fd1e18da39
2015-10-15 09:37:16 +02:00
Translation updater bot 8a2c95c787 Localisation updates from https://translatewiki.net.
Change-Id: Iaab2bebe4dbb3ac690b2b326963be6e599855815
2015-10-14 21:49:33 +02:00
Translation updater bot 102e60b1cf Localisation updates from https://translatewiki.net.
Change-Id: Icec465e3d8381bd7ee1e6092c9ad82667bc5aba9
2015-10-13 22:09:03 +02:00
jenkins-bot b3e56592a8 Merge "Conversion to using startAtomic/endAtomic" 2015-10-13 15:15:57 +00:00
Antoine Musso c947751ee4 Add composer test entry point
Lint PHP files via 'composer test'.

Update .gitignore to skip /extensions/ (installed by composer).

Bug: T115213
Change-Id: I043e9a299143d5dfb9a88d410397abdf5209619e
2015-10-12 14:43:14 +02:00
Umherirrender d1940b4b45 Merge "Use new User::newSystemUser() when available" 2015-10-11 17:03:51 +00:00
Translation updater bot 1466d3bc86 Localisation updates from https://translatewiki.net.
Change-Id: I89a0159b0b9501379028a3a01a8b517c98dd88c8
2015-10-08 23:04:48 +02:00
Aaron Schulz dca2451597 Conversion to using startAtomic/endAtomic
This avoids breaking any outer transactions

Change-Id: Idcafec3b4c69948dbbb05677aaf7f65ed6c21574
2015-10-07 22:54:58 -07:00
Translation updater bot c783b46453 Localisation updates from https://translatewiki.net.
Change-Id: I49925d12f16fe18ebcc2aed00551bb49b7365a55
2015-10-07 21:58:17 +02:00
Translation updater bot cb78281453 Localisation updates from https://translatewiki.net.
Change-Id: I247ebe3b50e3ba2e812c2074b91b8750fa87d053
2015-10-05 22:13:13 +02:00
Translation updater bot a4bc2ab5e6 Localisation updates from https://translatewiki.net.
Change-Id: I850295a9edff063d49c397b92176a3b51cc3b2a9
2015-10-04 22:15:53 +02:00
Translation updater bot a6b480ab00 Localisation updates from https://translatewiki.net.
Change-Id: I146180a85cfbdccec4c97db29f30e8bd0d0790ee
2015-10-01 21:39:18 +02:00
Translation updater bot 7543054a8f Localisation updates from https://translatewiki.net.
Change-Id: Iab032c792c5f408d24e22172cc3f4e07d7375b8b
2015-09-30 22:08:00 +02:00
Translation updater bot 9892778f26 Localisation updates from https://translatewiki.net.
Change-Id: Icd95ce6df8379782b329b155426eff590b2a5d6b
2015-09-28 22:40:18 +02:00
Translation updater bot e226510baf Localisation updates from https://translatewiki.net.
Change-Id: I8737afc5214dcd040c41a8bece3f943fbfa53498
2015-09-25 22:33:04 +02:00
Brad Jorsch 99652db13d Include global filters in defined and active tags lists
Bug: T105329
Change-Id: I9ea8e0450e8d75de8ce3b00cd7df5960c9521d97
2015-09-25 10:24:51 -04:00
jenkins-bot 8c8c7c2eda Merge "Pass __METHOD__ to query() call" 2015-09-25 12:08:50 +00:00
Aaron Schulz 4118679388 Pass __METHOD__ to query() call
Change-Id: Ie4c5615991c833dd60e0cb5e290cd61f6890554e
2015-09-25 00:07:39 -07:00
Translation updater bot df4db6d8bc Localisation updates from https://translatewiki.net.
Change-Id: I74fd451a2cb294a5951b19dd40ae6ef6f2e00fa2
2015-09-23 21:28:13 +02:00
Translation updater bot e7babad2fb Localisation updates from https://translatewiki.net.
Change-Id: Ia107c375fc3a1ab367d3b86c156119bf3bda30db
2015-09-17 22:36:07 +02:00
Brad Jorsch a926b2b44f Use new User::newSystemUser() when available
See core change I2c736ad72d946fa9b859e6cd335fa58aececc0d5.

Change-Id: I3f20b408c039937c1f08c9232c336268ba13895d
2015-09-17 11:55:15 -04:00
Translation updater bot 17b5c9d8bf Localisation updates from https://translatewiki.net.
Change-Id: I3406352b268305d28c2dea46b226bdd3a56a4ca1
2015-09-16 22:37:25 +02:00
Translation updater bot 69459c2273 Localisation updates from https://translatewiki.net.
Change-Id: Idc2ef3f27afb27aa8594315260c6fe9f7795f111
2015-09-14 22:02:14 +02:00
Translation updater bot c32210dad3 Localisation updates from https://translatewiki.net.
Change-Id: Ia1f46caf668c7cebbe200e68cb300c3cb782cc55
2015-09-13 22:09:52 +02:00
Translation updater bot c41b668496 Localisation updates from https://translatewiki.net.
Change-Id: I7356c36e9368c5beeb880a1e9296a6d6b5ccbbb6
2015-09-12 01:06:32 +02:00
Translation updater bot e7ab04e009 Localisation updates from https://translatewiki.net.
Change-Id: Ib26ccb6ae6855f3cbbc0b7cc7290ef6b364d842e
2015-09-09 22:00:08 +02:00
Translation updater bot ef084ee32f Localisation updates from https://translatewiki.net.
Change-Id: I4c4c6057fb2056da861e9d497f5475b37b450712
2015-09-08 21:46:21 +02:00
Translation updater bot a3cb5c7fc2 Localisation updates from https://translatewiki.net.
Change-Id: I5260ec58c9378ea30c7a54c3d2f0035f1844d59a
2015-09-07 22:34:15 +02:00
Translation updater bot e91b995a29 Localisation updates from https://translatewiki.net.
Change-Id: I6567cb1cd100ed2f9addc21af23975c2e0863df1
2015-09-06 21:38:06 +02:00
Translation updater bot 0089755fa9 Localisation updates from https://translatewiki.net.
Change-Id: I7b37e3a4fe9bc1ceb912b892710c3856dfc6d6d7
2015-09-05 21:05:30 +02:00
Translation updater bot 069306faff Localisation updates from https://translatewiki.net.
Change-Id: Ie007e242a8f3088f54fe4c5d74b06b97441249b7
2015-09-04 21:47:07 +02:00
Translation updater bot 15a287c8e0 Localisation updates from https://translatewiki.net.
Change-Id: I719dfb003d6d7edfe271657e082380796c02c449
2015-09-02 21:34:11 +02:00
Translation updater bot be13a6e4b3 Localisation updates from https://translatewiki.net.
Change-Id: I1dd865ec4dfe859c007e231f8336add6c5fab131
2015-09-01 21:42:49 +02:00
Translation updater bot 2b98e62dc8 Localisation updates from https://translatewiki.net.
Change-Id: I0464adeea8e1d05dba3b130ac70e282d35b0b294
2015-08-30 21:06:58 +02:00
Translation updater bot 42c1d56a9f Localisation updates from https://translatewiki.net.
Change-Id: Id5895d4b32f47081b7b9208b1d0ef756da8f1595
2015-08-29 21:43:38 +02:00
Translation updater bot 2d229efd10 Localisation updates from https://translatewiki.net.
Change-Id: I74652f980fa2002a7d537c5a439f7c64fc1e6f85
2015-08-26 21:44:16 +02:00
Aaron Schulz 7251c178fb Small doc fixes for AbuseFilterTokenizer
Change-Id: Ic85fa1c772ff7023883ff84449471a310109ba07
2015-08-25 15:51:30 -07:00
Ori Livneh bab9832415 Move rule tokenization to new AbuseFilterTokenizer class
* Move AbuseFilterParser::nextToken() and the various AbuseFilterParser
  properties that accompanied it to a new class, AbuseFilterTokenizer.
* Tokenize rules eagerly and cache the result in APC.

Change-Id: I15f5b5b65e8c4ec4fba3000d7c9fd78b98967d1d
2015-08-25 14:00:10 -07:00
Translation updater bot eeee1a225b Merge "Localisation updates from https://translatewiki.net." 2015-08-25 20:05:32 +00:00
Translation updater bot 5603917603 Localisation updates from https://translatewiki.net.
Change-Id: Ic0c17a38702f87ca8d63e4e699a29596805670bc
2015-08-25 21:56:09 +02:00
Ori Livneh b388dfab1b Clean-up of AbuseFilterParser::nextToken()
No functional changes.

* Don't include $code as part of the return value; it is ignored anyway.
* Removed AbuseFilterParser::lastHandledToken and AFPParserState::lastInput,
  because AbuseFilterParser::nextToken() no longer calls itself recursively.
* The regular expression that matches operators is no longer constructed
  dynamically, but hard-coded into the class. To make sure it does not drift
  apart from the more legible AbuseFilterParser::$mOps, add a unit test that
  constructs the regex dynamically as before and compares it to
  AbuseFilterParser::OPERATOR_RE.
* AbuseFilterParser::RADIX_RE ditto.

Change-Id: I9c23b60759ed2f4c73a9b480243b16bbce5a208f
2015-08-25 10:50:31 -07:00
Translation updater bot 9a22c0b103 Localisation updates from https://translatewiki.net.
Change-Id: I78f153c9b4cc7d21911209efcc7e344008cce09f
2015-08-24 21:29:25 +02:00
jenkins-bot 5f1447d698 Merge "No longer call removed SpecialPage::getLocalPageForName" 2015-08-22 23:29:39 +00:00