Commit graph

2904 commits

Author SHA1 Message Date
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
Alex Monk d010f3c0c9 No longer call removed SpecialPage::getLocalPageForName
Removed in I5122f0f2, which was after this script was written but long before
it was merged.

Bug: T54919
Change-Id: If67a5f137590414ba8c6c958d819e87099a3b010
2015-08-23 00:01:18 +01:00
jenkins-bot 01a024ffdc Merge "Fix addMissingLoggingEntries maintenance script handling of newlines" 2015-08-22 22:45:22 +00:00
Alex Monk e3db4db83e Fix addMissingLoggingEntries maintenance script handling of newlines
Bug: T54919
Change-Id: I0a979d9022ce3371813e214a7e4e1432e34c823b
2015-08-22 23:28:18 +01:00
jenkins-bot d5fd79a26d Merge "Drop unused AbuseFilterParser::$mParams property" 2015-08-21 21:05:52 +00:00
Ori Livneh 3eee5c7d89 Drop unused AbuseFilterParser::$mParams property
Change-Id: I0f1af7778c22ca7b5701fba7eda2701c038ec1d5
2015-08-21 13:58:41 -07:00
Translation updater bot 9060b82205 Localisation updates from https://translatewiki.net.
Change-Id: I6133720cff5bf51eed5a7a99ad66d8f9e429a4a9
2015-08-21 20:56:37 +02:00
Translation updater bot 4729fdb00c Localisation updates from https://translatewiki.net.
Change-Id: I5badaf552e61d003007537814f8a2bae3698adb9
2015-08-19 22:11:59 +02:00
Translation updater bot b6804fc321 Localisation updates from https://translatewiki.net.
Change-Id: Id298a6f37cfedbb8b942c17912b643b697099b54
2015-08-18 21:20:14 +02:00
jenkins-bot 07eee5b719 Merge "Do not produce self-closing <div/>" 2015-08-18 17:19:30 +00:00
Translation updater bot 0c3a3186b6 Localisation updates from https://translatewiki.net.
Change-Id: I2c7e2c5e12c5a85702672e17efce844a19bc6902
2015-08-16 21:53:31 +02:00
Translation updater bot 135e0b075e Localisation updates from https://translatewiki.net.
Change-Id: I30fba7cfcabe7ea5681c4f440c22d8ac3cdf783c
2015-08-14 22:07:21 +02:00
Translation updater bot a0119c4e66 Localisation updates from https://translatewiki.net.
Change-Id: Ica7c10f2c8ddef7c9de49c779b6f9c0037f77eef
2015-08-12 21:30:39 +02:00
Translation updater bot 215a3fcdea Localisation updates from https://translatewiki.net.
Change-Id: I7fcfe8d2791d37f497f5438cd23baa70e7f92bcb
2015-08-11 22:06:32 +02:00
jenkins-bot 75cb547f27 Merge "Add maintenance script to restore missing log entries for each filter history entry" 2015-08-11 19:46:45 +00:00
umherirrender 6c56c93c93 Do not produce self-closing <div/>
Validator says:
Self-closing syntax (/>) used on a non-void HTML element.

Change-Id: I9af3e3c22ce8918f0a15053d2dfa0b924c258aa7
2015-08-11 14:02:59 +02:00
Translation updater bot 40d4a704a8 Localisation updates from https://translatewiki.net.
Change-Id: I70ef3861cfb3486547a94de863b8158251f8b668
2015-08-08 21:11:55 +02:00
Krenair 1b9c71fabe Add maintenance script to restore missing log entries for each filter history entry
Quite a few of these occured on wikis between r48501 (2009-03-17) and r52734 (2009-07-03)

Bug: 52919
Change-Id: Ib33d0a1814fe131a5291ed7408057515482aa61f
2015-08-08 01:32:37 +01:00
Translation updater bot 808b14ca27 Localisation updates from https://translatewiki.net.
Change-Id: Ie6732acd8b89cc7e4294f16618c888ffc4ada3cf
2015-08-07 21:50:42 +02:00
jenkins-bot ecc314a379 Merge "Remove use of deprecated wfRunHooks" 2015-08-06 17:32:06 +00:00
addshore 093b2dba8a Remove use of deprecated wfRunHooks
Change-Id: I58776ddaae3dfb70a4ab4e83dfba544670b66fef
2015-08-06 18:15:42 +01:00
Ori Livneh e008e68b5f Only check for auto-promote block if there is a promotion to block
Save the trip to Redis and back in that case.

Change-Id: I0f4d7292faa2330059d7b61325f2948715c86bf1
2015-08-05 17:18:49 -07:00
Translation updater bot d4d54edf3d Localisation updates from https://translatewiki.net.
Change-Id: Ibff6e131ab6367d09d3d6e7febc48718d337371e
2015-08-05 22:33:15 +02:00
Translation updater bot 46c23a6bcf Localisation updates from https://translatewiki.net.
Change-Id: I74faae831faafb48fd48af2180e9147e0783de89
2015-08-03 22:02:44 +02:00
Translation updater bot 7b56ef9648 Localisation updates from https://translatewiki.net.
Change-Id: Id146e494b855786b6c180945e0afe949da9bfdb5
2015-08-02 21:50:36 +02:00
Translation updater bot 692fdd329b Localisation updates from https://translatewiki.net.
Change-Id: I1a9ef47c704bab6b100597e6779dd29c5490cd59
2015-08-01 21:45:54 +02:00
Translation updater bot 7becf4e15a Localisation updates from https://translatewiki.net.
Change-Id: I58f1369d0b393d5f6ff9c7b3fc76e63cf14e8ed4
2015-07-30 21:09:38 +02:00
Translation updater bot 5900ba1adb Localisation updates from https://translatewiki.net.
Change-Id: I803e8f7e1d392e4f48e55deee4175baede13eec2
2015-07-29 21:47:07 +02:00
Translation updater bot 19950d9c8f Localisation updates from https://translatewiki.net.
Change-Id: I9771de831e0627b9b825f48dce9b2f46bd4813fa
2015-07-28 21:47:24 +02:00
Translation updater bot 51b6861f58 Localisation updates from https://translatewiki.net.
Change-Id: I558675c3170ce486a0e2e90c58eafa94dbcf4de5
2015-07-27 21:33:35 +02:00
Translation updater bot 89a8a81d58 Localisation updates from https://translatewiki.net.
Change-Id: I0cbcb3877e7efd82c7a49bd60a6694022cf76f05
2015-07-26 21:37:52 +02:00
Translation updater bot cb4b1db453 Localisation updates from https://translatewiki.net.
Change-Id: I14eb323dd2ee0d33f8d7f7f6a7212683fcc776ac
2015-07-24 21:04:16 +02:00
jenkins-bot 507b46dbca Merge "Revert "Add "Last hit" timestamp column to Special:AbuseFilter list view"" 2015-07-24 10:20:30 +00:00
Legoktm fe8cdc35ca Revert "Add "Last hit" timestamp column to Special:AbuseFilter list view"
This reverts commit 77d161f65c.

Bug: T106798
Change-Id: I265ae108aecbacfcce808ad21e18be4e0eef750e
2015-07-24 10:11:57 +00:00
Translation updater bot d8cb7c4208 Localisation updates from https://translatewiki.net.
Change-Id: I7cb081804c1e346f1e05e50e1b3f3b87a4a4cdf7
2015-07-22 22:12:34 +02:00
Translation updater bot 07e57a1f99 Localisation updates from https://translatewiki.net.
Change-Id: Ib05594d9dac9a54ece8af4b992de18c1fae32e5b
2015-07-21 21:41:41 +02:00
Translation updater bot 455d302001 Localisation updates from https://translatewiki.net.
Change-Id: I2525d24f261d5e2c843af83a8d4753a43dabf666
2015-07-20 21:51:40 +02:00
Translation updater bot 130f0650b2 Localisation updates from https://translatewiki.net.
Change-Id: Ia1c01368451d37184b9e4aee20454b3d119f4f36
2015-07-19 21:31:33 +02:00
Translation updater bot 36ac99ea97 Localisation updates from https://translatewiki.net.
Change-Id: I59c7e7cee0e9c77adab0e48803ff6e8c4e9e6255
2015-07-18 21:56:28 +02:00
Translation updater bot 463ce9013a Localisation updates from https://translatewiki.net.
Change-Id: I698c58845386b036b4fc448b31200ad812393aa8
2015-07-17 22:15:35 +02:00
glaisher 77d161f65c Add "Last hit" timestamp column to Special:AbuseFilter list view
It'll show the timestamp at which the filter was last triggered.
If there is no hit or if the user does not have the proper permissions,
it'll be blank.

Bug: T93564
Change-Id: I435af5caf457c548fa0737ed226d7f8640ff25d8
2015-07-17 10:40:45 +00:00
Translation updater bot 2f430b1bc4 Localisation updates from https://translatewiki.net.
Change-Id: Ibd94ecb3a4191ee1f4abd9dda1056d9c49c2893b
2015-07-16 21:08:48 +02:00
Translation updater bot bceaabc529 Localisation updates from https://translatewiki.net.
Change-Id: I3e6afc558430d92531e9c1779c32868b1598ff14
2015-07-15 21:36:18 +02:00